Documentation·Agent runtime for .NET
Tools, sessions, streaming, subagents, hosting, and evals, as one runtime you own. Start with one agent definition and grow into the rest.
35 model providers5 chat platformsNative AOT
Runtime visibility
Your main agent hands work to subagents, and they call tools of their own. Every message, tool call, and approval from the whole tree streams into your app live, labeled with who did it.
How the stream worksMulti-agent workflows
Arrange agents into a workflow with routing, parallel work, review loops, and approval steps. Define it in code or YAML, or let one agent run the whole workflow as a single tool.
Build a workflowTool harnesses
A tool harness is one C# class that holds tools, skills, subagents, and the middleware that guards them. Every harness starts collapsed to a single line. Your agent activates the one a request needs, picks the right tool inside it, and collapses it again, so even large agents stay fast and focused.
Build a tool harnessModels and channels
Swap OpenAI for Anthropic, Bedrock, or a local model in one line. Then answer in Slack, Teams, WhatsApp, realtime voice, a terminal, or your own frontend. The agent and its events stay the same.
Voice
Voice activity and end-of-turn detection keep the conversation natural. Users can talk over it and it stops. Speech starts before the reply is finished, and every voice turn runs the same tools, approvals, and subagents, with the transcript saved to the thread.
Add voiceEvaluations
Run evals from xUnit, NUnit, or any test. Deterministic checks report policy violations your CI can fail on, LLM judges grade quality, red-team runs probe for injection and leaks, and live evaluation scores real runs after they answer.
Run your first evalWhat you can build
The runtime pieces around the model call, ready when your application needs them.
Connect MCP servers, OpenAPI operations, or tools that run inside your own client app.
Coding, filesystem, and web-search harnesses with process isolation around them.
History you can inspect, branch, and compact without losing the thread.
Permissions, retrieval, memory, usage tracking, and policy around the lifecycle.
Package instructions, reference files, and scripts as skills an agent loads only when a task needs them.
Streaming endpoints, stored agent definitions, and a TypeScript client.
The first 30 minutes
Go from a local console agent to tools, sessions, streaming, persistence, and hosting, one short page at a time.
Open Getting Started