CodeAct
Executable Code Actions Elicit Better LLM Agents
LandmarkTool useFirst posted 2024-02-01
CodeAct (Wang et al., arXiv:2402.01030, 2024-02-01) unified an agent's actions as executable Python and reported up to 20% higher success rate than JSON- or text-formatted action baselines, across an analysis of 17 LLMs.
Key facts
| First posted | 2024-02-01 |
|---|---|
| Latest revision | 2024-06-07 |
| Authors | Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, Heng Ji |
| arXiv | 2402.01030 |
Why it matters
It is why "code as actions" has largely displaced fixed tool schemas in coding and data agents.
FAQ
What did CodeAct introduce?
Replaces JSON or fixed-format action strings with executable Python, so an agent can compose tools and revise its own earlier actions.
Why does CodeAct matter?
It is why "code as actions" has largely displaced fixed tool schemas in coding and data agents.
When was CodeAct published?
First posted to arXiv on 2024-02-01; latest revision 2024-06-07.