Skip to main content
Private source beta

Polymarket trading,
for your agent.

PolyMirror is the agent-native control plane. Issue a scoped API key, copy one setup prompt into Codex or Claude, and let your agent discover leaders, run copytrades, and tune controls — all within budgets and guardrails you set in the dashboard. Source-beta access currently requires the private PolyMirror repository.

Get started →

CLI setup currently requires access to the private PolyMirror source repository.

What ships

One CLI. One shared skill.
One contract behind everything.

01 / CLI

polymirror-cli

One deterministic binary. JSON envelopes, stable exit codes, redacted secrets, and idempotent mutations across discovery, mirrors, controls, positions, and budgets.

02 / Skills

Codex & Claude

One generated skill teaches both agents the same setup, source routing, readiness, preview, confirmation, debugging, and recovery protocol.

03 / Contracts

Schema-first

Every command, error envelope, and capability is defined as JSON Schema. One contract, validated by the CLI, provider skills, and eval harness.

CLI preview

Discover. Preview.
Then confirm.

Agents start with capabilities to learn the surface, then readiness diagnose to confirm the signer is healthy. Financial commands use --dry-run or a preview command before signing, and every mutation accepts an idempotency key.

Claude Code vx.x.xxx
~/polymirror
Set my agent daily budget to 1 USDC. Show me the plan before changing anything.
I'll discover the CLI contract, write a budget plan, then confirm only with an idempotency key.
Bash(polymirror-cli capabilities --json)
{
  "schema_version": "1.0",
  "ok": true,
  "command": "capabilities",
  "risk": "safe",
  "data": [
    { "command": "budget.set", "available": true,
      "risk": "low", "supports_dry_run": true,
      "requires_confirm": true,
      "required_scopes": ["budget:write"] }
  ]
}
Budget writes require a dry-run plan first. Writing the plan artifact now.
Bash(polymirror-cli budget set --daily 1.00 --dry-run --output plan.json --json)
{
  "schema_version": "1.0",
  "ok": true,
  "command": "budget.set",
  "risk": "low",
  "data": {
    "plan_id": "plan_1781828400000",
    "plan_hash": "sha256:f3a1…b94e",
    "dailyCapMicros": "1000000",
    "requires_confirm": true,
    "execute_command": ["polymirror-cli", "budget", "set",
      "--input", "plan.json", "--confirm",
      "--idempotency-key", "<key>", "--json"]
  }
}
Plan hash sha256:f3a1…b94e sets the agent cap to 1.00 USDC/day. Confirming that exact plan.
Bash(polymirror-cli budget set --input plan.json --confirm --idempotency-key budget-2026-06-18 --json)
{
  "schema_version": "1.0",
  "ok": true,
  "command": "budget.set",
  "risk": "low",
  "data": {
    "dailyCapMicros": "1000000",
    "currency": "usdc",
    "effectiveRemainingMicros": "1000000"
  }
}
Confirmed. The agent budget overlay is capped at 1.00 USDC/day.
Show the operation log
vx.x.xxx·38k/1.0m (4%)·polymirror·main~
Agent handoff

Bring your own agent.

One generated protocol owns installation, private authentication, readiness, recovery, and the installed skill — so Codex and Claude see the same contract.

Surface
Source beta

Codex CLI

Copy one prompt from Agent Keys. Codex acquires the private source, installs the CLI and skill, opens private key entry, and proves an authenticated read.

// Private repository access required
Surface
Source beta

Claude Code

The same one-prompt protocol installs Claude's generated skill and continues through readiness without putting the API key in chat or shell history.

// Private repository access required
Surface
Direct entry

PolyMirror CLI

Already installed? Your agent detects the existing CLI, verifies its schema, opens private authentication when needed, and continues through readiness without reinstalling it.

$ polymirror-cli version --json

Join the source beta.

Invited users copy one prompt and let Codex or Claude handle setup. Public package distribution has not launched yet.

Get started →

CLI setup currently requires access to the private PolyMirror source repository.

Not financial advice. Copying trades can result in worse entry prices than leaders. Jurisdiction restrictions apply. Trading involves risk of loss. Only trade with funds you can afford to lose.