Exa Dspy
Description
Exa tools for DSPy - web search and content fetching for ReAct agents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
exa-dspy
Exa tools for [DSPy](https://dspy.ai) — web search and content fetching for ReAct agents.
Installation
pip install exa-dspy
Quick Start
import dspy
from exa_dspy import ExaSearchTool, ExaContentsTool
# Configure your LM
lm = dspy.LM("openai/gpt-4o-mini")
dspy.configure(lm=lm)
# Create tools (uses EXA_API_KEY env var by default)
search = ExaSearchTool(num_results=5)
contents = ExaContentsTool()
# Use in a ReAct agent
agent = dspy.ReAct("question -> answer", tools=[search, contents])
result = agent(question="What are the latest developments in quantum computing?")
print(result.answer)
Tools
ExaSearchTool
Search the web using Exa's neural/keyword search.
search = ExaSearchTool(
num_results=5, # number of results to return
search_type="auto", # "auto", "neural", "keyword"
include_domains=None, # restrict to specific domains
exclude_domains=None, # exclude specific domains
start_published_date=None, # ISO date filter
end_published_date=None,
category=None, # "news", "company", "research paper", etc.
livecrawl=None, # "always", "fallback", "never"
summary=False, # include AI summaries
highlights=False, # include key highlights
max_chars_per_result=1000,
)
ExaContentsTool
Fetch and extract clean text content from URLs.
contents = ExaContentsTool(
max_characters=5000, # max chars per page
summary=False, # include AI summary
highlights=False, # include key highlights
livecrawl=None, # "always", "fallback", "never"
)
ExaFindSimilarTool
Find pages similar to a given URL.
from exa_dspy import ExaFindSimilarTool
similar = ExaFindSimilarTool(
num_results=5,
exclude_source_domain=False,
)
Authentication
Set your Exa API key via environment variable:
export EXA_API_KEY="your-api-key"
Or pass i
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11