Show HN: Freeact – A Lightweight Library for Code-Action Based Agents
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://github.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!