Skip to content
tnsaiDocs
GitHub

Multi-agent

tnsai-coordination runs several agents on one task: group topologies, workflows, messaging, delegation, supervision and decision patterns such as councils, debates and judges. Auto team is in tnsai-intelligence. If you are not sure which shape fits, read Group topologies and then Topology selection.

PageCovers
Group topologiesThe eight group shapes and their builders
Topology selectionWhich topology, protocol or solver to pick, and when team, hierarchy or pipeline is a trap
WorkflowsDAGs, pipelines, sagas, branches, loops and execution plans
Fan-out and agent poolsSending one task to several agents and pooling workers
Handoffs, streams and choreographyPassing work and context from one agent to the next
Shared state and trustThe shared blackboard, trust scores and trust-based routing
Supervision and safeguardsSupervisors, restarts and limits on a running group
Recursive task solverSplitting a task into a tree of verified sub-tasks
Council and votingCouncils, voting strategies and decisions
Debate and peer reviewAgents arguing positions and reviewing each other
JudgeA quality gate that approves, retries or rejects one agent's output
NegotiationContract-net, auctions and bargaining
Auto teamAn LLM that composes a group for a task
MessagingAgent-to-agent messages, routing and delivery
ProtocolsPerformatives, conversation protocols and transports