Repository navigation
v0.1.0 — Initial release
ruby_llm_mesh 0.1.0
Initial release of unified multi-provider AI routing for Ruby and Rails.
Highlights
- Multi-provider routing — Call OpenAI, Anthropic, and OpenAI-compatible local nodes (Ollama, LM Studio, vLLM, etc.) through one DSL (
AiAgentRouter.complete/RubyLlmMesh.complete) - Circuit breaker & fallback — Per-provider circuits with configurable failure threshold and reset timeout; automatic fall-through across the provider ladder when a node fails or its circuit is open
- RAG helpers — Text chunker, bag-of-words embeddings for prototyping, and tool schema adapters for OpenAI-style tool definitions
acts_as_ai_agent— Optional ActiveRecord mixin for conversational memory, a simple semantic cache, and audit logging (Rails railtie loads only when Rails is present)- Docs site — Project documentation on GitHub Pages
- Trusted publishing — GitHub Actions workflow (
.github/workflows/push_gem.yml) for RubyGems OIDC trusted publishing onv*tags
Install
gem install ruby_llm_meshRubyGems: https://rubygems.org/gems/ruby_llm_mesh
Docs: https://theworker02.github.io/ruby_llm_mesh/
See CHANGELOG.md for the full list of changes.