#884 · Primary category: AI Agents & Automation

code-act

llm llm-agent llm-finetuning llm-framework

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.

Project last updated:05/23/24

GitHub Stars

1.7K

Forks

146

Contributors

3

License

MIT

Why we included this project

CodeAct comes from an ICML 2024 paper with a straightforward premise: let the LLM agent act by writing and running real Python code instead of emitting text or JSON. The agent executes its code in an interpreter, reads the results, and revises its next move in a loop, which is the core pattern anyone building tool-using or automation agents would want to borrow. The repo backs the idea with everything needed to try it: the CodeActInstruct tuning dataset, a fine-tuned Mistral-7B agent, serving setups for ollama, llama.cpp, and Kubernetes, and a live chat demo where you can watch multi-turn behavior before committing. Benchmark comparisons in the paper show code actions beating text and JSON action spaces by up to 20 percent, giving teams a concrete reason to consider this over structured output.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category