Skip to content

Agent Integrations

CLI

Archcore supports 8 coding agents out of the box. Each agent integrates through three mechanisms: MCP servers, session hooks, and an instruction hint — a short “use Archcore” nudge written into the agent’s config files. All three are installed automatically (where supported) during archcore init.

AgentMCPHooksInstruction File
Claude CodeYesYes.claude/rules/
CursorYesYesAGENTS.md
GitHub CopilotYesYesAGENTS.md
Gemini CLIYesYesGEMINI.md
OpenCodeYesAGENTS.md
Codex CLIYesAGENTS.md
Roo CodeYesAGENTS.md
ClineManualAGENTS.md

MCP = agent can list, search, read, create, and update documents through Archcore tools. Hooks = agent receives document context automatically at session start. Instruction File = where the “use Archcore” instruction hint is written.

archcore init detects agents by looking for their configuration directories:

AgentDetected by
Claude Code.claude/ directory
Cursor.cursor/ directory
GitHub Copilot.github/copilot-instructions.md file
Gemini CLI.gemini/ directory
OpenCodeopencode.json file or .opencode/ directory
Codex CLI.codex/ directory
Roo Code.roo/ directory
Cline.clinerules/ directory

If no agents are detected, Archcore falls back to configuring Claude Code.

AgentIDConfig File
Claude Codeclaude-code.mcp.json
Cursorcursor.cursor/mcp.json
GitHub Copilotcopilot.vscode/mcp.json
Gemini CLIgemini-cli.gemini/settings.json
OpenCodeopencodeopencode.json
Codex CLIcodex-cli.codex/config.toml
Roo Coderoo-code.roo/mcp.json
ClineclineVS Code globalStorage (manual)

Installing the MCP server doesn’t guarantee the agent will use it. The instruction hint is a short “use Archcore” nudge written into the agent’s instruction file. It tells the model that Archcore’s MCP tools exist and when to consult them — otherwise the tools sit idle and the agent never calls list_documents or search_documents.

The hint is opt-in during interactive archcore init (the prompt defaults to yes). In non-interactive mode it’s skipped, and Archcore points you to archcore instructions install instead.

For agents with shared instruction files (AGENTS.md, GEMINI.md), the hint is inserted inside a managed marker block:

<!-- archcore:start -->
...
<!-- archcore:end -->

The markers let Archcore update or remove the hint without clobbering your own content. Claude Code uses .claude/rules/ instead of a shared file.

Manage the hint with archcore instructions:

Terminal window
archcore instructions install # write the hint to all detected agents
archcore instructions install --agent gemini-cli # target a single host
archcore instructions remove # strip the managed block

Removal strips only the managed block, and works even after de-init.

Install MCP for a specific agent:

Terminal window
archcore mcp install --agent cursor

Install hooks for a specific agent:

Terminal window
archcore hooks install --agent claude-code

For the best experience, use an agent that supports both MCP and hooks. Claude Code, Cursor, GitHub Copilot, and Gemini CLI currently offer the most complete integration — agents receive context at session start and have full document management tools available.

Agents without hook support (OpenCode, Codex CLI, Roo Code, Cline) still work well through MCP tools. The main difference is that you’ll need to explicitly ask the agent to check for documents rather than having context injected automatically.

This page lists the CLI-level integrations — every supported agent gets MCP and (where possible) hooks.

Two of these hosts (Claude Code and Cursor) additionally support the higher-level Archcore Plugin — skills, tracks, built-in agents, and guardrails. See Supported AI agents for the plugin-specific matrix.

  • MCP server — how agents connect.
  • Hooks — what the session-start hook emits.
  • Commands — the archcore commands that drive integration.