What This Example Shows
- A focused single-agent build for a specialized domain (crypto quant analysis)
- How to write a long, structured
system_promptthat constrains output to quantitative reasoning - How to wire the agent up to live market data via MCP (optional)
This is the same pattern as the Single Agent Overview, specialized for crypto. The same shape extends to any analyst domain — credit risk, equity research, intelligence triage, claims review.
Step 1: Setup
Step 2: Define the Agent
Thesystem_prompt is where domain expertise lives. Be specific about responsibilities and the kind of reasoning you want.
Step 3: Run It
Adding Live Market Data via MCP
To give the agent access to real-time market data, attach an MCP server URL. Any OKX/Binance/CoinGecko MCP server works as long as it exposes the right tools.The
temperature: 0.3 setting is intentional. Analytical and quantitative agents benefit from low-temperature outputs — they should be consistent and deterministic. Creative agents (copywriters, ideators) want higher temperatures. Pick the temperature to match the kind of reasoning you need, not the difficulty of the task.Build Your Own Domain Agent
Replace thesystem_prompt and task to retarget:
| Domain | system_prompt focus | Suggested temperature |
|---|---|---|
| Credit risk | Default probability, debt service ratios, covenant analysis | 0.2 |
| Equity research | DCF, multiples, peer comp, catalysts | 0.3 |
| Threat intel triage | IOCs, attribution, severity scoring | 0.2 |
| Claims review | Coverage match, fraud signals, payout calc | 0.2 |
| Marketing copy | Tone, hook, CTA variants | 0.8 |