smalibary

Pi extension that adds web_search and web_fetch tools using each provider's native search backend (ZAI, Anthropic, Google, OpenAI, xAI, Claude Code subscription), with DuckDuckGo fallback.

15
0
100% credibility
Found May 05, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

An extension for the pi AI coding agent that adds web search and page fetching tools, routing through the active AI provider's native capabilities when available or falling back to DuckDuckGo.

How It Works

1
🔍 Discover web search for your AI helper

While chatting with your AI coding assistant, you learn about a handy add-on that lets it look up information online just like you do.

2
📦 Add the add-on easily

You give your AI assistant a quick instruction to bring in the web search feature, and it sets everything up automatically.

3
Your AI gains superpowers

Now your assistant can search the web or grab page content using the best method for whatever service it's connected to—no extra setup needed.

4
💬 Chat and let it search

As you ask questions or work on projects, your AI decides when to search the internet and pulls in fresh results to help you.

5
⚙️ Check or tweak settings

Use a simple chat command to see what's working, turn features on or off, or view options for different services.

🎉 Get smarter help every time

Your AI now brings real-world info into your coding sessions, making it faster and more accurate to build and learn.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pi-native-search?

Pi-native-search is a TypeScript extension for the pi TUI coding agent that adds web_search and web_fetch tools, routing them through your active provider's native backend—like Claude Code's WebSearch, ZAI MCP, Anthropic, Google Gemini, OpenAI, or xAI—before falling back to DuckDuckGo scraping. It solves pi's lack of built-in search by leveraging what providers already offer for free, no extra API wiring needed. Install with `pi install npm:pi-native-search`, and it auto-detects your provider via slash commands like `/search providers` or status bar indicators.

Why is it gaining traction?

Unlike extensions that hardcode DuckDuckGo or demand paid APIs, this one taps native tools per provider, like Claude Code subscriptions via CLI login or ZAI's included MCP search, with silent fallbacks on errors. Devs dig the zero-config setup, per-provider toggles (`/search config`), and real-time backend status, standing out among addserilog extension, addslice extension, or github copilot chat extension not found hacks. It's the extension github copilot vscode equivalent for pi: adds what extension adds the most value without bloat.

Who should use this?

Pi users juggling providers like Anthropic, OpenAI, or xAI for terminal-based coding and research, especially those with Claude Code subs tired of manual web lookups. Backend devs evaluating extension github vscode adds for agent workflows, or AI tinkerers wanting native grounding without extension that adds subtitles-style gimmicks. Skip if you're locked to one non-search provider.

Verdict

Grab it if you're deep in pi—solid docs and easy provider additions make it extensible despite 15 stars and 1.0% credibility signaling early days. Test for your stack; it's raw but delivers on native search promises.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.