Yagmi: Local-First Web Search Agent

💡Local web search agent beats cloud tools for privacy in LLM coding setups
⚡ 30-Second TL;DR
What Changed
Local-first web search agent runs entirely on user hardware
Why It Matters
Yagmi enables offline, privacy-preserving web search for local LLM users, reducing reliance on cloud services like Exa. It could enhance coding workflows in local environments.
What To Do Next
Clone https://github.com/ahkohd/yagami and run the vLLM demo locally.
Key Points
- •Local-first web search agent runs entirely on user hardware
- •Demo uses qwen2.5-9b model served via vLLM
- •pi-yagami-search extension replaces Exa for Pi coding
- •Open-source repo: https://github.com/ahkohd/yagami
🧠 Deep Insight
AI-generated analysis for this event — not the original article.
🔑 Enhanced Key Takeaways
- •Yagami utilizes the Model Context Protocol (MCP) to standardize how the agent interacts with local LLMs and external search tools, facilitating interoperability across different AI development environments.
- •The architecture leverages a specialized search-to-context pipeline that processes raw web search results into a structured format optimized for local LLM token windows, minimizing context overflow.
- •By decoupling the search provider from the LLM inference engine, Yagami allows users to swap between different search APIs (such as Tavily or Brave Search) while maintaining a consistent local-first orchestration layer.
📊 Competitor Analysis▸ Show
| Feature | Yagami | Perplexity (Pro) | Open WebUI (Search) |
|---|---|---|---|
| Data Locality | Fully Local | Cloud-based | Hybrid/Local |
| Model Control | User-defined (vLLM) | Proprietary/API | User-defined (Ollama) |
| Pricing | Free (Open Source) | Subscription | Free (Open Source) |
| Architecture | MCP-based Agent | SaaS | Plugin-based |
🛠️ Technical Deep Dive
- •Orchestration: Implemented as an MCP server, allowing it to act as a bridge between LLM clients (like Jan) and search tools.
- •Inference Backend: Designed to interface with vLLM, supporting high-throughput serving of models like Qwen2.5-9B.
- •Search Integration: Replaces traditional cloud-based search APIs in coding assistants by routing queries through a local proxy that handles request formatting and response parsing.
- •Dependency Management: Built to run within local Python environments, requiring minimal external dependencies beyond the MCP SDK and search API keys.
🔮 Future ImplicationsAI analysis grounded in cited sources
⏳ Timeline
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/LocalLLaMA ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
The weekly digest
One email a week. Unsubscribe anytime.