← Reference notes

Executable Code Actions Elicit Better LLM Agents

Executable Code Actions Elicit Better LLM Agents

Summary

CodeAct has agents act by writing executable Python code instead of JSON or a fixed text format. A Python interpreter runs the code, and the agent revises its next action based on what comes back. Across 17 LLMs, CodeAct had up to 20% higher success rates than the usual alternatives. The authors also release CodeActInstruct, a set of 7k interactions, and CodeActAgent.

Draft. License: CC BY 4.0 (this summary). Sources: [S1] arXiv, "Executable Code Actions Elicit Better LLM Agents" (CC BY 4.0).

When to apply

Paper

Related

Facts

Caveats

Pointers

Source: https://arxiv.org/abs/2402.01030 · License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted), condensed and paraphrased; sources: Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, Heng Ji, \"Executable Code Actions Elicit Better LLM Agents\", arXiv:2402.01030 (CC BY 4.0)

Cite this

Permanent ID: iil:note:avkd90nn

iinventedlight Library. 2026. "Executable Code Actions Elicit Better LLM Agents." iinventedlight Library, iil:note:avkd90nn, version of 2026-11-02. https://iinventedlight.com/library/reference/arxiv/2402-01030-codeact/. License: CC-BY-4.0. Summary of https://arxiv.org/abs/2402.01030.

@misc{iil_note_avkd90nn,
  author = {{iinventedlight Library}},
  title = {{Executable Code Actions Elicit Better LLM Agents}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-02},
  url = {https://iinventedlight.com/library/reference/arxiv/2402-01030-codeact/},
  note = {Permanent ID iil:note:avkd90nn. License: CC-BY-4.0. Summary of https://arxiv.org/abs/2402.01030.},
}

For language models and agents: start at /llms.txt. This page in Markdown: /library/reference/arxiv/2402-01030-codeact.md.