Integrations
The plugin is the best and fastest way to protect each coding agent — one install bundles the enforcing hooks, the MCP server, and the guardrail skills together. Grab an API token from your dashboard, then pick your agent below.
Prefer to watch it set up? See setup demos on our YouTube channel →
Claude Code
# Inside a Claude Code session:
/plugin marketplace add alelaguard/agentguards-plugins
/plugin install agentguards-claude@agentguards
# Then set your token (add to ~/.bashrc or ~/.zshrc) and restart Claude Code:
export AGENTGUARDS_API_KEY=ag_your_token_hereThen run /agentguards:status to confirm it's active. Enforcement is fail-closed by default; set AGENTGUARDS_FAIL_OPEN=true to fail open.
For manual hook/MCP setup and full configuration see the Claude Code integration guide →
OpenAI Codex
codex plugin marketplace add alelaguard/agentguards-plugins
codex plugin add agentguards-codex@agentguards-codex
# Then set your token (add to ~/.bashrc or ~/.zshrc) and restart Codex:
export AGENTGUARDS_API_KEY=ag_your_token_hereFor manual hook/MCP setup and full configuration see the OpenAI Codex integration guide →
Gemini CLI
Gemini CLI's extension installer only supports single-extension repos, so install by cloning and linking the subdirectory:
git clone https://github.com/alelaguard/agentguards-plugins.git
gemini extensions link agentguards-plugins/gemini
# Then set your token (add to ~/.bashrc or ~/.zshrc) and restart Gemini CLI:
export AGENTGUARDS_API_KEY=ag_your_token_hereFor manual hook/MCP setup and full configuration see the Gemini CLI integration guide →
GitHub Copilot CLI
Copilot CLI supports installing straight from a repo subdirectory, so no separate clone step is needed:
copilot plugin install alelaguard/agentguards-plugins:copilot
# Then set your token (add to ~/.bashrc or ~/.zshrc) and restart Copilot CLI:
export AGENTGUARDS_API_KEY=ag_your_token_hereFor full configuration see the agentguards-copilot plugin README →
Other integration options — VS Code (GitHub Copilot), GitHub Copilot Enterprise, the REST API, and the Gateway API — are available from your dashboard →