#234234th of 242 in Agent frameworks and SDKs
betalgo/openai
Community .NET client library for the OpenAI API
Watch puts betalgo/openai on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.betalgo/openai is on your watch list. Its new releases and problems show there.
- Stars
- 3k
- License
- MIT
- Last commit
- Dec 2025
- Last release
- Jul 2025
- Language
- C#
2,977 on 2 May 20263,020 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Betalgo.Ranul.OpenAI is a C# NuGet package that wraps OpenAI's HTTP API, including chat completions, images, function tools and the Realtime API. It can be constructed directly or registered through ASP.NET dependency injection with AddOpenAIService. The repo includes an OpenAI.Playground sample project, and a separate experimental Utilities package is published.
Who it is for: .NET developers calling the OpenAI API from C# apps
Strengths
- Dependency injection via AddOpenAIService, with options bound from secrets.json
- Covers Realtime API, chat completions, images and function tool schemas
- MIT license; OpenAI.Playground sample project for trying calls
- Contracts project centralizes request/response models and enums
Weaknesses
- README admits not all methods are thoroughly tested or fully documented
- Package ID and namespace changed from Betalgo.OpenAI to Betalgo.Ranul.OpenAI
- Dropped .NET 6 and .NET 7 support in 9.0.0
- Contracts migration is partial; image edit and variation still return legacy responses
What it needs
- no GPU
- Needs OpenAI API key, .NET 9
- Models: OpenAI GPT-4o, OpenAI o1, OpenAI o3-mini
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| Rank | Project | Score |
|---|---|---|
| #232 | demogptPython library of agents, tools and RAG, plus a Streamlit app generator | 17 out of 100 |
| #233 | sreTypeScript agent runtime and SDK with swappable LLM, storage and vector DB connectors | 15 out of 100 |
| #235 | autopromptPrompt optimizer that tunes prompts against synthetic edge-case benchmarks | 12 out of 100 |
| #236 | kg-genPython library that extracts knowledge graphs from text or chats using LLMs | 11 out of 100 |
| #237 | gptswarmPython library that builds LLM agents as graphs and optimizes their connections | 9 out of 100 |