Skip to content

Multiagents collaboration #42

@wenfengwang

Description

@wenfengwang
from npiai.core import Agent
 
agent1 = Agent(prompt="...")
agent1.use(Gmail(), Calendar())
 
agent2 = Agent(prompt="...")
agent2.use(GitHub())
 
agent3 = Agent.group(agent1, agent2)
agent3.run(task="...")

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions