Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.1 KB

File metadata and controls

24 lines (14 loc) · 1.1 KB

🧠 Main Agent and Capabilities

CodeActAgent

Description

This agent implements the CodeAct idea (paper, tweet) that consolidates LLM agents’ actions into a unified code action space for both simplicity and performance.

The conceptual idea is illustrated below. At each turn, the agent can:

  1. Converse: Communicate with humans in natural language to ask for clarification, confirmation, etc.
  2. CodeAct: Choose to perform the task by executing code
  • Execute any valid Linux bash command
  • Execute any valid Python code with an interactive Python interpreter. This is simulated through bash command, see plugin system below for more details.

image

Demo

od-demo-linear-regression.mp4

Example of CodeActAgent with gpt-4-turbo-2024-04-09 performing a data science task (linear regression).