OpenAgent

Self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary.

Active Knowledge base & RAG Apache-2.0

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

GitHub stars5.8k
Forks674
Latest releasev2.89.2
Last commitNov 6, 2026
Est. server cost—

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)

LicenseApache-2.0
TypePermissive: MIT / Apache-2.0: use, modify and sell with few obligations.
Internal business useAllowed under the license text
What to watchPermissive. 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.

Source: www.openagentai.org/docs/auditing-logs/logs

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.

Source: www.openagentai.org/docs/admin/enterprise-sso

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

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

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.