Open wenfengwang opened 6 months ago
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="...")