Xingyao Wang 966da7b7c8 feat(agent, CodeAct 2.2): native CodeAct support for Browsing (#4667) 1 yıl önce
..
micro e6847e9e61 Move agenthub within openhands (#4130) 1 yıl önce
README.md e6847e9e61 Move agenthub within openhands (#4130) 1 yıl önce
__init__.py e6847e9e61 Move agenthub within openhands (#4130) 1 yıl önce
action_parser.py 6d19c93d19 [eval] add evaluation workflow (#4489) 1 yıl önce
codeact_agent.py 966da7b7c8 feat(agent, CodeAct 2.2): native CodeAct support for Browsing (#4667) 1 yıl önce
function_calling.py 966da7b7c8 feat(agent, CodeAct 2.2): native CodeAct support for Browsing (#4667) 1 yıl önce
system_prompt.j2 da548d308c [agent] LLM-based editing (#3985) 1 yıl önce
user_prompt.j2 da548d308c [agent] LLM-based editing (#3985) 1 yıl önce

README.md

CodeAct Agent Framework

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

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