mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-12 18:47:44 -10:00
8 lines
335 B
Python
8 lines
335 B
Python
from praisonaiagents import Agent, PraisonAIAgents
|
|
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 = PraisonAIAgents(agents=[coder_agent])
|
|
agents.start() |