DEV Community

Cover image for Build Code-Action AI Agents with freeact
Christoph Stumpf
Christoph Stumpf

Posted on

1

Build Code-Action AI Agents with freeact

Hello! We just released 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, 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/

We'd love to hear your feedback!

See it in action:

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay