xingyaoww/code-act
Official Repo for ICML 2024 paper "Executable Code Actions Elicit Better LLM Agents" by Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, Heng Ji.
Consolidates agent actions into executable Python code executed through an embedded interpreter, enabling dynamic multi-turn reasoning where agents revise prior actions based on code execution results. Provides CodeActInstruct, a 7k multi-turn instruction dataset, and CodeActAgent models (Mistral/Llama-7b variants) trained for tool-use tasks while maintaining general capabilities. Supports multiple deployment architectures including vLLM/OpenAI-compatible APIs, llama.cpp for edge inference, and Kubernetes orchestration with containerized code execution.
1,622 stars. No commits in the last 6 months.
Stars
1,622
Forks
130
Language
Python
License
MIT
Category
Last pushed
May 23, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/xingyaoww/code-act"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
langfengQ/verl-agent
verl-agent is an extension of veRL, designed for training LLM/VLM agents via RL. verl-agent is...
sotopia-lab/sotopia
Sotopia: an Open-ended Social Learning Environment (ICLR 2024 spotlight)
zhudotexe/redel
ReDel is a toolkit for researchers and developers to build, iterate on, and analyze recursive...
TIGER-AI-Lab/verl-tool
A version of verl to support diverse tool use
AMAP-ML/Tree-GRPO
[ICLR 2026] Tree Search for LLM Agent Reinforcement Learning