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.
Option 1 — Install with the Librarian CLI (recommended)
Section titled “Option 1 — Install with the Librarian CLI (recommended)”npx @the-librarian/cli install # choose Aeven; paste your MCP URL + tokennpx @the-librarian/cli update # later: pull the latest bundleThis runs avn plugin add @the-librarian/cordis-plugin and writes LIBRARIAN_MCP_URL and
LIBRARIAN_AGENT_TOKEN to your shell environment.
Option 2 — Aeven Desktop (GUI)
Section titled “Option 2 — Aeven Desktop (GUI)”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”avn plugin add @the-librarian/cordis-pluginThen export your server URL and agent bearer token before starting Aeven (or add them to
$AVN_HOME/.env):
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.
What the bundle adds
Section titled “What the bundle adds”- 8 native MCP tools (
mcp__librarian__recall,remember,flag_memory,store_handoff,list_handoffs,claim_handoff,search_references,journal) bridged by@aeven/mcp-clientwithfailOnStartupError: false. - System prompt injection —
/healthzawareness, the Librarian primer (since@aeven/mcp-clientonly hands MCP server instructions totool-search), and the recent 9,500-character journal window (LIBRARIAN_JOURNAL=offdisables the journal). - Slash commands —
/handoff,/takeover, and/toggle-privateregistered onctx.commands. - Automatic capture — listens to
session/eventin-process and posts committed prose turns onturn/end, respecting[librarian:private=on|off],/toggle-private, andsession/rewind. SetLIBRARIAN_AUTO_SAVE=falseto disable capture on this machine.
Verify
Section titled “Verify”- Run
avn --dump-configand confirm the# == @the-librarian/cordis-pluginlayer appears. - Start Aeven and ask it to
recallsomething from your vault. - Run
/toggle-privateto confirm private mode toggles cleanly.
For configuration overrides in cordis.patch.yml, see the
Cordis integration README.