Synq
Skip to content
[ synq / docs ]Synq home

Amane agent payments

Leased agent payments, where a smart account on Arc enforces what Synq's agent may pay.

Amane is a separate open-source project (MIT licence) for leased agent authority. An owner signs a root policy and a time-boxed lease for an agent key; a smart account on chain then enforces those limits for every payment, no matter what the agent's software does. Synq consumes Amane as a library and as a deployed contract. Amane never depends on Synq.

Why it exists#

A normal agent payment needs a human signature every time, or it trusts the agent's software with a key. A lease sits in between: the owner signs once, on chain, how much the agent may pay, to whom and until when. After that the agent can pay a contractor with no new human signature, but the contract refuses anything outside the lease, even if Synq's servers are compromised.

 owner wallet                       Amane account (Arc testnet)
     |  signs root policy                 |
     |  signs agent lease  ------------>  |  stores policy + lease
     |                                    |
 Synq agent key                           |
     |  signs one PAY intent  ----------> |  checks lease live, caps,
     |  (via execution worker)            |  recipient, token, nonce, time
     |                                    |  --> pays the one allowed recipient
     |                                    |  emits Executed
 Synq verifies Executed, books ledger <---+

The pieces in Synq#

PieceWhereRole
Vendored Amane packagesvendor/amanePinned @amane/arc, @amane/policy, @amane/verify tarballs
Typed adapterplugins/amaneReads live state from the contract, builds exact PAY intents and calldata, verifies the Executed event. Holds no keys
Workspace servicepackages/workspaces/src/amane.tsRecords accounts, leases and jobs after reading them back from chain
Kernel decisiondecideAmaneLeasedPay in packages/kernel/src/arc-authority.tsLast deterministic check before the agent's payment is allowed
Execution workerworkers/execution/src/amane-pay.tsSigns the intent with the agent key, simulates, broadcasts, verifies, books
API/v3/workspaces/{workspaceId}/amane/* and /mandatesSee Amane routes

Pages#

Edit this page on GitHub