Skip to main content

What This Example Shows

  • A focused single-agent build for a specialized domain (crypto quant analysis)
  • How to write a long, structured system_prompt that 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

The system_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.
See MCP Integration for a full walkthrough of MCP wiring and tool discovery.
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 the system_prompt and task to retarget: Everything else stays the same — same API, same response shape, same billing.