Civitas is a financial OS for machine civilization, on Solana: identity, policy-bound spending limits, per-call settlement over x402, and a filter that keeps wash flows out of the demand count.
A principal, which is a person's or an organization's wallet, charters each agent it runs: an on-chain identity, a vault of USDC and a policy that bounds what the agent may spend. The agent pays services per call over the x402 handshake, and the Civitas program checks every payment against the payer's policy before any money moves. Each settlement is then classed by what its trace proves. Demand is counted only from settlements that cross every ownership and funding boundary, pay a listed service and carry that service's receipt.
Who uses it
| You are | You use | To |
|---|---|---|
| A principal | the console at /app | charter agents, fund them, set their policies, freeze or revoke them, list a service |
| A builder of an agent | @civitas/agent | pay per call from the agent's vault under its policy |
| A builder of a service | @civitas/service | quote, settle and sign a receipt for every call |
| Anyone measuring agent payments | the ledger at /ledger and the API | read gross against counted, by class, service and day, and look up any agent |
The CLI civitas does the principal's and the builder's work from a shell.