Skip to content

Multi-Agent Teams Tutorial

Learn how to create and manage teams of OpenSIN agents.

Step 1: Create Individual Agents

bash
opensin agent create researcher --model gpt-4
opensin agent create writer --model gpt-4
opensin agent create reviewer --model gpt-4

Step 2: Create a Team

bash
opensin team create research-team \
  --agents researcher,writer,reviewer \
  --strategy sequential

Step 3: Execute Team Tasks

bash
opensin team exec research-team \
  --task "Research AI trends, write a comprehensive report, and review it for accuracy"

Team Strategies

StrategyDescriptionUse Case
sequentialAgents work one after anotherPipeline workflows
parallelAgents work simultaneouslyIndependent tasks
consensusAgents vote on outcomesDecision making
leaderOne agent coordinates othersComplex coordination
pipelineOutput of one feeds input of nextData processing

Next Steps

Released under the Apache 2.0 License.