opengpts  by langchain-ai

Open-source platform for building custom GPT assistants

created 1 year ago
6,674 stars

Top 7.8% on sourcepulse

GitHubView on GitHub
Project Summary

OpenGPTs provides an open-source platform for building custom GPT-like conversational agents, offering greater control over LLMs, prompts, tools, and data retrieval than proprietary solutions. It targets developers and power users seeking to tailor AI agent behavior for specific applications, leveraging the LangChain ecosystem for flexibility and extensibility.

How It Works

The project utilizes LangGraph to define and manage agent runtimes, enabling the creation of complex, multi-step conversational flows. It supports three core cognitive architectures: Assistants (flexible, tool-using agents), RAGBot (retrieval-augmented generation focused on document knowledge), and ChatBot (simple, persona-driven LLM interactions). This modular approach allows users to select, customize, or build their own agent logic.

Quick Start & Requirements

  • Docker: git clone https://github.com/langchain-ai/opengpts.git && cd opengpts && cp .env.example .env && docker compose up
  • Prerequisites: Docker, Python 3.11+, Postgres with pgvector extension (for non-Docker setup).
  • Environment Variables: Requires at least OPENAI_API_KEY. Optional variables for LangSmith, database credentials, and other LLM providers.
  • Links: GPTs, Assistants API, Auth

Highlighted Details

  • Supports 60+ LLMs and 100+ tools via LangChain integrations.
  • Offers three distinct cognitive architectures: Assistants, RAGBot, and ChatBot.
  • Integrates with LangSmith for debugging, logging, and monitoring.
  • Provides features like sandbox testing, custom actions, knowledge file uploads, and draft saving.

Maintenance & Community

The project is actively developed by the LangChain AI team. Community interaction channels are not explicitly listed in the README.

Licensing & Compatibility

The project is licensed under the Apache-2.0 license, permitting commercial use and integration with closed-source applications.

Limitations & Caveats

Migration 5 introduced a breaking change to checkpoint management, rendering historical threads created before the migration inaccessible in the UI. Feature parity with OpenAI's GPTs is a goal, with some features like a marketplace still listed as "coming soon."

Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
70 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Joe Walnes Joe Walnes(Head of Experimental Projects at Stripe), and
5 more.

LibreChat by danny-avila

0.8%
29k
Enhanced ChatGPT clone for self-hosting
created 2 years ago
updated 23 hours ago
Feedback? Help us improve.