eca icon indicating copy to clipboard operation
eca copied to clipboard

Web Search Tool

Open r0man opened this issue 1 year ago • 8 comments

It would be nice if ECA would support web searches, either with a MCP tool and/or a ECA native tool.

Some issue to think about:

  • Most web search APIs are probably rate limited/need an API key?

  • The Zed editor seems to do web search via it's "cloud provider" on their servers https://github.com/search?q=repo%3Azed-industries%2Fzed%20web%20search&type=code

  • The Zed editor has support for multiple providers that can be swapped out. Probably also a good idea for ECA.

r0man avatar Aug 21 '25 14:08 r0man

Agree, we support built-in web search for openai and anthropic but having a native tool would remove that need + support for all providers.

Opencode seems to do just query google

Any thoughts @editor-code-assistant/maintainers ?

ericdallo avatar Aug 21 '25 14:08 ericdallo

In my opinion, the existing MCPs (Brave Search, ...) are sufficient. Having our own would make sense if we had something like research mode, in which such a thing was inevitable, and we couldn't rely on users having an MCP for searching. But still, many websites immediately block us, and we probably couldn't compete with something like BrightData and the like.

zikajk avatar Aug 22 '25 15:08 zikajk

@zikajk I didn't test brave search, but I think the point is: most people don't know about that.

One advantage of Cursor/claude is that it just works, the built-in tools are enough for >90% of users, I want the same in ECA.

What we could do is tune its tool description like opencode: "Only use if there is no other tool that provides web search.", so people can plug other MCPs in case ECA's one is not enough. And I believe doing a Google search like opencode should be enough for most cases.

ericdallo avatar Aug 22 '25 17:08 ericdallo

I understand. However, as far as I know, Google searches are problematic. I think it might work for a while, but then Google will figure out how to block it. The API key is free, but it only allows 100 requests per day, and Brave is similar. Zed is commercial product so they can pay for it 😸. https://github.com/sst/opencode/issues/1624

zikajk avatar Aug 22 '25 19:08 zikajk

Hum yeah, good point

ericdallo avatar Aug 22 '25 19:08 ericdallo

Sorry for necrobump, but there's e.g. Exa search tailored for LLMs.

lockie avatar Apr 22 '26 23:04 lockie

ECA has built-in support for the most popular LLM providers, where the user experience boils down to just entering an API key. At the same time, ECA stays provider-agnostic and lets you connect any provider. And I really value this!

Following the same logic, there are mainstream search providers (EXA, Brave Search API, you.com, Tavily, Firecrawl, Jina AI), where the setup experience could also boil down to just entering an API key. This would make ECA more user-friendly. Most of them also offer free tiers. Meanwhile, I can still have my own search provider and connect any provider via MCP. It's important to stay agnostic in this respect as well.

Some newcomers may have lacked documentation on how to connect a search provider. It would be great to at least have ready-made config snippets for the popular search providers.

qwota avatar Sep 15 '26 09:09 qwota

@qwota I'm pretty ok with having a section/page under https://eca.dev with different web search providers and their configs!

ericdallo avatar Sep 15 '26 13:09 ericdallo