OpenAgent
Self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary.
Quick answer
OpenAgent is a self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary, listed under Knowledge base & RAG. A typical small-business use: company knowledge-base chat over PDFs and Office files, with cited retrieval. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Nov 23, 2026.
What is OpenAgent?
OpenAgent is an open-source personal and team AI assistant that connects 30+ model providers, builds a knowledge base from uploaded documents, and runs agent loops (browser use, shell, office files and MCP tools). It ships as a single binary (embedded SQLite by default) or a Docker image, with an admin dashboard, roles and audit records. Authentication is handled through Casdoor, which the docs describe as bundled in the stack.
Where it fits in a 10–200 person business
- Company knowledge-base chat over PDFs and Office files, with cited retrieval
- An internal assistant that can browse, call MCP tools and keep an audit trail
- Team access with SSO (OIDC, LDAP or SAML) and role-based permissions
These use cases are our editorial suggestions, not claims made by the project.
Can a business use OpenAgent? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does OpenAgent phone home?
| Telemetry (usage data sent to the vendor) | Not documented |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented |
| Single sign-on (OIDC / SAML / LDAP) | Free By protocol: OIDC free · SAML free · LDAP free. Official docs say user accounts and authentication go through Casdoor, bundled in the stack, and that OpenAgent supports local username/password plus OAuth 2.0/OIDC, LDAP/Active Directory and SAML 2.0. No paid self-hosted edition is documented for these protocols. The page is titled "Enterprise SSO" but is part of the regular product docs. Source: www.openagentai.org/docs/admin/enterprise-sso · github.com/the-open-agent/openagent#platform-features |
| Audit log | Yes, free Official docs describe Records as an append-only audit trail of administrative write operations (who changed a store, provider, file, role or permission), viewable in the admin panel and not editable or deletable there. |
| Role-based access control (RBAC) | Yes, free Three built-in roles (Admin, Regular User, Chat Admin) plus optional fine-grained permission rules (who / resource type / read-write-admin) are documented in the self-hosted product, with no paid edition mentioned. |
| Data residency / GDPR notes from the project | Documented The official site says your data stays in your infrastructure and that the product is air-gap deployable. Prompts still go to the model providers you configure. Source: www.openagentai.org |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does OpenAgent need?
The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.
No official CPU, RAM or disk figures are published. The install guide says the binary needs no extra runtime; a source build requires Go 1.25+, Node.js 20+, Yarn 1.x and, for that path, MySQL 8.0+. Windows 10/11 is listed for the native Windows binary.
Source: www.openagentai.org/docs/install
How much does it cost to host OpenAgent per month?
The project publishes no RAM figure we could verify, so we do not estimate a cost.
How to deploy OpenAgent
Method: Docker (or a single binary)
docker run -d -p 14000:14000 --name openagent casbin/openagent From the official instructions: www.openagentai.org/docs/install. Always check the source for the current version before you run it.
Known gotchas when self-hosting OpenAgent
- Change the default admin password immediately after first login. The first admin is set with ADMIN_USERNAME and ADMIN_PASSWORD (docs show ADMIN_USERNAME=admin); the built-in admin account cannot be deleted. source
- The GitHub docker-compose.yml sets MYSQL_ROOT_PASSWORD to 123456 and publishes MySQL on host port 3306. Change that password and restrict the port before using Compose in anything other than local testing. source
- Single-binary mode uses the embedded SQLite database by default. Official install docs say to use an external MySQL database only when your deployment requires it. A source-code setup requires Go 1.25+, Node.js 20+, Yarn 1.x and MySQL 8.0+. source
Alternatives in Knowledge base & RAG
- RAGFlow RAG engine with deep document parsing (OCR, layout and tables) and cited answers. Compare OpenAgent vs RAGFlow
- AppFlowy Open-source Notion-style AI workspace (docs, databases, boards) with desktop apps and a self-hosted cloud server. Compare AppFlowy vs OpenAgent
- AFFiNE Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. Compare AFFiNE vs OpenAgent
- AnythingLLM All-in-one private chat with your documents, agents and an embeddable widget. Compare AnythingLLM vs OpenAgent
- PrivateGPT API-first private document Q&A that sits on top of your own LLM server. Compare OpenAgent vs PrivateGPT
- Open Notebook Private, self-hosted alternative to Google NotebookLM with your choice of AI models. Compare Open Notebook vs OpenAgent
- LightRAG Graph-based RAG server that builds a knowledge graph from your documents, with a web UI and REST API. Compare LightRAG vs OpenAgent
- Langchain-Chatchat Chinese-first local knowledge-base Q&A and agent app built on LangChain, wired to local model servers. Compare Langchain-Chatchat vs OpenAgent
- WeKnora Tencent's open-source knowledge-base and agent platform with document parsing, RAG and team workspaces. Compare OpenAgent vs WeKnora
- Onyx (formerly Danswer) AI chat and enterprise search connected to 50+ workplace apps. Compare Onyx (formerly Danswer) vs OpenAgent
- Karakeep Self-hosted bookmark and read-later app (formerly Hoarder) with AI tagging, summaries and full-text search. Compare Karakeep vs OpenAgent
- FastGPT Knowledge-base Q&A and visual AI workflow platform. Compare FastGPT vs OpenAgent
- kotaemon Open-source RAG web app for chatting with your documents, with citations and GraphRAG. Compare kotaemon vs OpenAgent
- MaxKB Enterprise knowledge-base and agent platform with RAG and workflows. Compare MaxKB vs OpenAgent
- LocalGPT Chat with your documents through a local RAG stack that talks to Ollama. Compare LocalGPT vs OpenAgent
- Linkwarden Collaborative bookmark preservation with configurable AI tagging. Compare Linkwarden vs OpenAgent
- DocsGPT Open-source platform for AI agents and assistants that answer from your documents with sources. Compare DocsGPT vs OpenAgent
- QAnything Local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command. Compare OpenAgent vs QAnything
- R2R Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode. Compare OpenAgent vs R2R
- PipesHub Self-hosted workplace search and AI answers across 50+ connected apps, filtered by each user's permissions. Compare OpenAgent vs PipesHub
- Morphik Core Multimodal document retrieval engine for RAG over PDFs, images and visually rich files, with an API, SDKs and MCP. Compare Morphik Core vs OpenAgent
OpenAgent FAQ
How much RAM does OpenAgent need?
OpenAgent does not publish an official RAM figure, so we do not state one. The install guide says the binary needs no extra runtime; a source build requires Go 1.25+, Node.js 20+, Yarn 1.x and, for that path, MySQL 8.0+. Windows 10/11 is listed for the native Windows binary.
How much does it cost to self-host OpenAgent?
The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.
Is OpenAgent free for commercial use?
OpenAgent is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed. This is a summary, not legal advice.
What are common problems when self-hosting OpenAgent?
Change the default admin password immediately after first login. The first admin is set with ADMIN_USERNAME and ADMIN_PASSWORD (docs show ADMIN_USERNAME=admin); the built-in admin account cannot be deleted. The GitHub docker-compose.yml sets MYSQL_ROOT_PASSWORD to 123456 and publishes MySQL on host port 3306. Change that password and restrict the port before using Compose in anything other than local testing. Single-binary mode uses the embedded SQLite database by default. Official install docs say to use an external MySQL database only when your deployment requires it. A source-code setup requires Go 1.25+, Node.js 20+, Yarn 1.x and MySQL 8.0+.
Is OpenAgent still maintained?
Yes, it is actively developed. Last commit: Nov 6, 2026. Latest release: v2.89.2. Checked Nov 23, 2026.
How do I install OpenAgent?
The official method is Docker (or a single binary). The exact commands are in the "How to deploy" section above and in the official instructions: https://www.openagentai.org/docs/install
What are self-hosted alternatives to OpenAgent?
Other apps in Knowledge base & RAG: RAGFlow, AppFlowy, AFFiNE, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, Langchain-Chatchat, WeKnora, Onyx (formerly Danswer), Karakeep, FastGPT, kotaemon, MaxKB, LocalGPT, Linkwarden, DocsGPT, QAnything, R2R, PipesHub, Morphik Core.
Sources
- GitHub repository: github.com/the-open-agent/openagent
- Official documentation, Hardware requirements, Deploy instructions, Gotcha 3: www.openagentai.org/docs/install
- License text: github.com/the-open-agent/openagent/blob/master/LICENSE
- Gotcha 1: www.openagentai.org/docs/admin/enterprise-sso
- Gotcha 2: github.com/the-open-agent/openagent/blob/master/docker-compose.yml
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-11-10. Spotted something out of date? Tell us.