Robert Brennan e052c25572 Fix GitHub prompt (#5123) hace 1 año
..
micro e052c25572 Fix GitHub prompt (#5123) hace 1 año
prompts 07f0d1ccb3 feat(llm): convert function call request for non-funcall OSS model (#4711) hace 1 año
README.md e6847e9e61 Move agenthub within openhands (#4130) hace 1 año
__init__.py e6847e9e61 Move agenthub within openhands (#4130) hace 1 año
codeact_agent.py fac5237c69 Fix user commands in terminal with function calling (#4955) hace 1 año
function_calling.py 422104c877 fix #5111: add FunctionCallNotExistsError to handle cases where tool calling failed (#5113) hace 1 año

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