Skip to content

Aeven

Aeven is a Cordis-based AI agent harness. The Librarian ships a prebuilt Cordis bundle (@the-librarian/cordis-plugin) that mounts Aeven’s built-in Streamable HTTP MCP client (@aeven/mcp-client) alongside awareness, primer, and journal injection, slash commands, and in-process automatic capture.

When you’d use this: you run Aeven (avn) and want shared memory, handoffs, journal context, and automatic capture alongside your other Librarian-connected tools.

Section titled “Option 1 — Install with the Librarian CLI (recommended)”
Terminal window
npx @the-librarian/cli install # choose Aeven; paste your MCP URL + token
npx @the-librarian/cli update # later: pull the latest bundle

This runs avn plugin add @the-librarian/cordis-plugin and writes LIBRARIAN_MCP_URL and LIBRARIAN_AGENT_TOKEN to your shell environment.

Aeven Desktop bundles its own private avn host (so avn is not on PATH). Install @the-librarian/cordis-plugin directly from Aeven Desktop’s Plugins UI, and set LIBRARIAN_MCP_URL and LIBRARIAN_AGENT_TOKEN in your shell profile or $AVN_HOME/.env.

Option 3 — Install directly with avn CLI

Section titled “Option 3 — Install directly with avn CLI”
Terminal window
avn plugin add @the-librarian/cordis-plugin

Then export your server URL and agent bearer token before starting Aeven (or add them to $AVN_HOME/.env):

Terminal window
export LIBRARIAN_MCP_URL="https://librarian.example.com/mcp"
export LIBRARIAN_AGENT_TOKEN="your-agent-token"

If LIBRARIAN_MCP_URL is unset, the bundle disables the mcp-librarian row automatically so Aeven boots cleanly without errors.

  • 8 native MCP tools (mcp__librarian__recall, remember, flag_memory, store_handoff, list_handoffs, claim_handoff, search_references, journal) bridged by @aeven/mcp-client with failOnStartupError: false.
  • System prompt injection — /healthz awareness, the Librarian primer (since @aeven/mcp-client only hands MCP server instructions to tool-search), and the recent 9,500-character journal window (LIBRARIAN_JOURNAL=off disables the journal).
  • Slash commands — /handoff, /takeover, and /toggle-private registered on ctx.commands.
  • Automatic capture — listens to session/event in-process and posts committed prose turns on turn/end, respecting [librarian:private=on|off], /toggle-private, and session/rewind. Set LIBRARIAN_AUTO_SAVE=false to disable capture on this machine.
  1. Run avn --dump-config and confirm the # == @the-librarian/cordis-plugin layer appears.
  2. Start Aeven and ask it to recall something from your vault.
  3. Run /toggle-private to confirm private mode toggles cleanly.

For configuration overrides in cordis.patch.yml, see the Cordis integration README.