Aletheia

Connect AI coding tools to Aletheia: overview and verification status

Aletheia (aletheia-mem) connects to each AI coding tool, called a host, in up to three ways: an MCP server entry, hooks that capture activity, and a managed block in the instruction file the host already reads. This page lists every host, explains the two connection levels, and states what was and was not tested on a real install.

All hosts at a glance

The table matches the generated table in the project README. The aletheia install --list command prints the same data from the code.

HostLevelVerificationHook events installed
Claude CodefullMCP connection 2.1.312 on 2026-10-27; hooks ran in real sessions over two days of use; one user on one machineSessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd
Command CodefullMCP connection 1.88.1 on 2026-10-27; hooks ran in one short session; one user on one machineSessionStart, PostToolUse, Stop
Cursorfullconfig written from docs, not tested on a real installsessionStart, beforeSubmitPrompt, postToolUse, afterAgentResponse, stop, sessionEnd
Codex CLIfullMCP connection 0.130.0 on 2026-10-27; hooks ran in one interactive session (reviewed once with /hooks); one user on one machineSessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd
Gemini CLIfullconfig written from docs, not tested on a real installSessionStart, BeforeAgent, AfterTool, AfterAgent, SessionEnd
Windsurffullconfig written from docs, not tested on a real installpre_user_prompt, post_run_command, post_write_code, post_cascade_response
OpenCodemcp+rulesMCP connection 1.18.33 on 2026-10-27; hooks not runnone (MCP and rules only)

Claude Desktop has an MCP entry only. It has no hooks and no rules file. See Claude Desktop. GitHub Copilot, Aider and any other MCP client are covered in Other tools.

Real output from aletheia install --list in a temporary home folder (the detected column says no because that folder is empty):

tool          capability   verification     detected  events
claude-code   full         mcp-verified      no        SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd
command-code  full         mcp-verified      no        SessionStart, PostToolUse, Stop
cursor        full         from-docs-only    no        sessionStart, beforeSubmitPrompt, postToolUse, afterAgentResponse, stop, sessionEnd
codex         full         mcp-verified      no        SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd
gemini-cli    full         from-docs-only    no        SessionStart, BeforeAgent, AfterTool, AfterAgent, SessionEnd
windsurf      full         from-docs-only    no        pre_user_prompt, post_run_command, post_write_code, post_cascade_response
opencode      mcp+rules    mcp-verified      no        none
...

What "full" and "mcp+rules" mean

A host at level full gets three things from aletheia install <tool> --write:

A host at level mcp+rules gets the MCP entry and the rules block, and nothing else. Nothing is captured automatically. A memory is stored only when the model calls an MCP tool such as save_memory, or when you save one with the CLI. OpenCode is the only host at this level.

Each host does not get every event. The host decides which events exist. Command Code has no prompt hook, and Windsurf has no session-start hook. Each host page lists what is and is not captured.

Install runs as a dry run first

aletheia install <tool> changes nothing. It prints each file it would write. Add --write to apply it.

aletheia install claude-code            # dry run, writes nothing
aletheia install claude-code --write    # applies the plan

The rules:

Hooks run the hook command from the data dir (<bun> <data dir>/aletheia.bundle.mjs hook <tool> <event> # aletheia-managed). They redact secrets and <private> blocks before storing, spool to disk if the database is unavailable, and always exit 0 so they never block the host. See Hooks reference and Privacy and redaction.

What the verification words mean

aletheia doctor prints a verify <tool> line for each host. The word verified on those lines means only that the recorded evidence date is under 180 days old. It does not mean the host was tested on a real install. Read the evidence text on the same line. Copilot, Aider and the generic AGENTS.md target print unverified: no verifiedOn recorded.

Honest status

These sentences are the fixed wording for every page in this section.

The README adds that CI runs on Linux, macOS and Windows, that two hook checks (Windsurf and Gemini CLI) are skipped on Windows, and that no real tool was tried on Windows.

Which page to open

Next steps