{"by":"cstub","descendants":5,"id":42657253,"kids":[42664630,42658410,42657909],"score":122,"text":"Hello! We just released freeact (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;gradion-ai&#x2F;freeact\">https:&#x2F;&#x2F;github.com&#x2F;gradion-ai&#x2F;freeact</a>), a lightweight agent library that empowers language models to act as autonomous agents through executable code actions.<p>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.<p>* Supports dynamic installation and utilization of Python packages at runtime<p>* Agents learn from feedback and store successful code actions as reusable skills in long-term memory<p>* Skills can be interactively developed and refined in collaboration with freeact agents<p>* Agents compose skills and any other Python modules to build increasingly sophisticated capabilities<p>* Code actions are executed in ipybox (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;gradion-ai&#x2F;ipybox\">https:&#x2F;&#x2F;github.com&#x2F;gradion-ai&#x2F;ipybox</a>), a secure Docker + IPython sandbox that runs locally or remotely<p>GitHub repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;gradion-ai&#x2F;freeact\">https:&#x2F;&#x2F;github.com&#x2F;gradion-ai&#x2F;freeact</a><p>Evaluation: <a href=\"https:&#x2F;&#x2F;gradion-ai.github.io&#x2F;freeact&#x2F;evaluation&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;gradion-ai.github.io&#x2F;freeact&#x2F;evaluation&#x2F;</a><p>See it in action: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;user-attachments&#x2F;assets&#x2F;83cec179-54dc-456c-b647-ea98ec99600b\">https:&#x2F;&#x2F;github.com&#x2F;user-attachments&#x2F;assets&#x2F;83cec179-54dc-456...</a><p>We&#x27;d love to hear your feedback!","time":1736527442,"title":"Show HN: Freeact – A Lightweight Library for Code-Action Based Agents","type":"story","url":"https://github.com/gradion-ai/freeact"}