Skip to content

Agent integrations

Agent integrations let a coding agent search the Hansard archive without requiring direct access to archive files. The recommended setup installs an MCP configuration when the client exposes a compatible configuration surface, plus the best native command or skill surface available to that agent.

  1. Initialize Hansard and import at least one source.

  2. Add Hansard to the target agent.

    Terminal window
    hansard integrations add-to codex

    Replace codex with claude, gemini, antigravity, devin, cursor, cline, opencode, or aider.

  3. Restart or reload the target agent so it reads the updated configuration.

  4. Ask the agent to recall a focused topic or continue from a prior session.

Rerun the same add-to command after upgrading Hansard when generated recall instructions need to be refreshed.

Native surfaces vary because agent clients expose different extension points.

Target Installed surface
Codex MCP configuration plus recall, continue-from, Deep Recall, and memory skills.
Claude MCP configuration plus slash commands and matching skills.
Gemini MCP configuration plus recall and continue-from commands.
Antigravity MCP configuration plus recall and continue-from skills.
Devin MCP configuration plus recall and continue-from skills.
Cursor MCP configuration plus project-local commands and rules. Run setup from the intended project.
Cline MCP configuration plus recall and continue-from workflows.
OpenCode MCP configuration plus recall and continue-from commands.
Aider Loadable recall and continue-from instructions. Aider does not expose a documented custom slash-command registry.

Use integrations recall when the MCP configuration is managed separately:

Terminal window
hansard integrations recall codex

The accepted targets are all, local, codex, claude, gemini, antigravity, devin, cursor, cline, opencode, and aider.

Clients with a manually managed MCP configuration can launch the recall server over standard input and output:

Terminal window
hansard mcp serve

The server exposes search_past_sessions. Generated integrations call the installed hansard executable, so a global installation must be available on PATH unless the client configuration supplies another executable path.

Finds conversations relevant to a focused topic, then reads a bounded latest-message window before reporting the result.

Generated instructions tell the agent to infer a focused query rather than passing an entire user request directly to archive search. Archive-dependent claims should remain tied to the selected session IDs.