OpenGPTs - The opensource alternative to OpenAI's chatgpt GPTs store

Posted on November 6, 2023

OpenGPTs (Github) is an exciting new open source project that allows you to create customized chatbots with more flexibility than closed solutions like OpenAI. Built on top of LangChain, LangServe, and LangSmith, OpenGPTs gives you control over the language models, tools, and APIs used to power conversational AI.

opengpts:opensource alternative to chatgpt gpt store

With OpenGPTs, you can configure and build chatbots tailored to your needs. A simple hosted demo is available here.

Key Features

OpenGPTs aims to provide functionality comparable to OpenAI while enabling customization:

  • Sandbox - Import, test, and modify existing chatbots defined in code
  • Custom Actions - Expand chatbot capabilities via OpenAPI specs
  • Tools - Incorporate custom tools for web browsing, image generation, and more
  • Analytics - Monitor usage data through LangSmith integrations
  • Drafts & Sharing - Save, share, and deploy completed chatbots
  • Marketplace - Distribute and find chatbots from the community (coming soon)

Choose Your Language Model

One major advantage is the ability to select different language models (LLMs) to power your assistant, thanks to LangChain's integrations. Out of the box, OpenGPTs offers:

  • GPT 3.5 Turbo
  • GPT 4
  • Azure OpenAI
  • Claude 2

It's easy to add new LLMs - check backend/packages/gizmo-agent to see the configurations.

Add Custom Tools

With OpenGPTs, you can simply write Python code to add new tools accessible to your chatbot. The default tools are:

  • DuckDuckGo search
  • Python REPL (executes Python in your environment)

See the LangChain docs for a guide on adding tools.

Deploy Your Chatbot

Once you've built your custom chatbot, OpenGPTs makes it easy to deploy it via LangServe. Follow these steps:

  1. Build the frontend
  2. Deploy to a platform like Google Cloud Run

Now anyone can access your specialized conversational assistant!

OpenGPTs provides an open framework for creating chatbots tailored to your needs. The transparent codebase and LangChain integrations give you unmatched control and customizability. Check out the project on Github to get started!