Skip to content
Docs
Request access

Agent identity and oversight

Available

Three ways to know who did what and to stop it Every action is recorded against the agent that took it. A person can stop work with a halt, a role pause or a breaker. A person makes the decisions a policy or a human gate asks for. All three are recorded in the ledger. An agent has an identityevery action is recordedagainst the agent A person can stop workhalt, pause a role,breakers A person decidesapprovals andhuman gates Ledgerwho did what, who stopped it and who decided An agent has an identityevery action is recordedagainst the agent A person can stop workhalt, pause a role,breakers A person decidesapprovals andhuman gates Ledgerwho did what, who stopped it and whodecided
Identity, stopping and deciding all end in the ledger.
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.

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 read and run. 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 run from 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.

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.
  • --human on the command line is a claim, not a sign-in.

See Kill switch and Stopping a run.

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.

Was this page helpful?