Skip to main content

Overview

The Bearly Code Interpreter tool is a tool that allows you to execute various programming languages using the AI Agents.
pip install langchain-community
export BEARLY_API_KEY=your_api_key_here
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()