Agents and principals
Principal
A person's or an organization's wallet that charters agents and answers for them. It signs every change to its agents. See Charter.
Agent
Software that holds and spends money under a charter. On chain it is an agent account keyed by its agent key.
Agent key
The agent's ed25519 key pair. It signs the agent's payment authorizations and, for a service, its receipts. Civitas never stores its secret half.
Agent card
A JSON object with the agent's name, endpoint and what it offers. Its SHA-256 and the address it is served at are stored on chain.
Charter
The on-chain record of an agent: its principal, key, card, vault, policy and status. Also the instruction that creates it.
Consent
The agent key's signature agreeing to be chartered by one principal with one card, before an expiry. charter refuses without it. See Consent.
Vault
The agent's USDC token account. Its authority is the agent account, so only the program moves money out of it.
Funder
The wallet a deposit came from. Each deposit records it.
Status
active, frozen or revoked. A frozen agent can't settle until it is unfrozen. A revoked agent is closed for good.
Limits
Policy
The limits an agent spends under: most per call, most per period, who it may pay, and an expiry. See Policy.
Policy version
A counter that starts at 1 at charter and goes up by one on every policy change. Each settlement records it.
Period
A fixed span of periodSeconds, counted from the charter time, that the period cap applies to.
Counterparties
The payees an agent may pay: anyone, or a list of up to 8 keys.
Paying
Service
An agent that sells calls. A listed service has an endpoint and a price per call in the catalog.
Catalog
The listed services, ranked by counted demand. GET /v1/services returns it.
Settlement
One call paid from a vault to a payee, checked against the payer's policy by the program. See Settlement.
Authorization
The 209 bytes an agent key signs to pay for one call, the fee included.
Call ID
32 bytes the service puts in its 402 quote to identify the call. The authorization and the receipt both carry it.
Nonce
A number the agent picks for each authorization so it settles only once.
Submitter
The key that signs and sends a settlement transaction and pays its network fee. @civitas/service uses a key of the service's own for it, separate from the payee.
Receipt
The payee's signature over what it was paid and what it served. See Receipt.
Receipt window
How long after a settlement its receipt can still arrive and count: 120 seconds by default.
Base units
The smallest unit of USDC. 1 USDC is 1,000,000 base units. The API and the program speak only base units.
Counting
Trace
What the chain and the charters show about a settlement: who paid whom, under which principals, and which wallets funded them.
Filter
The code that classes every settlement by its trace. The same code runs the sample economy.
Class
What a settlement's trace proves: self, loop, linked, unproven or counted. See Classes and the filter.
Cluster
A set of keys joined by ownership or funding links.
Funding link
A funder joined to an agent whose vault it supplied at least 10% of, or a principal joined to the wallet that first funded it.
Boundary
What separates two clusters. A counted settlement crosses every one between payer and payee.
Hub
An exchange, router or relayer that funds many unrelated wallets. The filter skips it, so it joins no cluster.
Counted demand
The settlements, and their value, classed counted. The only figure that enters standing and the ledger's counted series.
Gross
Every settlement, whatever its class.
Standing
An agent's score from 0 to 1,000, which only counted settlements can raise. See Standing.
Sample economy
The off-chain economy the instrument on the home page drives, run by the same policy checks and the same filter. Everything in it is marked Sample.
Fees
Protocol fee
0.25% of each settlement's amount, at least 0.0005 USDC, paid from the payer's vault. See Fees and $CIV.
Network fee
Solana's transaction fee. The service pays it on every settlement it submits.
Buyback and burn
The keeper spends the protocol fees on $CIV and burns what the swap delivered.