Skip to content
Agentmart
Submit a tool

Langchain.rb

Ruby library for LLM-powered apps with a unified LLM interface, prompt tools, output parsers, RAG and assistants.

Harness by Patterns AI

IndexedMIT★ 2,006
Write a review

Install

From the package registry. Read the repository before you give any tool access to your data.

gem install langchainrb

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Langchain.rb is a Ruby library for building LLM-powered applications, with use cases in retrieval augmented generation with vector search and chat assistants. Its LLM classes share one interface for embeddings, prompt completions and chat completions, so backends can be switched without changing application code. The README also lists prompt management, output parsers, evaluations and logging, and points to a separate gem for Rails integration.

Use cases: knowledge-base, model-inference

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Fact sheet

Languages
RubyREADME
Packages
langchainrb (gem)README
Model providers
anthropic, aws-bedrock, azure-openai, cohere, google, huggingface, mistral, ollama, openai, replicateREADME
Maturity
Betagithub.com

Facts extracted by Claude Haiku 5.5 from the linked sources on Oct 24, 2026. Wrong fact? Tell us.

Alternatives

Frameworks for the same language with a similar way of orchestrating agents.

Signals

Stars
2,006
Forks
268
Open issues
37
Last commit
Oct 21, 2026 (7 days ago)
Last release
May 1, 2025 (1 year ago)

From GitHub (fetched Oct 24, 2026).

Details

Packages
gem langchainrb
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

Langchain.rb. Agent Mart. https://agentmart.dev/harnesses/langchain-rb (last updated 2026-10-24)