External agent access

Agent Access

Two tokens, two scopes. Each is shown exactly once, at the moment it is created. Anyone holding the control token can quarantine and restore nodes, so treat it as an owner credential.

Agent API base URL:http://localhost:3001

Failed to fetch

Read token

Status, ledger, and health. Cannot change anything.

Not generated

Control token

Everything above, plus verify, ledger append, quarantine, and restore.

Not generated

Handling

  • Copy a token only into the agent's own secure vault. Never paste it into a chat, ticket, or document.
  • Revocation is immediate — the very next request carrying that token gets a 401.
  • Tokens are stored server-side as SHA-256 hashes. No endpoint can read them back.
  • Every failed authentication and scope violation is written to the ledger as a SECURITY event.
  • Token management lives on this admin route, which requires a console admin session — an agent token cannot reach it.
base44
Edit with Base44