OpenGPTs

Stale
GitHub Rich Text Format MIT

Description

OpenGPTs is an open-source alternative to GPTs by the LangChain team. Provides a self-hostable agent platform with multiple LLM backends, RAG, and tool-use capabilities.

Key Features

  • Open-source GPTs alternative with a fully self-hostable agent platform
  • Supports 60+ LLMs and 60+ vector database integrations
  • Three cognitive architectures: Assistant, RAG, and Chatbot
  • Full control over prompts, tools, and retrieval algorithms
  • Agent runtime powered by LangGraph framework
  • Integrated LangSmith for debugging and monitoring

Use Cases

πŸ’‘ Build private enterprise GPT assistants on your own infrastructure
πŸ’‘ Create RAG-based knowledge base Q&A systems from private documents
πŸ’‘ Rapidly prototype and validate AI agent workflows
πŸ’‘ Custom tool chains for complex task orchestration

Quick Start

1. Clone the repository and navigate to the project directory
2. Copy `.env.example` to `.env` and configure your `OPENAI_API_KEY`
3. Run `docker compose up` to start frontend, backend, and Postgres
4. Access `http://localhost:5173` to start using
5. Optional: run `make migrate` to set up database migrations

Related Projects