A meta harness for research queries

Research from your terminal.

Ask a question and keep every source’s answer for later.

Set up the CLI

Node.js 22.12+

  1. Install

    npm install -g librarium
  2. Configure sources

    librarium setup
  3. Preview offline

    librarium research "Lisbon or Porto without a car?" --only exa --dry-run --json
  4. Research when ready

    librarium research "Lisbon or Porto without a car?" --only exa --json

Previewing makes no provider calls, so it costs nothing. Research calls your providers and bills to your API keys. See costs and limits.

Read a saved Run

Every answer stays with its citations. The command reference covers browsing, summaries, and export.

Read a saved Run
librarium show <run-id> --source exa

Come back later

Start deep research without waiting, then reopen the same Run. Recovery docs explain what happens after interruption.

Come back later
librarium research \
  "Lisbon or Porto without a car?" \
  --deep --only exa --no-wait
librarium show <run-id> --wait --json

Connect your agent

The same install includes an MCP server and agent skill. Agents & MCP has the setup for your coding agent.

Connect your agent
librarium mcp