#217217th of 242 in Agent frameworks and SDKs

ruby-openai

Ruby client gem for the OpenAI API and compatible providers

Stars
3.2k
License
MIT
Last commit
May 2026
Last release
Aug 2025
Language
Ruby
Stars, last 30 weeks+24
2 May 2026: 3,192 stars9 May 2026: 3,196 stars16 May 2026: 3,198 stars23 May 2026: 3,199 stars30 May 2026: 3,200 stars6 Jun 2026: 3,202 stars13 Jun 2026: 3,202 stars20 Jun 2026: 3,202 stars27 Jun 2026: 3,202 stars4 Jul 2026: 3,202 stars11 Jul 2026: 3,203 stars18 Jul 2026: 3,204 stars25 Jul 2026: 3,205 stars1 Aug 2026: 3,206 stars8 Aug 2026: 3,206 stars15 Aug 2026: 3,207 stars22 Aug 2026: 3,208 stars29 Aug 2026: 3,209 stars5 Sept 2026: 3,209 stars12 Sept 2026: 3,210 stars19 Sept 2026: 3,212 stars26 Sept 2026: 3,212 stars3 Oct 2026: 3,213 stars10 Oct 2026: 3,214 stars17 Oct 2026: 3,214 stars24 Oct 2026: 3,215 stars31 Oct 2026: 3,215 stars7 Nov 2026: 3,216 stars14 Nov 2026: 3,216 stars21 Nov 2026: 3,216 stars28 Nov 2026: 3,216 stars

3,192 on 2 May 20263,216 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

ruby-openai is a Ruby gem that wraps the OpenAI REST API: chat, Responses API, embeddings, files, fine-tunes, vector stores, assistants, image generation, Whisper and Realtime. It is built on Faraday and can target Azure, Deepseek, Groq, Gemini or a local Ollama server by changing the base URI. Configuration is global through OpenAI.configure or per client.

Who it is for: Ruby and Rails developers calling OpenAI-compatible APIs

Strengths

  • Covers many OpenAI endpoints: chat, Responses, batches, vector stores, assistants, images, Whisper, Realtime
  • Base URI override works with Azure, Deepseek, Groq, Gemini and Ollama
  • Faraday middleware block allows custom logging, proxies and tools like Helicone
  • Streaming via a Proc that receives each chunk parsed as a Hash

Weaknesses

  • Thin API wrapper; no agent loop, planning or multi-agent orchestration
  • Token counting is a rough estimate; accurate counts need tiktoken_ruby
  • Groq and Gemini are only broadly compatible, per the README
  • Some README examples use older models like gpt-4-vision-preview

What it needs

  • no GPU
  • Needs OpenAI API key, Faraday
  • Models: OpenAI, Azure OpenAI, Deepseek, Groq, Gemini

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#215promptifyPython library for typed NLP tasks like NER and classification via LLMs4.6k starsApache-2.028 out of 100
#216ai-data-science-teamPython library of data science agents with a Streamlit pipeline app5.5k starsMIT26 out of 100
#218solana-agent-kitTypeScript toolkit that lets LLM agents execute Solana transactions and DeFi actions1.8k starsApache-2.026 out of 100
#219kaibanjsJavaScript framework for multi-agent workflows with a Kanban-style task board Live demo ↗ (opens in a new tab)1.5k starsMIT26 out of 100
#220llmunityUnity package for running local llama.cpp LLM characters in games1.7k starsApache-2.025 out of 100