How to build an AI agent: Finance Research Agent
Let's say you're creating a CLI agent that can plan investment strategies. You want your agent to be capable of answering questions about a company’s performance while also pulling in context from the web.
With the Dedalus SDK, this is straightforward. You can connect multiple MCP servers from our marketplace and route each request to the right tool. In this example, explanatory questions go to the Exa web-search server, while questions about a company’s financial standing go to a Yahoo Finance server.
GitHub repo: dedalus-labs/finance-research-agent
How we built this
The agent is built with the Dedalus runner and configured with mcp_servers=[...]. Dedalus acts as an MCP client: it connects to multiple MCP servers, discovers their tool schemas, and lets the model call them without having to customize integration code for each provider. It also hosts the servers, configuring MCP for you.
Dedalus’ streaming support lets the CLI to stream responses as the tools run. Unlike raw SSE streaming available in most SDKs, we provide semantic events: