Freeact code action agent
Project description
freeact
General-purpose AI agent that acts via code actions through a unified execution interface.
Overview
Freeact is a lightweight, general-purpose agent that acts via code actions in a stateful execution environment provided by ipybox. A unified execution interface allows code actions to contain any combination of Python code, shell commands, and programmatic MCP tool calls, generated in one LLM inference pass.
For programmatic MCP tool calling ("code mode"), freeact generates typed Python APIs from MCP server schemas. The agent inspects generated APIs prior to execution and composes them within code actions based on available type information. Successful code actions can be saved as reusable tools, capturing agent experience as executable knowledge, optionally combined with agent skills.
Freeact supports tool discovery via agentic and semantic search, loading only task-relevant tool information into the context window. It can enforce application-level approval of code actions, shell commands, and programmatic tool calls, originating from both main agents and subagents. Freeact runs locally on your computer and is available as a CLI tool and Python SDK.
[!NOTE] Supported models: Freeact supports any model compatible with Pydantic AI. See Models for provider configuration and examples.
Documentation
- 📚 Documentation
- 🚀 Quickstart
- 🤖 llms.txt
- 🤖 llms-full.txt
Capabilities
| Capability | Description |
|---|---|
| Unified execution | Freeact agents act by executing Python code, shell commands, and programmatic MCP tool calls. These can be combined within a code action, generated in a single inference pass. |
| Action approval | Application-level approval of code actions, shell commands, and programmatic tool calls originating from both main agents and subagents. |
| MCP code mode | Freeact calls MCP server tools programmatically1) via generated Python APIs. This enables composition of tool calls and intermediate result processing in code actions, reducing LLM roundtrips. |
| Local execution | Freeact executes code and shell commands locally in an IPython kernel provided by ipybox. Data, configuration, and generated tools live in local workspaces. |
| Sandbox mode | IPython kernels optionally run in a sandbox environment based on Anthropic's sandbox-runtime, enforcing filesystem and network restrictions at OS level. |
| Tool discovery | Tools are discovered via category browsing or hybrid BM25/vector search. On-demand loading frees the context window and scales to larger tool libraries. |
| Subagent delegation | Tasks can be delegated to subagents, each using their own execution environment. This enables specialization and parallelization without cluttering the main agent's context. |
| Agent skills | agentskills.io-based skills add specialized knowledge and workflows, composing naturally with code actions and agent-authored tools. |
| Tool authoring | Agents can create new tools, enhance existing tools, and save code actions as reusable tools. This captures agent experiences as executable knowledge. |
| Session persistence | Freeact persists agent state incrementally. Persisted sessions can be resumed and serve as a record for debugging, evaluation, and improvement. |
Usage
| Component | Description |
|---|---|
| Agent SDK | Agent harness and Python API for building freeact applications. |
| CLI tool | Terminal interface for interactive conversations with a freeact agent. |
1) Freeact also supports MCP server integration via JSON tool calling, but the recommended approach is programmatic tool calling.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freeact-0.10.10.tar.gz.
File metadata
- Download URL: freeact-0.10.10.tar.gz
- Upload date:
- Size: 71.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a31785b5b78cf6698806f312f85d2f254e689cde023bd46d187595e66e58807
|
|
| MD5 |
89bb16c331d8b712e47f8b5d0fb991f0
|
|
| BLAKE2b-256 |
c70afa4201ae20d07d80c4ddfd5182b53987042066d5d28fa20a3c26ea135572
|
Provenance
The following attestation bundles were made for freeact-0.10.10.tar.gz:
Publisher:
release.yml on gradion-ai/freeact
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freeact-0.10.10.tar.gz -
Subject digest:
3a31785b5b78cf6698806f312f85d2f254e689cde023bd46d187595e66e58807 - Sigstore transparency entry: 1247526000
- Sigstore integration time:
-
Permalink:
gradion-ai/freeact@288a537271a011e879eb5c978f168db865348428 -
Branch / Tag:
refs/tags/0.10.10 - Owner: https://github.com/gradion-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@288a537271a011e879eb5c978f168db865348428 -
Trigger Event:
push
-
Statement type:
File details
Details for the file freeact-0.10.10-py3-none-any.whl.
File metadata
- Download URL: freeact-0.10.10-py3-none-any.whl
- Upload date:
- Size: 93.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63f9551a438d9b331a2aafef5c9ba5a6e7e1557ce803c2da4617eb6d43088e2d
|
|
| MD5 |
d0afeeac9563bad4a80f99775efffebf
|
|
| BLAKE2b-256 |
918157309418ee89be4957132890fce3515fbb167711bbd31bdbf81081f5df32
|
Provenance
The following attestation bundles were made for freeact-0.10.10-py3-none-any.whl:
Publisher:
release.yml on gradion-ai/freeact
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freeact-0.10.10-py3-none-any.whl -
Subject digest:
63f9551a438d9b331a2aafef5c9ba5a6e7e1557ce803c2da4617eb6d43088e2d - Sigstore transparency entry: 1247526036
- Sigstore integration time:
-
Permalink:
gradion-ai/freeact@288a537271a011e879eb5c978f168db865348428 -
Branch / Tag:
refs/tags/0.10.10 - Owner: https://github.com/gradion-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@288a537271a011e879eb5c978f168db865348428 -
Trigger Event:
push
-
Statement type: