back to home

Best Open Source openai Libraries

A curated list of the most popular GitHub repositories tagged with openai. Select any project to visualize its architecture and dive into the codebase using RepoMind's AI engine.

#1Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

181,922Python
Analyze Code

#2f/prompts.chat

a.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

146,195HTML
Analyze Code

#3langgenius/dify

Production-ready platform for agentic workflow development.

129,920TypeScript
Analyze Code

#4langchain-ai/langchain

🦜🔗 The platform for reliable agents.

127,110Python
Analyze Code

#5open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

124,513Python
Analyze Code

#6microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

106,699Jupyter Notebook
Analyze Code

#7microsoft/markitdown

Python tool for converting files and office documents to Markdown.

87,461Python
Analyze Code

#8infiniflow/ragflow

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs

73,497Python
Analyze Code

#9lobehub/lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72,464TypeScript
Analyze Code

#10openai/openai-cookbook

Examples and guides for using the OpenAI API

71,561Jupyter Notebook
Analyze Code

#11vllm-project/vllm

A high-throughput and memory-efficient inference and serving engine for LLMs

70,857Python
Analyze Code

#12dair-ai/Prompt-Engineering-Guide

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

70,629MDX
Analyze Code

#13OpenHands/OpenHands

🙌 OpenHands: AI-Driven Development

68,032Python
Analyze Code

#14xtekky/gpt4free

The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3

65,721Python
Analyze Code

#15AntonOsika/gpt-engineer

CLI platform to experiment with codegen. Precursor to: https://lovable.dev

55,202Python
Analyze Code

#16lencx/ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)

54,392Rust
Analyze Code

#17unslothai/unsloth

Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.

52,562Python
Analyze Code

#18FlowiseAI/Flowise

Build AI Agents, Visually

49,249TypeScript
Analyze Code

#19dbeaver/dbeaver

Free universal database tool and SQL client

48,754Java
Analyze Code

#20ggml-org/whisper.cpp

Port of OpenAI's Whisper model in C/C++

46,889C++
Analyze Code

#21siyuan-note/siyuan

A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.

41,378TypeScript
Analyze Code

#22zhayujie/chatgpt-on-wechat

CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长。同时支持飞书、钉钉、企业微信应用、微信公众号、网页等接入,可选择OpenAI/Claude/Gemini/DeepSeek/ Qwen/GLM/Kimi/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助手和企业数字员工。

41,351Python
Analyze Code

#23Aider-AI/aider

aider is AI pair programming in your terminal

40,807Python
Analyze Code

#24QuivrHQ/quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.

38,947Python
Analyze Code

#25chatboxai/chatbox

Powerful AI Client

38,560TypeScript
Analyze Code

#26BerriAI/litellm

Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, VLLM, NVIDIA NIM]

36,503Python
Analyze Code

#27reworkd/AgentGPT

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.

35,717TypeScript
Analyze Code

#28mouredev/Hello-Python

Curso para aprender el lenguaje de programación Python desde cero y para principiantes. 100 clases, 44 horas en vídeo, código, proyectos y grupo de chat. Fundamentos, frontend, backend, testing, IA...

34,475Python
Analyze Code

#29danny-avila/LibreChat

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active.

34,010TypeScript
Analyze Code

#30code-yeongyu/oh-my-opencode

the best agent harness

32,806TypeScript
Analyze Code

#31asgeirtj/system_prompts_leaks

Collection of extracted System Prompts from popular chatbots like ChatGPT, Claude & Gemini

32,374HTML
Analyze Code

#32PDFMathTranslate/PDFMathTranslate

[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

31,844Python
Analyze Code

#33openai/openai-python

The official Python library for the OpenAI API

30,036Python
Analyze Code

#34songquanpeng/one-api

LLM API 管理 & 分发系统,支持 OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 适配,可用于 key 管理与二次分发。单可执行文件,提供 Docker 镜像,一键部署,开箱即用。LLM API management & key redistribution system, unifying multiple providers under a single API. Single binary, Docker-ready, with an English UI.

29,736JavaScript
Analyze Code

#35voideditor/void

28,233TypeScript
Analyze Code

#36microsoft/semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps

27,274C#
Analyze Code

#37labring/FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.

27,140TypeScript
Analyze Code

#38simstudioai/sim

Build, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce.

26,503TypeScript
Analyze Code

#39e2b-dev/awesome-ai-agents

A list of AI autonomous agents

25,929
Analyze Code

#40langchain-ai/langgraph

Build resilient language agents as graphs.

24,913Python
Analyze Code

#41nextai-translator/nextai-translator

基于 ChatGPT API 的划词翻译浏览器插件和跨平台桌面端应用 - Browser extension and cross-platform desktop application for translation based on ChatGPT API.

24,835TypeScript
Analyze Code

#42mlflow/mlflow

The open source developer platform to build AI agents and models with confidence. Enhance your AI applications with end-to-end tracking, observability, and evaluations, all in one integrated platform.

24,349Python
Analyze Code

#43langfuse/langfuse

🪢 Open source LLM engineering platform: LLM Observability, metrics, evals, prompt management, playground, datasets. Integrates with OpenTelemetry, Langchain, OpenAI SDK, LiteLLM, and more. 🍊YC W23

22,137TypeScript
Analyze Code

#44yamadashy/repomix

📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.

21,983TypeScript
Analyze Code

#45vercel/ai

The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents

21,928TypeScript
Analyze Code

#46SYSTRAN/faster-whisper

Faster Whisper transcription with CTranslate2

21,060Python
Analyze Code

#47NirDiamant/GenAI_Agents

This repository provides tutorials and implementations for various Generative AI Agent techniques, from basic to advanced. It serves as a comprehensive guide for building intelligent, interactive AI systems.

20,075Jupyter Notebook
Analyze Code

#48dyad-sh/dyad

Local, open-source AI app builder for power users ✨ v0 / Lovable / Replit / Bolt alternative 🌟 Star if you like it!

19,661TypeScript
Analyze Code

#49openai/openai-agents-python

A lightweight, powerful framework for multi-agent workflows

19,059Python
Analyze Code

#50lss233/kirara-ai

🤖 可 DIY 的 多模态 AI 聊天机器人 | 🚀 快速接入 微信、 QQ、Telegram、等聊天平台 | 🦈支持DeepSeek、Grok、Claude、Ollama、Gemini、OpenAI | 工作流系统、网页搜索、AI画图、人设调教、虚拟女仆、语音对话 |

18,365Python
Analyze Code