Awesome ChatGPT › Python library, sdk or frameworks

Python library, sdk or frameworks

61 projects

langflow-ai/langflow

Langflow is a powerful open-source platform for building, testing, and deploying AI-powered agents and workflows with visual authoring, multi-agent orchestration, and enterprise-ready features.

⭐ 112851 Python

nomic-ai/gpt4all

GPT4All is an open-source project that enables running large language models locally on various devices without requiring API calls or GPUs, providing private, offline AI capabilities with broad platform support and integrations.

⭐ 76630 C++ added 2025-04-19

xtekky/gpt4free

gpt4free is a proof-of-concept API package that enables multi-provider AI requests with features like load balancing, request flow control, and supports text and image generation through various powerful language models.

⭐ 65060 Python

infiniflow/ragflow

RAGFlow is an open-source Retrieval-Augmented Generation engine that leverages deep document understanding and Large Language Models to provide accurate, citation-backed question-answering from complex and diverse data sources.

⭐ 58857 TypeScript

zylon-ai/private-gpt

PrivateGPT is a privacy-focused AI project that enables offline interaction with documents using Large Language Models through a secure, private API and RAG pipeline.

⭐ 56558 Python added 2025-04-19

microsoft/autogen

AutoGen is a Microsoft-developed framework for building and managing multi-agent AI applications that operate autonomously or alongside humans, featuring layered APIs, developer tools, and no-code interfaces.

⭐ 49459 Python

QuivrHQ/quivr

Quivr is an opinionated and customizable Retrieval-Augmented Generation framework that enables easy integration of generative AI into applications, supporting multiple LLMs, vector stores, and file types to build an AI-powered second brain.

⭐ 38393 Python added 2024-12-12

Vision-CAIR/MiniGPT-4

MiniGPT-4 and MiniGPT-v2 are open-source projects that enhance vision-language understanding and multi-task learning using advanced large language models like Vicuna and Llama 2, enabling sophisticated AI-driven vision-language interactions.

⭐ 25737 Python added 2025-04-19

chroma-core/chroma

Chroma is an open-source embedding database that enables efficient storage, management, and similarity querying of embeddings to build AI-native applications with memory, supporting Python and JavaScript clients and integrating with popular AI frameworks.

⭐ 23091 Rust added 2025-04-19

deepset-ai/haystack

Haystack is an AI orchestration framework for building customizable, production-ready LLM applications that integrate models, vector databases, and file converters into pipelines for tasks like retrieval-augmented generation, question answering, semantic search, and conversational agents.

⭐ 20580 Python

AI4Finance-Foundation/FinGPT

FinGPT is an open-source project providing specialized large language models for finance, enabling cost-effective, adaptable, and personalized AI-driven financial analysis and predictions.

⭐ 17415 Jupyter Notebook

BlinkDL/RWKV-LM

RWKV is a novel RNN-based large language model architecture that combines transformer-level performance with linear time complexity and constant memory usage, enabling efficient and scalable training and inference.

⭐ 13945 Python

FujiwaraChoki/MoneyPrinter

MoneyPrinter automates the creation of YouTube Shorts videos by generating content based on user-provided topics using MoviePy.

⭐ 12242 Python

Chainlit/chainlit

Chainlit is an open-source Python framework that enables rapid development of production-ready conversational AI applications with seamless integration of various AI tools and services.

⭐ 10581 TypeScript

BlinkDL/ChatRWKV

ChatRWKV is an open-source conversational AI project powered by the RWKV 100% RNN language model, offering a faster and more VRAM-efficient alternative to transformer-based models like ChatGPT.

⭐ 9506 Python

togethercomputer/OpenChatKit

OpenChatKit is an open-source toolkit for training, fine-tuning, and deploying large-scale instruction-tuned language models with integrated retrieval and moderation capabilities.

⭐ 9022 Python added 2025-04-19

OptimalScale/LMFlow

LMFlow is an extensible and efficient toolkit for fine-tuning and inference of large foundation models, supporting advanced features and a wide range of state-of-the-art language models to democratize access to large-scale AI.

⭐ 8459 Python added 2025-04-19

zilliztech/GPTCache

GPTCache is a semantic caching library that reduces API costs and improves response speed for large language model queries by storing and retrieving cached responses based on semantic similarity.

⭐ 7734 Python added 2025-04-19

openai/point-e

Point-E is a system for generating 3D point clouds from complex prompts such as text and images, with tools for converting point clouds into meshes and evaluating model quality.

⭐ 6782 Python added 2025-04-19

open-compass/opencompass

OpenCompass is a versatile and powerful evaluation platform for large language models, supporting numerous models and datasets with advanced features for comprehensive NLP model assessment.

⭐ 5989 Python

kyegomez/swarms

Swarms is an enterprise-grade, production-ready multi-agent orchestration framework designed to enable scalable, secure, and efficient AI workflows with extensive integration and developer tools.

⭐ 5212 Python added 2024-12-12

marqo-ai/marqo

Marqo is an end-to-end vector search engine that unifies embedding generation and search for text and images, providing a comprehensive, scalable, and easy-to-use solution with cloud and framework integrations.

⭐ 4934 Python added 2025-04-19

Drakkar-Software/OctoBot

OctoBot is an open-source, highly customizable cryptocurrency trading bot that enables users to automate, backtest, and optimize trading strategies across multiple exchanges using advanced tools like AI and technical analysis.

⭐ 4688 Python

h2oai/h2o-llmstudio

H2O LLM Studio is a no-code GUI framework for fine-tuning large language models using advanced techniques like LoRA, 8-bit training, and preference optimization, with integrated performance tracking and model sharing capabilities.

⭐ 4618 Python added 2025-04-19

kyegomez/tree-of-thoughts

Tree of Thoughts is a plug-and-play implementation that enhances large language model reasoning by up to 70% through a multi-agent, tree-structured problem-solving algorithm.

⭐ 4533 Python

rawandahmad698/PyChatGPT

PyChatGPT is a Python client for the unofficial ChatGPT API that features automatic token regeneration, conversation tracking, proxy support, and seamless login without a browser, enabling programmatic interaction with ChatGPT sessions.

⭐ 4207 Python added 2025-04-19

promptslab/Promptify

Promptify is an open-source Python library that enables prompt engineering and structured output generation for various NLP tasks using large language models like GPT and PaLM.

⭐ 4200 Jupyter Notebook

AI4Finance-Foundation/FinRobot

FinRobot is an open-source AI agent platform that leverages large language models and diverse AI technologies to provide advanced financial analysis, decision-making, and actionable insights through a modular and extensible ecosystem.

⭐ 4066 Jupyter Notebook added 2024-12-12

eth-sri/lmql

LMQL is a Python-based programming language designed for constraint-guided and efficient interaction with large language models, enabling advanced control and integration of LLMs within traditional programming workflows.

⭐ 4046 Python added 2025-04-19

shroominic/codeinterpreter-api

An open-source implementation of the ChatGPT Code Interpreter enabling sandboxed Python code execution with features like dataset analysis, image manipulation, and scalable production deployment using CodeBox API.

⭐ 3851 Python

langroid/langroid

Langroid is a Python framework that enables building LLM-powered applications using a multi-agent programming paradigm for collaborative problem solving.

⭐ 3680 Python

NExT-GPT/NExT-GPT

NExT-GPT is an end-to-end multimodal large language model that processes and generates any combination of text, image, video, and audio inputs and outputs, enabling versatile AI interactions across multiple modalities.

⭐ 3557 Python added 2025-04-19

mukulpatnaik/researchgpt

ResearchGPT is a FastAPI-based LLM research assistant that enables interactive conversations with research papers by extracting text from PDFs, generating embeddings, and answering user queries with source references.

⭐ 3546 Python added 2025-04-19

minimaxir/simpleaichat

simpleaichat is a Python package that simplifies interfacing with chat apps like ChatGPT and GPT-4, offering robust features for efficient, customizable AI chat sessions with minimal code complexity.

⭐ 3518 Python

BeastByteAI/scikit-llm

Scikit-LLM integrates large language models like ChatGPT into scikit-learn to enhance text analysis and enable zero-shot classification within familiar machine learning workflows.

⭐ 3476 Python added 2025-01-08

EvolvingLMMs-Lab/Otter

Otter is a multi-modal model based on OpenFlamingo, trained on the MIMIC-IT dataset, showcasing advanced instruction-following and in-context learning capabilities with support for high-resolution visual inputs and extensive benchmarking.

⭐ 3269 Python added 2025-02-19

open-compass/VLMEvalKit

VLMEvalKit is an open-source evaluation toolkit that supports over 220 large vision-language models and 80+ benchmarks, enabling streamlined and standardized evaluation of multi-modal AI models.

⭐ 3022 Python added 2025-04-19

reloadware/reloadium

Reloadium is an advanced Python tool that provides hot reloading, profiling, and AI integration to enhance development productivity across various frameworks and environments.

⭐ 2985 Python

THUDM/AgentBench

AgentBench is a comprehensive benchmark designed to evaluate large language models as autonomous agents across diverse environments, including novel and existing domains, with extensions for visual multimodal agents.

⭐ 2775 Python added 2025-04-19

PhoebusSi/Alpaca-CoT

Alpaca-CoT is a unified instruction-tuning platform that integrates instruction data, multiple large language models, and parameter-efficient tuning methods to facilitate easy and efficient fine-tuning and research.

⭐ 2768 Jupyter Notebook

microsoft/promptbench

PromptBench is a unified evaluation framework for large language models that provides tools for performance assessment, prompt engineering, adversarial robustness testing, and dynamic and efficient multi-prompt evaluation across diverse datasets and models.

⭐ 2707 Python

thunlp/UltraChat

UltraChat is a project offering a large-scale, diverse multi-round dialogue dataset and state-of-the-art chat language models, including UltraLM, which ranks top among open-source models on the AlpacaEval leaderboard.

⭐ 2669 Python added 2025-04-19

zjunlp/EasyEdit

EasyEdit is an easy-to-use knowledge editing framework for large language models that enables precise, flexible, and real-time modification of LLM knowledge without retraining.

⭐ 2530 Jupyter Notebook

paulpierre/RasaGPT

RasaGPT is a headless chatbot platform that integrates Rasa with large language models using Langchain, providing a flexible, multi-platform conversational AI solution with document training, embedding search, and API support.

⭐ 2437 Python added 2025-04-19

jackmpcollins/magentic

Magentic is a Python library that enables seamless integration of Large Language Models into Python code by providing decorators to create functions with structured LLM outputs, supporting advanced features like streaming, function calling, and observability.

⭐ 2362 Python

lifeiteng/vall-e

An unofficial PyTorch implementation of VALL-E, a zero-shot text-to-speech synthesizer that preserves speaker identity, with training and inference support on single GPU.

⭐ 2169 Python added 2025-04-19

protectai/llm-guard

LLM Guard is a comprehensive security toolkit by Protect AI designed to safeguard interactions with Large Language Models by providing sanitization, harmful language detection, data leakage prevention, and prompt injection resistance through a variety of input and output scanners.

⭐ 2040 Python added 2024-12-12

QIN2DIM/hcaptcha-challenger

hCaptcha Challenger is an advanced AI-driven project that uses multimodal large language models to solve various hCaptcha challenges without relying on third-party services or scripts.

⭐ 1896 Python added 2025-04-19

melih-unsal/DemoGPT

DemoGPT is an all-in-one open-source library that automates the creation of interactive LLM-based applications by generating LangChain code and transforming it into user-friendly Streamlit apps.

⭐ 1859 Python

OpenMotionLab/MotionGPT

MotionGPT is a unified motion-language generation model that treats human motion as a language, enabling multiple motion-related tasks with state-of-the-art performance.

⭐ 1752 Python added 2025-04-19

richardyc/Chrome-GPT

Chrome-GPT is an experimental AutoGPT agent that autonomously controls and interacts with the Chrome browser to perform web automation tasks using AI-driven agents.

⭐ 1745 Python added 2025-04-19

Farama-Foundation/chatarena

ChatArena is a versatile library that creates multi-agent language game environments to develop and study communication and collaboration capabilities of large language model agents like GPT-3 and GPT-4.

⭐ 1501 Python

farizrahman4u/loopgpt

LoopGPT is a modular and extensible Auto-GPT framework implemented as a Python package, designed for building flexible AI agents with GPT models and supporting custom tools, human feedback, and state serialization.

⭐ 1461 Python

hiyouga/FastEdit

FastEdit is a tool for rapidly editing large language models to inject fresh and customized knowledge efficiently within 10 seconds using the ROME algorithm.

⭐ 1343 Python

travisvn/openai-edge-tts

OpenAI-Compatible Edge-TTS API is a free, high-quality text-to-speech API that mimics OpenAI's TTS endpoint, offering multiple voices, audio formats, and real-time streaming, deployable via Docker or Python environments.

⭐ 1215 Python added 2025-03-15

lupantech/chameleon-llm

Chameleon is a compositional reasoning framework that enhances large language models like GPT-4 by integrating various external tools to improve performance on complex tasks such as scientific question answering and table-based math problems.

⭐ 1135 Jupyter Notebook

BAAI-DCAI/Bunny

Bunny is a family of lightweight and powerful multimodal models that integrate various vision encoders and language backbones to deliver high-performance vision-language understanding and generation, supporting high-resolution inputs and accessible through popular AI platforms.

⭐ 1039 Python added 2025-04-19

taranjeet/unofficial-chatgpt-api

An unofficial ChatGPT API using Playwright and Chromium to provide a local server for interacting with ChatGPT via a simple API endpoint for development purposes.

⭐ 699 Python added 2025-04-19

voidful/TextRL

TextRL is a Python library that enhances text generation models using reinforcement learning with human feedback, supporting various Hugging Face transformer models and customizable training.

⭐ 564 Python added 2025-04-19

labteral/chatgpt-python

An unofficial Python SDK that enables easy integration of OpenAI's ChatGPT into Python projects with CLI and streaming support.

⭐ 526 Python added 2025-04-19

Writesonic/GPTRouter

GPTRouter is a unified AI model gateway that manages multiple large language and image generation models, ensuring fast, reliable, and uninterrupted AI service through smart fallbacks and a universal API.

⭐ 454 TypeScript added 2025-04-19