Chain agents in sequence. Each output becomes the next input.
Coordinate AI agents into production workflows.
Compose specialized agents into pipelines, parallel fan-outs, routers, and supervisor hierarchies. Each agent reasons independently while the orchestrator manages handoffs, aggregation, and convergence. All inference runs entirely on-device with full data privacy.
Run agents concurrently, then merge all results.
Classify intent and dispatch to the best specialist.
Lead agent delegates, aggregates, and decides next steps.
User goal → Orchestrator → Agent A + Agent B → Result
Four patterns. Every workflow.
Each pattern solves a different coordination challenge. Pick the one that matches your task shape, or combine them for complex multi-step workflows.
PipelineOrchestrator
Chain agents in strict sequence. Each agent's output automatically becomes the next agent's input. Ideal for tasks where each step builds on the previous result.
- Content creation: research, write, then edit
- Data pipelines: extract, transform, load
- Document processing: parse, summarize, translate
ParallelOrchestrator
Run multiple agents concurrently and merge their results. Every agent sees the same input and works in parallel, reducing total latency to the slowest agent.
- Multi-perspective document review
- Ensemble analysis for higher accuracy
- Concurrent data extraction from multiple sources
RouterOrchestrator
Classify the user's intent and dispatch to the most appropriate specialist agent. Only one agent handles each request, keeping responses focused and efficient.
- Helpdesk triage across specialist domains
- Multi-model routing by task complexity
- Cost optimization: small model for simple tasks, large model for complex
SupervisorOrchestrator
A lead agent dynamically delegates tasks to workers, aggregates responses, and decides next steps. The supervisor reasons about which worker to call and when the task is complete.
- Complex research with iterative sub-tasks
- Project management with dynamic task allocation
- Multi-step reasoning that adapts based on intermediate results
Choose the right orchestration pattern.
Match your task shape to the correct pattern. When in doubt, start with Pipeline for sequential work or Parallel for independent analysis.
| If your task needs... | Use | Example | Agents run |
|---|---|---|---|
| Steps executed in strict order, each building on the last | Pipeline | Research → Draft → Edit → Publish | Sequentially |
| Multiple independent perspectives on the same input | Parallel | Tech review + Legal review + Security audit | Concurrently |
| Intent classification to dispatch to the right specialist | Router | Helpdesk: billing vs. tech support vs. sales | One at a time |
| Dynamic delegation with a lead agent deciding next steps | Supervisor | Research project: gather, analyze, then write report | On demand |
Key API classes.
The core classes that power multi-agent workflows. Every orchestrator builds on the Agent class and its builder pattern.
Class
Agent
Core agent class with system prompt, tools, memory, and execution capabilities.
View APIClass
AgentBuilder
Fluent builder for configuring agents with names, prompts, tools, and memory.
View APIClass
PipelineOrchestrator
Sequential agent chaining where each output flows into the next agent.
View APIClass
ParallelOrchestrator
Concurrent execution of multiple agents with result aggregation.
View APIClass
RouterOrchestrator
Intent-based routing that dispatches to the best specialist agent.
View APIClass
SupervisorOrchestrator
Lead agent dynamically delegates to workers and aggregates results.
View APIClass
AgentRegistry
Central registry for discovering and managing available agents.
View APIClass
AgentMemory
Persistent memory for agents to recall context across sessions.
View APIClass
AgentExecutor
Execution engine that runs agents with tool calling, retries, and tracing.
View APIRun multi-agent demos locally.
Each demo is a standalone console app you can run on your machine. Clone the repo, pick a model, and see orchestration in action.
Supervisor
Research assistant
A supervisor agent that delegates research, analysis, and writing tasks to specialized workers using ReAct planning.
View demoParallel
Multi-agent document review
Three reviewers (technical, business, security) analyze a document concurrently and merge their findings.
View demoPipeline
Content creation pipeline
A sequential pipeline that chains researcher, writer, and editor agents to produce polished content.
View demoRouter
Smart task router
Classifies user intent and routes each request to the most appropriate specialist agent automatically.
View demoMemory
Persistent memory assistant
An agent that retains context across sessions using long-term memory and RAG-based recall.
View demoAgent
News monitoring agent
A single agent equipped with web search tools that monitors, filters, and summarizes news topics.
View demoStep-by-step guides.
Hands-on tutorials that walk you through building, deploying, and monitoring multi-agent systems.
Key concepts.
Core terminology for understanding multi-agent architectures. Each term links to a detailed explanation.
Beyond the four patterns.
Pipeline, Parallel, Router, Supervisor cover most workflows. The capabilities below extend them with arbitrary shapes, hand-off semantics, real-time progress, and production-grade reliability.
Graph orchestration
When the four patterns are not enough. Compose Sequential, Parallel, Conditional, and Agent nodes into arbitrary shapes with thread-safe context.
Agent delegation
Programmatic DelegationManager for explicit routing, plus model-driven hand-off in SupervisorOrchestrator via delegate_to_agent.
Agent templates
Eighteen pre-built specialised agents make natural workers in any orchestration: Classifier, Reviewer, Extractor, Editor, and more.
Streaming
Every orchestrator streams. Delegation tokens identify which worker is producing output. Build live multi-agent UIs.
Resilience
Wrap any orchestrator in retries, timeouts, fallbacks, and bulkheads. One slow worker should not stop the whole crew.
Observability
Each agent, each delegation, each plan step emits a span with parent/child relationships. See the whole workflow in one trace.
Build it. Read it. Try it.
Working console demos on GitHub, step-by-step how-to guides on the docs site, and the API reference for the classes used on this page.
Multi-agent document review
Agent demo: parallel multi-perspective document analysis.
Open on GitHub → DemoContent creation pipeline
Agent demo: sequential pipeline (writer + editor + summarizer).
Open on GitHub → How-to guideBuild a multi-agent workflow
Patterns: parallel, sequential, supervisor.
Read the guide →Build your first multi-agent workflow.
Install LM-Kit.NET, pick an orchestration pattern, and have agents collaborating in minutes. No cloud keys, no API costs, no data leaving your machine.