Skip to content

adding exa web search support#1171

Open
theishangoswami wants to merge 4 commits intovercel-labs:mainfrom
theishangoswami:add-exa-search
Open

adding exa web search support#1171
theishangoswami wants to merge 4 commits intovercel-labs:mainfrom
theishangoswami:add-exa-search

Conversation

@theishangoswami
Copy link
Copy Markdown

adds exa (https://exa.ai) as a built-in web search tool for the chat command and dashboard ai chat.

when EXA_API_KEY is set, the ai can use exa to search the web instead of navigating to a search engine. this is faster and returns cleaner results with titles and text snippets.

what changed:

  • added exa_web_search tool alongside the existing agent_browser tool in chat
  • the ai picks exa automatically when it needs to look something up
  • search results include titles, urls, and relevant text highlights
  • works in both cli chat and dashboard chat
  • updated readme and help text with docs

usage:

export EXA_API_KEY=your_key_here
agent-browser chat "search for the latest rust cli libraries"

the ai can also combine search with browser automation, e.g. search for pages then open results for deeper exploration.

Co-Authored-By: ishan <ishan@exa.ai>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 6, 2026

Someone is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

for highlight in highlights {
if let Some(text) = highlight.as_str() {
let trimmed = if text.len() > 300 {
format!("{}...", &text[..300])
Copy link
Copy Markdown
Contributor

@vercel vercel bot Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Byte-index string slicing (&content[..2000]) in build_summary_text panics at runtime when the byte index falls in the middle of a multi-byte UTF-8 character.

Fix on Vercel

Ishan Goswami and others added 3 commits April 6, 2026 18:17
Co-Authored-By: ishan <ishan@exa.ai>
Co-Authored-By: ishan <ishan@exa.ai>
Co-Authored-By: ishan <ishan@exa.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant