Run multi-provider deep research queries using the librarium CLI
Install
npx skillscat add jkudish/librarium Install via the SkillsCat registry.
SKILL.md
Librarium -- Multi-Provider Deep Research
Run research queries across 10 search and deep-research APIs in parallel, collect results, deduplicate sources, and produce structured output.
Prerequisites
librariumCLI installed (npm install -g librarium)- API keys configured (
librarium init --auto) - Binary at:
librarium(ornpx librarium)
7-Phase Research Workflow
Phase 1: Query Analysis
Analyze the user's research question. Determine:
- Is this a technical, business, or general knowledge query?
- Which provider group is best suited? (
quickfor fast answers,deepfor thorough research,comprehensivefor important decisions,allfor maximum coverage) - What execution mode? (
syncfor quick queries,mixedfor deep research)
Phase 2: Provider Selection
Select providers based on query type:
- Technical queries: Use
comprehensivegroup (deep research + AI-grounded) - Quick facts: Use
quickgroup (AI-grounded only, fast) - Competitive research: Use
allgroup (maximum coverage) - Specific provider: Use
--providersflag
Phase 3: Dispatch
Run the query:
librarium run "your query here" --group <group> [--mode mixed]Phase 4: Monitor Async Tasks
If deep-research providers were used in async mode:
librarium status --waitPhase 5: Retrieve Results
Once complete, async results can be retrieved:
librarium status --retrievePhase 6: Analyze Output
Read the output files:
summary.md-- Overall research summary with statisticssources.json-- Deduplicated citations ranked by frequency- Individual
{provider}.mdfiles for detailed per-provider results run.json-- Machine-readable manifest
Phase 7: Synthesize
Combine findings from multiple providers into a coherent answer. Cross-reference sources that appear across multiple providers (higher citation count = higher confidence).
Key Commands
| Command | Purpose |
|---|---|
librarium run <query> |
Run research query |
librarium run <query> --group quick |
Fast AI-grounded search |
librarium run <query> --group deep |
Deep research (async) |
librarium run <query> --group all |
All providers |
librarium status |
Check async tasks |
librarium status --wait --retrieve |
Wait and fetch async results |
librarium ls |
List providers and status |
librarium doctor |
Health check providers |
librarium config |
Show resolved config |
Provider Tiers
| Tier | Providers | Speed | Depth |
|---|---|---|---|
| deep-research | perplexity-deep, openai-deep, gemini-deep | Minutes | Comprehensive |
| ai-grounded | perplexity-sonar, brave-answers, exa | Seconds | Good |
| raw-search | brave-search, searchapi, serpapi, tavily | Fast | Links only |
Output Structure
./agents/librarium/{timestamp}-{slug}/
prompt.md, run.json, summary.md, sources.json
{provider}.md, {provider}.meta.json
async-tasks.json (if applicable)