AI development/GitHub/Framework

llm

by r-uby-dev·Last observed 2026-10-27
★ 144 stars⑂ 16 forks

llm.rb is a CRuby runtime for agentic AI applications, with one API spanning multiple providers. Its Agent manages tool calls, reports tool errors back to the model, and can save conversation state for later resumption.

Useful for

  • Use an MCP server backed by Git to expose code-analysis tools to an agent, then ask it to summarize recent repository activity.

Key features

  • Run tools concurrently or in parallel, and report tool exceptions to the model so it can retry or change course.
  • Connect to MCP servers over HTTP(S) or stdio and expose their announced tools as LLM::Tool subclasses.
  • Serialize agent and context state to JSON or a file, then restore an agent and continue its conversation.

Requirements & limitations

  • The v17 series requires Ruby 3.4 or later; the v18 series is unreleased and requires Ruby 4.0 or later.

Project information

CategoryAI development
TypeFramework
Author / organizationr-uby-dev
LicenseMIT
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote