{"data":{"slug":"crmne-ruby-llm","name":"ruby_llm","tagline":"A Ruby framework for building AI agents and applications","github_url":"https://github.com/crmne/ruby_llm","owner":"crmne","repo":"ruby_llm","owner_avatar_url":"https://avatars.githubusercontent.com/u/106617?v=4","primary_language":"Ruby","stars":4390,"forks":504,"topics":["agents","ai","ai-framework","anthropic","embeddings","gemini","image-generation","llm","multimodal","ocr","ollama","openai","rag","rails","reranking","ruby","structured-output","text-to-speech","tool-calling","video-generation"],"archived":false,"github_pushed_at":"2026-09-18T06:05:29+00:00","maintenance_label":"Very active","stars_delta_30d":131,"url":"https://www.graphcanon.com/tools/crmne-ruby-llm","markdown_url":"https://www.graphcanon.com/tools/crmne-ruby-llm.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/crmne-ruby-llm","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=crmne-ruby-llm","description":"The Ruby-native AI framework. Chats, agents, tools, images, audio, and video through one consistent API, in plain Ruby or Rails.","homepage_url":"https://rubyllm.com/","license":"MIT","open_issues":10,"watchers":33,"ai_summary":"Provides bindings and utilities to interact with major AI providers through a Ruby interface.","readme_excerpt":"## Installation\n\nInstall RubyLLM 2.0:\n\n```bash\nbundle add ruby_llm --version 2.0.0\n```\n\nConfigure a provider in your script, or in `config/initializers/ruby_llm.rb` in Rails:\n\n```ruby\nrequire 'ruby_llm'\n\nRubyLLM.configure do |config|\n  config.openai_api_key = ENV.fetch('OPENAI_API_KEY')\nend\n```\n\nConfigure the other providers used by the examples as needed: Gemini for files, xAI for video, Mistral for OCR, and Cohere for reranking. [Getting Started](https://rubyllm.com/getting-started/) shows each setup beside its example. If your app uses 1.16, follow the [upgrade guide](https://rubyllm.com/upgrading/) before deploying 2.0.\n\n---\n\n# Install Rails Integration\nbin/rails generate ruby_llm:install\nbin/rails db:migrate\nbin/rails ruby_llm:load_models\n\n---\n\n## License\n\nReleased under the MIT License.","github_created_at":"2025-01-30T08:58:19+00:00","created_at":"2026-07-11T11:28:52.131206+00:00","updated_at":"2026-09-20T06:10:22.623801+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"agents","name":"agents"},{"slug":"ai","name":"ai"},{"slug":"anthropic","name":"anthropic"},{"slug":"chatgpt","name":"chatgpt"},{"slug":"claude","name":"claude"},{"slug":"deepseek","name":"deepseek"},{"slug":"embeddings","name":"embeddings"},{"slug":"gemini","name":"gemini"}],"trust":{"provenance":{"is_fork":false,"github_id":924568745,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-20T06:10:20.915Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":5,"days_since_push":2,"last_release_at":"2026-09-18T06:05:29Z","stars_delta_30d":131,"open_issues_delta_30d":-38},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:28:53.281Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-20T06:10:21.953Z"},"languages":{"value":["ruby"],"source":"github.language","observed_at":"2026-09-20T06:10:21.953Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-20T06:10:21.953Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"The library is free and open-source under the MIT license, but some of its functionalities will depend on third-party AI service costs."},"requirements":{"notes":["Requires Ruby runtime environment"],"min_ram_gb":4,"requires_docker":false},"constraints":{"min_ram_gb":4,"pricing_model":"freemium","requires_docker":false},"when_to_use":["When your application is built in Ruby and you want to use multiple AI services from different providers (such as Anthropic, OpenAI, etc.) without rewriting the integration code for each.","For developers who prefer a high-level abstraction for AI service interactions that supports rapid prototyping of AI applications like chatbots and RAG systems."],"when_not_to_use":["If you are working in an environment where Ruby is not supported or preferred, and your primary requirement is to use a different programming language ecosystem.","In scenarios where the specific AI providers you're interested in do not have good support within ruby_llm (check provider compatibility before starting a project)."],"source":"enrich:decision_facts","observed_at":"2026-07-12T10:16:51.720Z"},"constraint_facets":{"min_ram_gb":4,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - The library is free and open-source under the MIT license, but some of its functionalities will depend on third-party AI service costs."},{"label":"Requirements","value":"Min 4 GB RAM; Requires Ruby runtime environment"},{"label":"Adopt for","value":"ruby_llm: A Ruby framework for interacting with major AI providers through a Ruby interface."},{"label":"License detail","value":"MIT License"}]}}