Install
$ agentstack add skill-ejirocodes-agent-skills-exa-research ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Exa Research & Answer API
Quick Reference
| Topic | When to Use | Reference | |-------|-------------|-----------| | Answer API | Q&A with citations, grounded responses | [answer-api.md](references/answer-api.md) | | Deep Search | Smart query expansion, high-quality summaries | [deep-search.md](references/deep-search.md) | | Citations | Source attribution, verification | [citations.md](references/citations.md) |
Essential Patterns
Answer API (Python)
from exa_py import Exa
exa = Exa()
response = exa.answer(
"What are the key features of Python 3.12?",
text=True
)
print(response.answer)
for citation in response.citations:
print(f"Source: {citation.url}")
Streaming Answers
stream = exa.answer(
"Explain the benefits of microservices architecture",
stream=True
)
for chunk in stream:
print(chunk.text, end="", flush=True)
# Access citations after streaming
print("\nSources:", stream.citations)
Deep Search with Summaries
results = exa.search_and_contents(
"latest developments in quantum computing",
type="neural",
num_results=10,
summary=True,
use_autoprompt=True # Smart query expansion
)
for result in results.results:
print(f"{result.title}")
print(f"Summary: {result.summary}")
When to Use
| Feature | Use Case | Output | |---------|----------|--------| | Answer API | Direct Q&A needing citations | Answer + source URLs | | Deep Search | Query expansion + summaries | Enhanced search results | | Exa Research | Long-form async reports | Structured JSON/Markdown |
Common Mistakes
- Not using streaming for long answers - Use
stream=Truefor better UX on complex questions - Ignoring citations - Always include
response.citationsfor verifiable responses - Missing
text=True- Answer API needs content access; includetext=True - Over-complex queries - Answer API works best with clear, focused questions
- Not validating citations - Check
citation.urlexists before displaying to users
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ejirocodes
- Source: ejirocodes/agent-skills
- License: MIT
- Homepage: https://skills.sh/ejirocodes/agent-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.