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.

45
/ 100
Emerging

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.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

1,622

Forks

130

Language

Python

License

MIT

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.