back to home

Best Open Source generative ai Libraries

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

#1langflow-ai/langflow

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

144,945Python
Analyze Code

#2langchain-ai/langchain

🦜🔗 The platform for reliable agents.

127,110Python
Analyze Code

#3microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

106,699Jupyter Notebook
Analyze Code

#4rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

85,633Jupyter Notebook
Analyze Code

#5dair-ai/Prompt-Engineering-Guide

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

70,629MDX
Analyze Code

#6microsoft/ai-agents-for-beginners

12 Lessons to Get Started Building AI Agents

50,888Jupyter Notebook
Analyze Code

#7asgeirtj/system_prompts_leaks

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

32,374HTML
Analyze Code

#8langchain-ai/langgraph

Build resilient language agents as graphs.

24,913Python
Analyze Code

#9aishwaryanr/awesome-generative-ai-guide

A one stop repository for generative AI research updates, interview resources, notebooks and much more!

24,796HTML
Analyze Code

#10deepset-ai/haystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

24,250MDX
Analyze Code

#11wandb/openui

OpenUI let's you describe UI using your imagination, then see it rendered live.

22,050TypeScript
Analyze Code

#12a2aproject/A2A

Agent2Agent (A2A) is an open protocol enabling communication and interoperability between opaque agentic applications.

22,021Shell
Analyze Code

#13yamadashy/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

#14vercel/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

#15jina-ai/serve

☁️ Build multimodal AI applications with cloud-native stack

21,830Python
Analyze Code

#16usestrix/strix

Open-source AI hackers to find and fix your app’s vulnerabilities.

20,294Python
Analyze Code

#17coze-dev/coze-studio

An AI agent development platform with all-in-one visual tools, simplifying agent creation, debugging, and deployment like never before. Coze your way to AI Agent creation.

19,897TypeScript
Analyze Code

#18dyad-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

#19NirDiamant/agents-towards-production

This repository delivers end-to-end, code-first tutorials covering every layer of production-grade GenAI agents, guiding you from spark to scale with proven patterns and reusable blueprints for real-world launches.

17,410Jupyter Notebook
Analyze Code

#20dottxt-ai/outlines

Structured Outputs

13,443Python
Analyze Code

#21Tencent/WeKnora

LLM-powered framework for deep document understanding, semantic retrieval, and context-aware answers using RAG paradigm.

13,064Go
Analyze Code

#22GoogleCloudPlatform/generative-ai

Sample code and notebooks for Generative AI on Google Cloud, with Gemini on Vertex AI

12,709Jupyter Notebook
Analyze Code

#23KalyanKS-NLP/llm-engineer-toolkit

A curated list of 120+ LLM libraries category wise.

9,823
Analyze Code

#24Netflix/metaflow

Build, Manage and Deploy AI/ML Systems

9,787Python
Analyze Code

#25Acly/krita-ai-diffusion

Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.

9,760Python
Analyze Code

#26openvinotoolkit/openvino

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

9,732C++
Analyze Code

#27traceloop/openllmetry

Open-source observability for your GenAI or LLM application, based on OpenTelemetry

6,848Python
Analyze Code

#28amitness/learning

A log of things I'm learning

6,812
Analyze Code

#29poloclub/transformer-explainer

Transformer Explained Visually: Learn How LLM Transformer Models Work with Interactive Visualization

6,799JavaScript
Analyze Code

#30TencentQQGYLab/AppAgent

AppAgent: Multimodal Agents as Smartphone Users, an LLM-based multimodal agent framework designed to operate smartphone apps.

6,540Python
Analyze Code