# open-assistant-api

> Open-source, self-hosted AI assistant API compatible with OpenAI Assistants API. Supports RAG, web search, tools, multimodal, streaming — deployable via Docker Compose.

- **Category:** AI Assistant
- **Licence:** MIT
- **Open source:** oss
- **Languages:** Typescript, Python
- **Platforms:** Docker Compose
- **Tags:** Streaming, Ai Assistant, Multi modal, LLM, Rag, Chatgpt, Openai, Langchain, Docker, AI, Python, Tools, Fastapi, Self Hosted, Openai Api, Agent, Gpt, Openai compatible, Assistants api, Gpt 4, Assistants, Gpts, Openai Assistants, Openai Assistants Api

## Description

Open Assistant API provides a drop-in replacement for the OpenAI Assistants API that you can run on your own infrastructure. It implements the OpenAI-compatible REST interface so existing code using the official OpenAI Python client works unchanged. The project adds retrieval-augmented generation through the R2R engine, optional web search via the Bing API, and an extensible tool system for custom functions. It supports multimodal inputs and streaming message output. Deployment is via Docker Compose, which spins up the API server, a Celery worker, a playground UI, MySQL, Redis, and MinIO (S3-compatible object storage). Authentication uses Bearer tokens with optional admin-token-protected token management for multi-tenant SaaS-style deployments. The codebase is MIT-licensed and written in Python 3.10 using FastAPI, Celery, SQLModel, and LangChain. There are no published releases yet; the main branch receives regular commits.

## Links

- [Homepage](https://github.com/MLT-OSS/open-assistant-api)
- [Docker](samepaage/open-assistant-api)
- [Discord Community](https://discord.gg/VfBruz4B)
- [Slack Community](https://join.slack.com/t/openassistant-qbu7007/shared_invite/zt-29t8j9y12-9og5KZL6GagXTEvbEDf6UQ)
- [Contributing Guide](https://github.com/MLT-OSS/open-assistant-api/blob/main/docs/CONTRIBUTING.md)
- [GitHub Repository](https://github.com/MLT-OSS/open-assistant-api)

---
Source: https://selfhost.directory/project/open-assistant-api