OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
PROJECT README
Quberi is a multi-tenant AI knowledge base for teams. You upload documents, members ask questions in chat, and answers come from retrieved passages. Retrieval is filtered by what the asking user is allowed to see.
Permissions are per-document, not per-space. Within one space, two users can see different documents. A deny rule on a document wins over any allow rule or space role, retrieval is filtered inside the vector index, and rules are evaluated on every request, so a change applies to the next one.
Licensed under AGPL-3.0.
Run it yourself with Docker Compose (see Run it locally), or use the hosted service at https://ai.quberi.com.
dsh-quberi. An
MCP server (listed in the
official MCP Registry as
com.quberi/mcp) exposes the same tools to Codex and other MCP
clients — see docs/mcp-server.md for how to
connect.docs/member-offboarding.md.Requirements: Docker with Compose, and pnpm if you want to work on the web app.
cp .env.example .env # development values; change every secret before sharing
# Generate the required encryption key and put it in .env as QUBERI_ENCRYPTION_KEY:
python3 -c "import base64,os;print(base64.urlsafe_b64encode(os.urandom(32)).decode())"
make up # builds and starts the full stack
QUBERI_ENCRYPTION_KEY encrypts stored API keys and tokens. Keep it: if you lose
it, stored credentials cannot be read again.
Then open http://localhost:8080. The API listens on http://localhost:8000.
The stack is Postgres, Redis, Qdrant, MinIO (via the community fork
pgsty/silo), the API, a background worker and the web app. See
deploy/README.md for details (it is written in Chinese).
Real sign-in needs SMTP, Google or Feishu to be configured in .env.
In a non-production environment (QUBERI_ENVIRONMENT=development, the default in
.env.example), email verification codes are also written to the API log, so you
can try the app without a mail server:
docker compose --env-file .env --profile app logs api | grep "DEV verification code"
Do not run with QUBERI_ENVIRONMENT=development on a machine that others can reach.
The operator's console lives at http://localhost:8080/admin. It is separate from member sign-in and is for looking after organizations, platform models and usage.
On first boot the API creates one platform admin account (admin) with a random
password and writes it once to the API log:
docker compose --env-file .env --profile app logs api | grep "PLATFORM ADMIN CREATED"
Sign in with it; the console asks you to choose your own password (12 to 128
characters) before anything else. There is no built-in default password. To pick
the first password yourself, set QUBERI_BOOTSTRAP_ADMIN_PASSWORD in .env
before the first start; a weak value is ignored and a random one is generated.
Because the generated password is printed to the container log, change it right away, and treat old logs as sensitive until you have.
QUBERI_PLATFORM_ADMIN_TOKEN still works as a bearer token for scripts and curl
against /api/v1/admin/*, but the console itself only accepts a username and
password. Leave the token empty if you do not need it. Sign-in is rate limited:
5 failed attempts on an account lock it until 15 minutes after the first of those
failures, even for the right password.
The console is available in English and Simplified Chinese. Switch language at the bottom of the sidebar (or below the sign-in card); it follows your browser language the first time and remembers your choice. Error messages from the API follow the same language. See apps/web/src/admin/i18n/README.md for how to add a string, a language or a message code.
When you run the stack yourself, uploaded documents (MinIO), vectors (Qdrant), conversations and the audit log (Postgres) are stored on the machines you run. Embeddings are computed locally once the model is cached.
Questions and the retrieved passages go to whichever chat model you configure: with a cloud API they leave your network, and with an OpenAI-compatible model you host yourself (for example with vLLM or Ollama) they stay inside it. Network access needed at run time: login codes go through your SMTP provider, Google or Feishu sign-in talks to those services, and the first model download comes from Hugging Face.
make check # lint, migration drift check, API and web tests
make test-api # needs a separate quberi_test database, see deploy/README.md
make test-web
Layout:
apps/api — FastAPI service, Alembic migrations, RAG workerapps/web — React appcompose.yaml — local stack; deploy/ — production overlay (Caddy) and notesPlease do not open a public issue for a vulnerability. Use GitHub's Security → Report a vulnerability to report it privately. If that is not possible, email chaney1720@gmail.com. No response time is promised yet.
Issues and pull requests are welcome; see CONTRIBUTING.md.
Contributions are accepted under the Developer Certificate of Origin: sign
off each commit with git commit -s. There is no CLA, and your contribution is
licensed under AGPL-3.0 like the rest of the project.
Quberi is licensed under the GNU Affero General Public License v3.0 only. If you modify it and offer it to others over a network, you must make your modified source available to those users. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: rag、knowledge-base。