Cette page est affichée en anglais. Une traduction française est en cours.
WorkflowsMay 14, 2026·2 min de lecture

RubyLLM::Agents — Rails Engine for Production Agents

Rails engine for building and monitoring LLM agents with a DSL, retries/fallbacks, cost analytics, and a dashboard; verified 124★, pushed 2026-04-19.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 62/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Workflow
Installation
Gem|Rails
Confiance
Confiance : Established
Point d'entrée
rails generate ruby_llm_agents:install
Commande CLI universelle
npx tokrepo install a1d6b7ef-39c8-5431-8d8e-9b8f803d49bd
Introduction

Rails engine for building and monitoring LLM agents with a DSL, retries/fallbacks, cost analytics, and a dashboard; verified 124★, pushed 2026-04-19.

Best for: Rails teams who want agent observability (cost/tokens/duration/errors) baked into their app

Works with: Ruby 3.1+ / Rails 7.0+ and RubyLLM-supported providers (README lists OpenAI/Anthropic/Gemini, etc.)

Setup time: 20-45 minutes

Key facts (verified)

  • GitHub: 124 stars · 6 forks · pushed 2026-04-19.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: rails generate ruby_llm_agents:install.

Main

  • Keep agents as application code: define agents as classes with a DSL and treat them like any other Rails component (jobs/models/routes).

  • Use the built-in “doctor” task to validate provider keys and configuration before shipping the dashboard to prod.

  • Gate spend early: README highlights cost analytics and budget controls; set budgets per environment or tenant before onboarding users.

  • Use evaluation + alerts as your feedback loop: README lists evaluation and alerting features to keep quality measurable over time.

Source-backed notes

  • README Quick Start shows installing via Gemfile + rails generate ruby_llm_agents:install + rails db:migrate.
  • README shows verifying setup via rails ruby_llm_agents:doctor and generating a demo agent.
  • README lists requirements (Ruby >=3.1, Rails >=7.0) and highlights observability (cost/tokens/duration/errors).

FAQ

  • Do I need a database?: Yes — Quick Start includes rails db:migrate and the dashboard relies on persisted execution data.
  • Which providers are supported?: README states it works through RubyLLM and names OpenAI, Anthropic, Gemini, and others supported there.
  • How do I verify my install?: Run rails ruby_llm_agents:doctor as shown in README.
🙏

Source et remerciements

Source: https://github.com/adham90/ruby_llm-agents > License: MIT > GitHub stars: 124 · forks: 6

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires