nrrso

nrrso

Hi everyone! :honeybee:

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:

Run in Livebook

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

https://github.com/nrrso/swarm_ex

Showing Posts 1 to 3

nulltree

nulltree

Nice, thanks for a cool contribution to the ecosystem - hope I find the time to check it out soon!

Btw I assume the second message is not you again, but a AI generated summary of your post of a newly registered user/bot? :smile:

nrrso

nrrso OP

Thanks! I think that elixir lends itself very well for certain ML use-cases, like in the case of LLM agents. Sadly because of lacking tooling in the ecosystem we have a chicken and egg problem right now. And as always in the elixir community, beginner friendly material that is up to date is rare as well.

I am planning to add additional livebook’s with some more complex examples that mirror some examples of the openai/swarm repo. Sadly a day has only 24 hours :slight_smile:

Yeah, second post is not from me. Just flagged it as Spam / Off-Topic.

nulltree

nulltree

Oh, absolutely! The actor model/message passing lends itself quite naturally to agents.

I experimented with a graph-based structure some weeks ago akin to LangGraph, it was fascinating how easy Elixir made it.

Will keep an eye on your lib :slight_smile:

— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
fuelen
Hi all! I want to present a small library which provides a mix task for generating an Entity-Relationship Diagram for Ecto schemas. You...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
sergio
It’s not that it’s vocabulary is too advanced. It’s something worse. I get lost trying to follow even a paragraph written by Claude. It’...
New
sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews