patterns-ai-core/langchainrb
Build LLM-powered applications in Ruby observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 99
- Release rhythm 40
- Longevity 88
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 8.0
- age_days: 1233
- days_rel: 489
- days_push: 7
- n_releases_24m: 13
Adoption not part of the score
1991 stars · 264 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Langchain.rb is a Ruby library for building LLM-powered applications, providing a unified interface to many LLM providers (OpenAI, Anthropic, Gemini, Ollama, etc.) for embeddings, completions, and chat. It also supports prompt management, output parsers, RAG/vector search, assistants, and LLM evaluations.
Use cases
- build llm apps in ruby
- add rag and vector search to a ruby app
- create chatbot assistants in ruby
- switch between llm providers without changing code
- generate embeddings for text in ruby
- run llm evals
- integrate llms with rails
When to choose
- your stack is Ruby or Rails and you need LLM integration
- you want one API across multiple LLM providers
- you need RAG, assistants, or prompt management in Ruby
When to avoid
- you work in Python/JS where the main LangChain ecosystem is richer
- you need features not covered by the gem's modules
- you want a framework-agnostic raw API client only
Facets
library · maturity active
llm-inference rag agent-framework chatbot prompt-engineering sdk large-language-models artificial-intelligence chatbots developer-tools ruby jvm langchain embeddings vector-search llm-providers rails assistants evals ai-agents retrieval-augmented-generation
2 sources
- readme: https://github.com/patterns-ai-core/langchainrb · fetched 2026-08-28 · d089accff115
- homepage: https://rubydoc.info/gems/langchainrb · fetched 2026-08-29 · c7981a7b619e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| patterns-ai-core/langchainrb | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="patterns-ai-core/langchainrb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem