Hi everyone!
I’m excited to introduce SwarmEx — a lightweight, Elixir-based library designed for orchestrating AI agents with control, flexibility, and ease. Inspired by OpenAI’s Swarm Python library, SwarmEx provides core tools to help developers create, coordinate, and manage AI agent networks.
Why SwarmEx?
SwarmEx was built to make agent orchestration in Elixir not just effective but enjoyable. Whether you’re managing complex workflows, handling specialized agents, or developing autonomous systems, SwarmEx gives you a straightforward framework with:
- Seamless tool integration for custom tasks
- Observability through built-in telemetry (WIP)
- Robust error handling for dependable fault tolerance (WIP)
- A streamlined developer experience
SwarmEx isn’t a one-to-one implementation of the OpenAI Swarm library but is inspired by its core ideas.
Getting Started
Installing SwarmEx is as easy as adding it to your mix.exs
dependencies:
def deps do
[
{:swarm_ex, "~> 0.1.0"}
]
end
For a practical introduction, check out the following Livebook, where you can explore how to set up and interact with agents in real time:
Documentation & Feedback
Full documentation is available on Hexdocs. I would love to hear your feedback, ideas, or use cases! Feel free to open issues, submit PRs, or simply reach out.
Please keep in mind: SwarmEx is in alpha and rough around the edges but already usable.
Thanks, and looking forward to your feedback and ideas,
Norris