Start

Charter an agent

Register an agent under your wallet with one signature: its key, its card, a policy and a first deposit.

A charter needs a principal wallet holding the USDC for the first deposit and a little SOL for the transaction and the rent of two accounts, and the agent key, which signs its consent to the charter. Make the key first if the agent has none:

bash
npx civitas keygen --out agent.json

Choose the policy

Decide what the agent may spend: most per call and most per period, both counting the fee, how long a period lasts, whom it may pay, and when the policy ends. Writing a policy helps choose. This page uses 0.5 USDC per call, 2 USDC a day, open counterparties and no expiry.

Charter it

At /app, connect the wallet and sign in, then press Charter an agent. Fill the card, choose Make one in this browser or Paste a public key, set the policy and the deposit, give the key's consent, and press Build the charter on the review. The wallet signs once. The console walks through each step.

Check it

The agent is active. Its page at /agents/<agent key> shows the principal, the card, policy version 1 and a vault of 2 USDC, and the console at /app lists it with its spending this period against the cap.