crewAI-tools icon indicating copy to clipboard operation
crewAI-tools copied to clipboard

adding python interpreter tool and documentation

Open antunsz opened this issue 1 year ago • 0 comments

This PR introduces the PythonREPLTool, a tool designed to execute Python commands dynamically within a CrewAI environment. The tool provides a Python shell where agents can run Python code snippets and see their output directly. Additionally, it includes functionality to check and install Python packages on the fly.

Features:

  • Execute arbitrary Python commands and capture their output.
  • Automatically handle exceptions and return error messages.
  • Check for the existence of Python packages and install them if necessary.

antunsz avatar May 21 '24 00:05 antunsz