mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-10 03:31:28 -10:00
9 lines
346 B
Python
9 lines
346 B
Python
# praisonai: skip=true
|
|
from praisonaiagents import Agent, AgentTeam
|
|
from langchain_community.tools import BearlyInterpreterTool
|
|
|
|
coder_agent = Agent(instructions="""for i in range(0,10):
|
|
print(f'The number is {i}')""", tools=[BearlyInterpreterTool])
|
|
|
|
agents = AgentTeam(agents=[coder_agent])
|
|
agents.start() |