300+
weekly npm downloads
/tiny web access layer for node agents
Real-time search, extraction, and optional model reasoning through one minimal package. querius gives developers a practical mini-RAG pipeline they can run from terminal or embed in code.
What are the latest updates in retrieval-augmented generation?
/proof is in the numbers
weekly npm downloads
fresh publish cadence
tiny package size
than manual scrape + summarize flow
OpenAI + OpenRouter support
simple codebase, easy to audit
Trusted by developers using modern AI stacks
/the developer-first package for lightweight rag
Retrieve live data, extract relevant content, and feed structured context to your model so answers stay factual and source-based.
Tune --concurrency and --max-results for local scripts,
cron jobs, or production services that need predictable performance.
Keep keys in environment variables, inspect source URLs, and use --no-llm
mode when you need retrieval-only debugging.
/benchmarks
This benchmark represents factual Q/A style retrieval where response quality depends on source relevance, extraction quality, and prompt composition.
/how it works
Query DuckDuckGo HTML endpoint and capture top results.
Fetch each URL and clean the page with Readability + JSDOM.
Merge extracted chunks into prompt-ready context.
Call OpenAI/OpenRouter or run with --no-llm.
/installation
npm i querius
npx querius "your question"
/example usage
npx querius "what is retrieval augmented generation?" --no-llm
export OPENAI_API_KEY="YOUR_KEY"
npx querius "capital of france" --provider openai --model gpt-4o-mini
export OPENROUTER_API_KEY="YOUR_KEY"
npx querius "capital of france" --provider openrouter --model openai/gpt-4o-mini
import { runQuerIus } from "querius";
const out = await runQuerIus({
query: "What is the capital of France?",
provider: "openai",
model: "gpt-4o-mini",
apiKey: process.env.OPENAI_API_KEY
});
console.log(out.error || out.answer);
/in action
Prototype source-grounded Q/A flows in minutes.
Add web retrieval to scripts and command-line helpers.
Extract and summarize topical updates with auditable sources.
Give autonomous workflows a simple web context layer.