clavis agents
Manage AI agent identities and command allowlists
sh
clavis agents <command>Agent identities let coding agents (Claude Code, Cursor, Codex, ...) run approved commands with secrets, through clavis mcp, without seeing the values. Allowlists are deny-all by default and live on the server, so an agent can't edit its own.
Commands
clavis agents allowAdd command patterns to an agent allowlistclavis agents disallowRemove command patterns from an agent allowlistclavis agents lsList agent identitiesExamples
sh
clavis agents allow coding-agent "npm test"
clavis agents lsGlobal flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command