Skip to content

Conversation

@TimPietruskyRunPod
Copy link
Collaborator

Summary

Add Web Search Agent that uses Exa for AI-optimized web search and summarization.

Closes CSE-785

Changes

  • Add web-search-tool.ts using exa-js for semantic web search
  • Add web-search-agent.ts that searches and summarizes results
  • Returns key points and sources (title + URL)
  • Update README with:
    • Agent documentation with curl examples
    • Environment variable for EXA_API_KEY
    • Section for developers on creating custom agents

Testing

Tested locally with Docker:

curl -X POST http://localhost:8080/api/agents/webSearchAgent/generate \
  -H "Content-Type: application/json" \
  -d '{"messages": [{"role": "user", "content": "Search for RunPod serverless news"}]}'

Response:

Here are the key points from the latest RunPod serverless news:

1. **2025 Serverless LLM Update** - RunPod introduced updates to enhance serverless LLM usage...
2. **SOC 2 Type II Compliance** - RunPod achieved SOC 2 Type II compliance...
3. **Worker Templates for Serverless** - A new feature allows users to create workers from templates...

All sources are from RunPod's official blog.

Environment Variables

Copy link

@max4c max4c left a comment

Choose a reason for hiding this comment

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

LGTM

- add web-search-tool using exa-js for AI-optimized web search
- add web-search-agent that searches and summarizes results
- returns key points and sources with titles and URLs
- update readme with agent documentation and curl examples
- add EXA_API_KEY to environment variables
- change RunPod to Runpod throughout codebase
- update context.md with current agent patterns
- add EXA_API_KEY to environment variables
- update storage docs to reflect LibSQL fallback
@TimPietruskyRunPod TimPietruskyRunPod force-pushed the timpietrusky/cse-785-agent-web-search-summarization branch from 1b42d91 to a507229 Compare December 22, 2025 10:07
@TimPietruskyRunPod TimPietruskyRunPod merged commit 236dfab into main Dec 22, 2025
1 check passed
@TimPietruskyRunPod TimPietruskyRunPod deleted the timpietrusky/cse-785-agent-web-search-summarization branch December 22, 2025 10:08
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.

3 participants