by gradion-ai
Code action agent with local execution sandbox and first-class support for programmatic tool calling
# Add to your Claude Code skills
git clone https://github.com/gradion-ai/freeact[!NOTE] Next generation freeact
This is the next generation of freeact, a complete rewrite. Older versions are maintained on the 0.6.x branch and can be obtained with
pip install freeact<0.7.
Freeact is a lightweight, general-purpose agent that acts via code actions rather than JSON tool calls<sup>1)</sup>. It writes executable Python code that can call multiple tools programmatically, process intermediate results, and use loops and conditionals in a single pass, which would otherwise require many inference rounds with JSON tool calling.
Beyond executing tools, freeact can develop new tools from successful code actions, evolving its own tool library over time. Tools are defined via Python interfaces, progressively discovered and loaded from the agent's workspace<sup>2)</sup> rather than consuming context upfront. All execution happens locally in a secure sandbox via and .
Supported models: Freeact supports models compatible with Pydantic AI, with gemini-3-flash-preview as the current default.
Freeact provides a Python SDK for application integration, and a CLI tool for running the agent in a terminal.
Freeact combines the following elements into a coherent system:
| Feature | Description | |---------|-------------| | Programmatic tool calling | Agents call tools programmatically...