1 pointby joeykudish7 hours ago1 comment
  • joeykudish7 hours ago
    Some more detail on how it works.

    There are three tiers of providers you can mix and match:

    - deep-research: Perplexity Deep, OpenAI Deep, Gemini Deep (thorough, takes a couple minutes) - ai-grounded: Perplexity Sonar, Brave Answers, Exa (fast, comes back with citations) - raw-search: Brave Search, SearchAPI, SerpAPI, Tavily (just links, very fast)

    They all run in parallel. Output is a directory with per-provider markdown files, a run.json manifest, and a sources.json that ranks citations by how many providers independently cited the same URL.

    FYI about Costs: the deep-research providers aren't cheap. But you can run just the quick group (ai-grounded tier) for a fraction of the cost and it's often good enough.

    To get started:

      npm install -g librarium
    
    Setup API keys in your .env and then:

      librarium init --auto    # picks up API keys from your env
      librarium run "your query" --group quick
    
    Would love to hear what you'd use this for and what providers you think are missing. There's a request template in the repo.

    Example run here: https://gist.github.com/jkudish/65bf115000fb17815cba5ba42c13...