Loading...
Loading...
Exa AI-native semantic search via Composio API. Use when: (1) Searching the web with natural language queries (2) Getting citation-backed answers to research questions (3) Finding pages similar to a given URL (4) Retrieving full content from search results Exa understands meaning - queries don't need exact keyword matches.
npx skill4agent add prashaantr/teach-claude-something-new composio-exaCOMPOSIO_API_KEY # API key
COMPOSIO_USER_ID # Entity ID (required for all requests)
COMPOSIO_CONNECTIONS # JSON with .exa connection IDCONNECTION_ID=$(echo $COMPOSIO_CONNECTIONS | jq -r '.exa')
curl -s "https://backend.composio.dev/api/v3/tools/execute/ACTION_NAME" \
-H "x-api-key: $COMPOSIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {}
}' | jq '.data'# Semantic search
curl -s "https://backend.composio.dev/api/v3/tools/execute/EXA_SEARCH" \
-H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {
"query": "best practices for building AI agents",
"numResults": 10,
"type": "auto"
}
}' | jq
# Get citation-backed answer
curl -s "https://backend.composio.dev/api/v3/tools/execute/EXA_ANSWER" \
-H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {
"query": "What are the key differences between RAG and fine-tuning?"
}
}' | jq| Instead of | Try |
|---|---|
| |
| |
| |
curl -s "https://backend.composio.dev/api/v2/actions?apps=exa" \
-H "x-api-key: $COMPOSIO_API_KEY" | jq '.items[] | {name, description}'