Engel Nyst df23168c10 AgentDelegateAction: make delegate start with the task in execute tags, not the rest of the parent LLM response (#4327) 1 год назад
..
micro e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
README.md e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
__init__.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
action_parser.py df23168c10 AgentDelegateAction: make delegate start with the task in execute tags, not the rest of the parent LLM response (#4327) 1 год назад
codeact_agent.py e6847e9e61 Move agenthub within openhands (#4130) 1 год назад
system_prompt.j2 98b39023f4 Ask the agent not to push changes to GitHub (#4222) 1 год назад
user_prompt.j2 e6847e9e61 Move agenthub within openhands (#4130) 1 год назад

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