Grok Research
Expert web research skill that uses Grok-compatible endpoints to perform deep searches and synthesize information with explicit source citations.
Quick Start
# Minimal working example
from spoon_ai.agents import SpoonReactSkill
agent = SpoonReactSkill(
name="researcher",
skill_paths=["./grok-research"],
scripts_enabled=True
)
await agent.activate_skill("grok-research")
result = await agent.execute("What is the current status of SpoonOS?")
Scripts
| Script | Purpose |
|--------|---------|
| grok_tool.py | Main tool for performing web research and synthesis. |
Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| GROK_API_KEY | Yes | Your Grok-compatible API key. |
| GROK_BASE_URL | Yes | The endpoint URL (OpenAI-compatible). |
| GROK_MODEL | No | Model to use (default: grok-2-latest). |
Best Practices
- Use specific queries for better search results.
- Provide context in the query if searching for niche technical topics.
- Review the
sourcesarray for deeper verification.