kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / agent / token

kosa8 agent token

Give an agent an identity the daemon can check

An agent identity is a name, an MCP policy scope and a token. Give the token to the agent's gateway (KOSA8_AGENT_TOKEN=… kosa8 mcp serve): every action it takes is then recorded under that identity, and the tools it may call are decided in that identity's scope rather than the policy's default.

Example#

  kosa8 agent token create ci-bot --ttl 24h
  kosa8 agent token ls
  kosa8 agent token revoke ci-bot

Subcommands#

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA