๐ฆReddit r/LocalLLaMAโขStalecollected in 74m
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.
Who should care:Developers & AI Engineers
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.
๐ 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
Local-first agents will reduce reliance on centralized AI search APIs.
The adoption of MCP-based local agents allows developers to bypass proprietary search wrappers, shifting the cost and control of data retrieval to the user's local infrastructure.
Standardization via MCP will accelerate the ecosystem of local-first AI tools.
By using a common protocol, developers can build modular extensions that work across multiple local LLM clients without needing custom integrations for each one.
โณ Timeline
2025-11
Initial development of Yagami repository on GitHub by ahkohd.
2026-02
Integration of Yagami with Model Context Protocol (MCP) to support broader AI client compatibility.
2026-03
Release of the pi-yagami-search extension for local coding workflows.
๐ฐ
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 โ
