HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
gradion-ai
freeact
Python2025–2025
gradion-ai / freeact

freeact

General-purpose AI agent that acts via code actions through a unified execution interface.

2Distinct people
3Mentions
0Explicit recommenders
131GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

General-purpose AI agent that acts via code actions through a unified execution interface.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day3 dated mentions

Observed mentions: 2025-01-10 16:44:02 UTC to 2025-01-29 12:46:01 UTC.

012025-01-10 00:00:00 UTC to 2025-01-11 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJan 102025-01-11 00:00:00 UTC to 2025-01-12 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-12 00:00:00 UTC to 2025-01-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-13 00:00:00 UTC to 2025-01-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-14 00:00:00 UTC to 2025-01-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-15 00:00:00 UTC to 2025-01-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-16 00:00:00 UTC to 2025-01-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-17 00:00:00 UTC to 2025-01-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-18 00:00:00 UTC to 2025-01-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-19 00:00:00 UTC to 2025-01-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 192025-01-20 00:00:00 UTC to 2025-01-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-21 00:00:00 UTC to 2025-01-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-22 00:00:00 UTC to 2025-01-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-23 00:00:00 UTC to 2025-01-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-24 00:00:00 UTC to 2025-01-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-25 00:00:00 UTC to 2025-01-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-26 00:00:00 UTC to 2025-01-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 00:00:00 UTC to 2025-01-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 00:00:00 UTC to 2025-01-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 00:00:00 UTC to 2025-01-30 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJan 29

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jan 102025-01-10 00:00:00 UTC2025-01-11 00:00:00 UTC110
Jan 112025-01-11 00:00:00 UTC2025-01-12 00:00:00 UTC101
Jan 122025-01-12 00:00:00 UTC2025-01-13 00:00:00 UTC000
Jan 132025-01-13 00:00:00 UTC2025-01-14 00:00:00 UTC000
Jan 142025-01-14 00:00:00 UTC2025-01-15 00:00:00 UTC000
Jan 152025-01-15 00:00:00 UTC2025-01-16 00:00:00 UTC000
Jan 162025-01-16 00:00:00 UTC2025-01-17 00:00:00 UTC000
Jan 172025-01-17 00:00:00 UTC2025-01-18 00:00:00 UTC000
Jan 182025-01-18 00:00:00 UTC2025-01-19 00:00:00 UTC000
Jan 192025-01-19 00:00:00 UTC2025-01-20 00:00:00 UTC000
Jan 202025-01-20 00:00:00 UTC2025-01-21 00:00:00 UTC000
Jan 212025-01-21 00:00:00 UTC2025-01-22 00:00:00 UTC000
Jan 222025-01-22 00:00:00 UTC2025-01-23 00:00:00 UTC000
Jan 232025-01-23 00:00:00 UTC2025-01-24 00:00:00 UTC000
Jan 242025-01-24 00:00:00 UTC2025-01-25 00:00:00 UTC000
Jan 252025-01-25 00:00:00 UTC2025-01-26 00:00:00 UTC000
Jan 262025-01-26 00:00:00 UTC2025-01-27 00:00:00 UTC000
Jan 272025-01-27 00:00:00 UTC2025-01-28 00:00:00 UTC000
Jan 282025-01-28 00:00:00 UTC2025-01-29 00:00:00 UTC000
Jan 292025-01-29 00:00:00 UTC2025-01-30 00:00:00 UTC110

What Hacker News says

3 sources
krasserm·Jan 29, 2025Submission

Show HN: Gemini 2 with unrestricted code execution

I recently experimented using Gemini 2 Flash and Gemini 2 Flash Thinking with unrestricted code execution in a local sandbox and open sourced the results: https://github.com/gradion-ai/freeact. Here's an example that uses Gemini 2 Flash Thinking as agent that acts via code, executed in a sandbox based on IPython and Docker: https://gist.github.com/krasserm/dcdae47f85ee9922e3284953d07... Gemini's code execution environment is restricted to selected Python libraries like NumPy or SymPy and prevents the model from installing new packages, besides other limitations. While this may be useful for agentic applications in restricted environments, it may prevent agents from adapting to new environments, especially agents that write their actions in code (see CodeAct paper https://arxiv.org/abs/2402.01030). Has anyone else experimented with Gemini
Read the rest
2 as a CodeAct agent? I'd be particularly interested in hearing about approaches to unrestricted code execution.
22 points · Open discussion
The main example lies in our core architecture, which uses just three fundamental abstractions: a code executor, a model, and the agent itself (see https://github.com/gradion-ai/freeact/blob/main/freeact/exam...). All actions are expressed through executable Python code (that you can easily inspect) rather than through multiple abstraction layers. While other libraries or frameworks may offer convenience through extensive abstractions, this often creates black boxes that complicate debugging and customization when you go beyond standard use cases. For example, when you need to trace what prompts are being sent to the LLM or how tool outputs are being processed, multiple layers of abstraction can make this difficult to inspect. With our approach you can easily trace the flow from agent decision to code execution. HTH!
In Show HN: Freeact – A Lightweight Library for Code-Action Based Agents
cstub·Jan 10, 2025Submission

Show HN: Freeact – A Lightweight Library for Code-Action Based Agents

Hello! We just released freeact (https://github.com/gradion-ai/freeact), a lightweight agent library that empowers language models to act as autonomous agents through executable code actions. By enabling agents to express their actions directly in code rather than through constrained formats like JSON, freeact provides a flexible and powerful approach to solving complex, open-ended problems that require dynamic solution paths. * Supports dynamic installation and utilization of Python packages at runtime * Agents learn from feedback and store successful code actions as reusable skills in long-term memory * Skills can be interactively developed and refined in collaboration with freeact agents * Agents compose skills and any other Python modules to build increasingly sophisticated capabilities * Code actions are executed in ipybox (https://g
Read the rest
ithub.com/gradion-ai/ipybox), a secure Docker + IPython sandbox that runs locally or remotely GitHub repo: https://github.com/gradion-ai/freeact Evaluation: https://gradion-ai.github.io/freeact/evaluation/ See it in action: https://github.com/user-attachments/assets/83cec179-54dc-456... We'd love to hear your feedback!
122 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.