AIToday
Large Language ModelsHacker NewsPublished: Jun 22, 2026, 16:01 JST1 min read

Magpie-search cuts AI agent token costs to 1/2000th

Magpie-search cuts AI agent token costs to 1/2000th

3 Key Points

  1. What happened

    A developer has released Magpie-search, a federated search engine that runs entirely on a user's machine and searches across five sources—AI conversation transcripts, local files, a knowledge graph, a vector store, and the live web—using keyword, semantic, and exact-match modes. Results are ranked by trust tier (fact, reference, lead, stale) and deduplicated across sources.

  2. Why it matters

    For AI agents, losing context after a crash or power outage is costly. Magpie indexes everything an agent has worked through locally, so recovery is possible. The tool also reduces token cost dramatically: a deep research question that would cost a multi-agent swarm ~2,000,000 tokens costs Magpie's deepweb mode ~1,050 tokens—about 1/2000th the cost—because searching and page-reading are pure retrieval with zero model tokens.

  3. What to watch

    Magpie is installed via pip install magpie-search and runs on Python 3.10+ on Windows, macOS, and Linux. It connects to any MCP-capable agent (a standard protocol for AI tools) and strips ~30 classes of secrets at ingest before indexing. The optional session summarizer requires Ollama, which is free and runs locally.

Ask the AI about this article →

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • DataAgent launches with $10M to auto-fix Kubernetes faultsSiliconANGLE AI · 50m ago
  • SK Hynix custom HBM boosts inference up to 5.15xDIGITIMES Asia · 50m ago
  • Nvidia Earnings: Boring by Design, Avoiding a Consolidated WorldStratechery (Ben Thompson) · 50m ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleSpaceX's $85 billion(約14兆円) IPO windfall will fuel AI data centers, but powering them could require nuclear energy—opening a door for small modular reactor companies like NuScale.