Skip to main content

Overview

The Jina Code Interpreter tool is a tool that allows you to execute various programming languages using the AI Agents.
pip install langchain-community rizaio
export RIZA_API_KEY=your_api_key_here
from praisonaiagents import Agent, PraisonAIAgents
from langchain_community.tools.riza.command import ExecPython

coder_agent = Agent(instructions="""word = "strawberry"
                                    count = word.count("r")
                                    print(f"There are {count}'R's in the word 'Strawberry'")""", tools=[ExecPython])

agents = PraisonAIAgents(agents=[coder_agent])
agents.start()