mcpField
E
exa-research

exa-research

github.com/ejirocodes生産性6244 回インストール18 週間前に更新
リポジトリ

exa-research について

exa-researchは、ExaのAnswer API、Deep Search、リサーチ機能を扱うスキルです。引用付き回答や検索結果の拡張、長文レポートを作成する開発者向けです。

主な機能

  1. 01出典URL付きの回答
  2. 02回答のストリーミング出力
  3. 03クエリ拡張を伴うDeep Search
  4. 04長文リサーチレポートの生成

活用シーン

  1. 01検証可能な出典を添えた質問回答
  2. 02長い回答のストリーミング表示
  3. 03最新動向の検索と要約

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/ejirocodes/agent-skills --skill exa-research

インストール後、Claude Code で/exa-researchを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
answer-api.md
citations.md
deep-search.md

詳細

Exa リサーチ&回答 API

クイックリファレンス

トピック使用する場面リファレンス
Answer API引用付きのQ&A、根拠に基づく回答answer-api.md
Deep Searchスマートなクエリ拡張、高品質な要約deep-search.md
引用出典の明示、検証citations.md

基本パターン

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}")
ストリーミング回答
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
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}")

使用する場面

機能使用例出力
Answer API引用が必要な直接的なQ&A回答+出典URL
Deep Searchクエリ拡張+要約強化された検索結果
Exa Research非同期の長文レポート構造化されたJSON/Markdown

よくある間違い

  1. 長い回答でストリーミングを使用しない - 複雑な質問でユーザー体験を向上させるには、stream=Trueを使用します
  2. 引用を無視する - 検証可能な回答にするため、必ずresponse.citationsを含めます
  3. text=Trueを指定し忘れる - Answer APIはコンテンツへのアクセスが必要です。text=Trueを含めます
  4. クエリが複雑すぎる - Answer APIは明確で焦点を絞った質問に最適です
  5. 引用を検証しない - ユーザーに表示する前に、citation.urlが存在することを確認します

コメント