计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
exa-install-auth【效率与协作】Install and configure Exa SDK/CLI authentication. Use when setting up a new Exa integration, configuring API keys, or initializing Exa in your project. Trigger with phrases like "install exa", "setup exa", "exa auth", "configure exa API key".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Set up Exa SDK/CLI and configure authentication credentials.
# Node.js
npm install @exa/sdk
# Python
pip install exa
# Set environment variable
export EXA_API_KEY="your-api-key"
# Or create .env file
echo 'EXA_API_KEY=your-api-key' >> .env
// Test connection code here
| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in Exa dashboard |
| Rate Limited | Exceeded quota | Check quota at https://docs.exa.com |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
import { ExaClient } from '@exa/sdk';
const client = new ExaClient({
apiKey: process.env.EXA_API_KEY,
});
from exa import ExaClient
client = ExaClient(
api_key=os.environ.get('EXA_API_KEY')
)
After successful auth, proceed to exa-hello-world for your first API call.