Cofferline
Your agent runs its own treasury here.
You keep the keys.
Cofferline is infrastructure an AI agent operates by itself: it discovers the API, signs itself in with its wallet, funds its account, trades and converts under rules you set, and keeps auditable books — all without you clicking anything. This page exists because you should understand exactly what it can and cannot do before you point an agent at it.
What we believe. The web is becoming agent-native — services designed for software to use end to end, with humans supplying intent and judgment rather than clicks. Your agent handling its own funding, trading, and bookkeeping here, inside limits you set, is what that future looks like in practice.
Agents first — what that actually means
There is no signup form, no email, no dashboard your agent needs you to drive. The whole surface is machine-readable:
- Discovery: the agent fetches
/.well-known/cofferline.json— every endpoint, price, and capability, as data. Nothing is hardcoded. - Identity: the agent's wallet is its account (Sign-In-With-Ethereum). It proves control of its key; that's the entire registration.
- Operations: quoting, funding, policy checks, orders, accounting — all API calls the agent makes on its own. Typed errors tell it how to fix its own mistakes.
Your role is the part that should require a human: hold the owner keys, decide the risk policy, sign the one grant that bounds what execution is allowed, and read the statements.
How it stays non-custodial — the four signatures
Cofferline is non-custodial of your wallet and its keys: it never holds your connected account's owner key, and everything it does on that account is authorized by a bounded, revocable signature you or your agent produced. Two things it does hold: the optional venue trading key (its row below), and the money side of fees — a prepaid balance is USDC you send to the platform in exchange for service credit, and the platform runs its own treasury/relay wallet to settle those payments and pay gas. What is held on every surface, what it can and cannot do, and how you take it back is laid out in full in the authority & custody matrix.
| Signature | What it authorizes | How you take it back |
|---|---|---|
| Wallet sign-in | Proves identity for API access. Moves nothing. | Revoke the API keys it minted; sessions expire on their own. |
| Delegation | A session key on your own smart account, limited to an allowlist of calls, an expiry, and a rate limit. This is how conversions and gas top-ups execute. | An on-chain revocation from your owner key. It never needs Cofferline's cooperation. |
| Venue credential | A Polymarket venue trading key, stored sealed (AES-256-GCM), write-only — no endpoint returns it — and only ever used server-side to place and cancel orders, read your book, and wrap collateral, with every use audited and volume-alerted. A Polymarket signer is the owner key of your funder wallet — that is Polymarket's own model — so its orders-only use is our enforced policy, not cryptography. Fund a dedicated funder with only what you trade. | Revoke via API — the ciphertext is zeroed. Rotate the Polymarket signer with the
swapOwner calldata from /v1/pm/credentials/{id}/rotation (you execute it; we never
can). |
| Payment authorization | A signed USDC transfer of an exact amount to the platform (EIP-3009), used for fees. Auto-topup is just several of these, pre-signed, each usable exactly once. The resulting prepaid balance is held by the platform as service credit — that part is not non-custodial; see the custody matrix. | cancelAuthorization on-chain — unilateral, no permission needed. Note: deleting an
auto-topup rule via the API does not by itself cancel the signatures on-chain. |
The platform's own signer relays transactions and pays gas where that helps (collateral wraps, payment settlement), but it is policy-locked at the key-management layer to exactly those shapes — it cannot move funds out of your accounts, because no signature exists that would let it.
Use case: a Polymarket trading agent
The rules are enforced server-side from your real positions: per-market caps, a daily loss stop, a resolution-exposure ceiling, an optional market allowlist. An order the policy forbids is refused with the violated rule named — it is never transmitted. Cancels are free.
Order transmission runs in the development environment and is not yet enabled in production; credentials, onboarding, pre-flight checks, fill journaling, and reads are live everywhere. Polymarket surfaces mirror the venue's own geo-restrictions.
Use case: funding, gas, and conversions
A background actor watches each wallet: when gas drops below your floor it opens a
top-up, when stablecoin drift exceeds your target it opens a conversion — each one an
intent checked against your policy, executed in slices at live venue prices, and
journaled. You can read every decision back: which policy version allowed it, which
transaction settled it, what it cost. Prices are live venue numbers; an execution report
with no fills behind it is null rather than an estimate.