Skip to main content

aspawn_sub_agent

AsyncMethod
This is a method of the AgentTeam class in the agents module.
Async version of spawn_sub_agent using asyncio primitives.

Signature

Parameters

Agent
required
No description available.
Any
required
No description available.
Optional
No description available.
Optional
No description available.

Returns

SpawnedSubAgent
The result of the operation.

Uses

  • asyncio.Lock
  • uuid.uuid4
  • EventBus
  • subscribe
  • SpawnedSubAgent
  • time.time
  • publish
  • agent.astart
  • aannounce_completion
  • logger.warning

Source

View on GitHub

praisonaiagents/agents/agents.py at line 3370

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents