Diagram as text
- An agent has an identity: every action is recorded against the agent that took it.
- A person can stop work: halt the organization, pause a role, or let a breaker trip.
- A person decides: approvals and human gates wait for a signed-in person.
- The ledger records who did what, who stopped it and who decided.
Three things let you know who did what and stop it when you need to. Each has a limit, stated here.
An agent has an identity
Section titled “An agent has an identity”In a run, every action is recorded against the agent that took it. An agent that calls the API from outside the process
can have a credential of its own (it starts with nma_), so the ledger names that agent and a revoke applies to that
agent alone. The caller is agent:<id>, and an agent can never be made to act as another.
Limits:
- A credential carries only
readandrun. It reaches a short list of routes (health, its own eligibility, runs, run detail, tasks and the stop of a run it takes part in), and it cannot approve anything. - Only an owner in a signed-in session can issue or rotate one. The command line can list and revoke, never issue, and it never shows a secret. The secret is shown once, when it is issued.
- An agent has at most 5 live credentials by default (
NURAMESH_AGENT_CREDENTIAL_MAX_LIVE, 1 to 20). An agent that is removed from the configuration, or whose role, model, checks or reporting line change, loses its credentials the next time the server starts. - Halting the organization or pausing the agent’s role removes
runfrom its credentials and stops new ones from being issued. Revoking always works. - A credential is a bearer secret: whoever holds it acts as that agent. Store it like any key.
See Agent credentials and Accounts and roles.
A person can stop everything
Section titled “A person can stop everything”The kill switch has three parts: halt the whole organization, pause one role, and breakers, which are rules in the configuration that trip on a signal such as spend in a window. A halted organization starts no run and makes no model call until a person lifts the halt.
Limits:
- Stopping is cooperative. A model call or task that is already running finishes and is recorded; what stops is new work and new model calls.
- The command line can only restrict (halt, pause, trip). Lifting a halt, a pause or a breaker needs a person signed in to the app or the API.
- Breakers evaluate in the server process. A server that is not running does not evaluate them, and an evaluation that keeps failing halts the organization rather than letting work continue.
--humanon the command line is a claim, not a sign-in.
See Kill switch and Stopping a run.
A person decides what needs deciding
Section titled “A person decides what needs deciding”Where a policy says ask, the run waits for a person’s approval, and a human gate waits for a person’s decision. The decision is recorded with who made it. No token and no agent can make it: it needs a signed-in person whose role allows it.
Limits:
- An approval is only as good as the person’s attention. The ledger proves who decided and when, not that they read the output.
- The command line cannot approve anything.
Related pages
Section titled “Related pages”- Agent credentials.
- Kill switch and Stopping a run.
- Autonomy policies: where a policy says ask.
- The ledger and anchors.
Was this page helpful?