ruby_llm Agent工作流 是 AI Skill Hub 本期精选AI工具之一。已获得 3.9k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
统一的Ruby API框架,集成OpenAI、Anthropic、Gemini、Bedrock等多个AI模型服务。提供简洁优雅的接口,支持工作流和Agent构建,适合Ruby开发者快速集成大语言模型能力。
ruby_llm Agent工作流 是一款基于 Ruby 开发的开源工具,专注于 Ruby、多模型、工作流 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
统一的Ruby API框架,集成OpenAI、Anthropic、Gemini、Bedrock等多个AI模型服务。提供简洁优雅的接口,支持工作流和Agent构建,适合Ruby开发者快速集成大语言模型能力。
ruby_llm Agent工作流 是一款基于 Ruby 开发的开源工具,专注于 Ruby、多模型、工作流 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/crmne/ruby_llm cd ruby_llm # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 ruby_llm --help # 基本运行 ruby_llm [options] <input> # 详细使用说明请查阅文档 # https://github.com/crmne/ruby_llm
# ruby_llm 配置说明 # 查看配置选项 ruby_llm --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export RUBY_LLM_CONFIG="/path/to/config.yml"
<picture> <source media="(prefers-color-scheme: dark)" srcset="/docs/assets/images/logotype_dark.svg"> <img src="/docs/assets/images/logotype.svg" alt="RubyLLM" height="120" width="250"> </picture>
<strong>One beautiful Ruby API for GPT, Claude, Gemini, and more.</strong>
Battle tested at <picture><source media="(prefers-color-scheme: dark)" srcset="https://chatwithwork.com/logotype-dark.svg"><img src="https://chatwithwork.com/logotype.svg" alt="Chat with Work" height="30" align="absmiddle"></picture> — Your AI coworker
<a href="https://trendshift.io/repositories/13640" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13640" alt="crmne%2Fruby_llm | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a> </div>
[!NOTE] Using RubyLLM? Share your story! Takes 5 minutes.
---
Build chatbots, AI agents, RAG applications. Works with OpenAI, xAI, Anthropic, Google, AWS, local models, and any OpenAI-compatible API.
RubyLLM.chatRubyLLM.transcribeRubyLLM.paintRubyLLM.embedRubyLLM.moderateRubyLLM::Agentacts_as_chatAdd to your Gemfile:
gem 'ruby_llm' Then bundle install.
Configure your API keys: ```ruby
bin/rails generate ruby_llm:install bin/rails db:migrate bin/rails ruby_llm:load_models # v1.13+
RubyLLM.configure do |config| config.openai_api_key = ENV['OPENAI_API_KEY'] end ```
bin/rails generate ruby_llm:chat_ui
ruby class Chat < ApplicationRecord acts_as_chat end
chat = Chat.create! model: "claude-sonnet-4" chat.ask "What's in this file?", with: "report.pdf" ```
Visit http://localhost:3000/chats for a ready-to-use chat interface!
chat = RubyLLM.chat chat.ask "What's the best way to learn Ruby?"
ruby
设计优雅的多模型统一框架,降低Ruby开发者集成AI成本。活跃维护、生态成熟,是Ruby生态中AI集成的首选方案。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,ruby_llm Agent工作流 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | ruby_llm |
| 原始描述 | 开源AI工作流:One beautiful Ruby API for OpenAI, Anthropic, Gemini, Bedrock, Azure, OpenRouter。⭐3.9k · Ruby |
| Topics | Ruby多模型工作流AgentAPI集成 |
| GitHub | https://github.com/crmne/ruby_llm |
| License | MIT |
| 语言 | Ruby |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。