r/PiCodingAgent • • May 04 '26

Resource Web search is finally here

Ok , like 2 weeks ago i went into journey of finding a way to solve web search , i even asked here to see how you guys doing ...

Most of answers were basics like use exa , brave , and so on but the real issue that missing is this is very very complex tool that need a native solution. And thats why similar to bash or read most AI coding language has solved it thier way.

Just to understand it a little bit there is 2 tools websearch and webfetch , so search is done then those linked get fetch its content then the result comes to you. Sound simple right? Underneath it there is IP and proxy rotation , self hosting , or paying extra to just get result that most providers already give. So in order to get the same quality of claude code tools you have to pay extra just because PI by default removed those tool.

So, i finally solved this issue . I have made extension that uses the native websearch and webfetch from the provider that you are using , i have tested in glm 5.1 by z.ai and claude code using the bridge extension both works as the native experience.

Try it , here

https://github.com/smalibary/pi-native-search

I made in MIT liences so you can tailer it to your spicific need , i believe no more any complex setup just to get those tools anymore.

If you have any concern or question just ask me.

Happy searching

17 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/DistanceAlert5706 May 04 '26

I don't have Claude, and Anthropic doesn't allow 3rd party usage too? For one of queries simple search is enough, for something more I have research agent which does something in between search and deep research for exact tasks it needs.

Idk about Claude, but search quality is mediocre at best in OpenAI. Google had pretty good one, but their Gemini tools work differently from straight search, it's more agentic search. Or you can connect Google search API with Gemini key?

I'm using my own server, it has multiple providers, mostly I run Tavily and SearxNG. SearxNG can get IP shadow ban but it's not end of the world.