MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __init__

Method __init__

tutorials/13_multi_agent_coordination.py:343–348  ·  view source on GitHub ↗
(self, team_name: str, mailbox: FileMailbox)

Source from the content-addressed store, hash-verified

341 """
342
343 def __init__(self, team_name: str, mailbox: FileMailbox):
344 self.identity = AgentIdentity(
345 name="team-lead", team_name=team_name, role="leader"
346 )
347 self.mailbox = mailbox
348 self.workers: dict[str, Worker] = {}
349
350 def spawn_worker(self, name: str, executor=None) -> Worker:
351 """

Callers

nothing calls this directly

Calls 1

AgentIdentityClass · 0.85

Tested by

no test coverage detected