An educational framework exploring ergonomic, lightweight multi-agent orchestration in Ruby. It is a port of Swarm created by Open AI.
gem install swarm-rbOr, if using Bundler, add this line to your application's Gemfile:
gem 'swarm-rb', git: 'https://github.com/openai/swarm-rb.git'And then execute:
bundle installCheck out /examples for inspiration!
basic: Simple examples of fundamentals like setup, function calling, handoffs, and context variables.
Everyone is welcome to contribute to this. This gem was created just because I wanted to use Open AI's swarm framework in Ruby. There is likly a ton of 🍌s code in this repo since I relied heavily on LLMs to create this gem in < 2 days.
It needs more testing, documentation clean up and expantion on the examples to parity the Open AI's Swarm library.