CodeInterpreterTool은 안전하고 격리된 환경에서 Python 3 코드를 실행하도록 설계된 강력한 도구이다.
CodeInterpreterTool
crewai_tools
pip install 'crewai[tools]'
from crewai import Agent from crewai_tools import CodeInterpreterTool Agent( ... tools=[CodeInterpreterTool()], )
from crewai import Agent agent = Agent( ... allow_code_execution=True, )