
Kebivo
io.github.OCNAIPublished by GitHub account OCNAIv0.3.0Updated Nov 4, 2026
Self-hosted inbox for questions your AI agents couldn't answer. Report knowledge gaps over MCP.
Overview
Self-hosted inbox that lets an AI assistant report unanswered questions and suggested corrections over MCP so they can be grouped, triaged and routed.
- What you can do
- Report unanswered questions as knowledge gaps, tagged for later grouping
- Submit user-suggested knowledge corrections for human review
- Group repeated questions by exact matching, with optional LLM-based semantic grouping
- Triage reports in an admin inbox with search, filters, statuses, notes, tags, merge, split and deletion
- Route reports by tag rules to the built-in inbox, signed webhooks, Slack incoming webhooks or SMTP email, with retries and a delivery log
- When to use it
- Use it when your assistant, chatbot or RAG app can detect questions it could not answer and you want those misses collected in one self-hosted place, counted when they repeat, and routed to the people who own the documentation.
- Requirements
- Runs as a local Docker container (image ghcr.io/ocnai/kebivo:0.3.0) exposing an HTTP endpoint; the MCP client connects to the /mcp path with an Authorization bearer project token created in the admin UI. Needs SECRET_KEY and ENCRYPTION_KEY environment variables, an ALLOWED_ORIGINS value for admin sign-in, and a persistent data volume. No cloud account or AI provider is required.
Installation
In SourceWeft
- Open Kebivo in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Kebivo: the inbox for questions your AI couldn't answer
Your AI app reports each question it couldn't answer; Kebivo groups the repeats and routes them to whoever can fix the docs.
[CI] [License: Apache-2.0] [Release] [Container image]
Status: 0.3.0. Run the published image
ghcr.io/ocnai/kebivo:0.3.0(linux/amd64,linux/arm64) or build it from this repository. Licensed under Apache-2.0.
Try it with Docker, OpenSSL and a free port 8000:
Without Kebivo: the bot says it couldn't find the answer, the user gives up, and the question sits in a log nobody reads.
With Kebivo: the question shows up once in the inbox with a repeat count, and your routing rules can send it to Slack, email or a webhook for whoever owns those docs.
Group inbox from a real Kebivo 0.2.0 container with sample data.
Continue with the Quickstart to report a question. For framework tutorials, see the Kebivo Guides.
Why
When an assistant cannot answer, the documentation owner may never see the question. The same question can fail again, and corrections offered in chat may never reach the people who maintain the content. Kebivo collects those knowledge gaps in one place, where owners can triage and route them to the tools they use.
When to use Kebivo
- Your assistant, chatbot or RAG app can identify an unanswered question and report it over REST or MCP.
- The same questions recur, and content owners need a grouped count and inbox to prioritize them.
- Different teams own different topics, so you need to route reports by project or tags to Slack, email or signed webhooks.
- Users suggest corrections (an opt-in setting, off by default), and a person must review them before anyone changes the knowledge source.
- You need a self-hosted feedback workflow that runs without a cloud account or AI provider.
Features
- Send reports from application code through REST, or give agents the Streamable HTTP MCP tools
report_knowledge_gapandsubmit_knowledge_correction. - Create one project per assistant or team, with default tags, a corrections policy, and bearer tokens that are shown once, can expire and can be revoked.
- Route reports with ordered rules, ANY/ALL tag matching, several destinations per rule, a fallback, and a dry-run simulator.
- Deliver to signed webhooks with a versioned JSON payload, Slack incoming webhooks, SMTP email, or the built-in inbox. Deliveries have durable retries with backoff, restart recovery, a delivery log and manual retry.
- Questions that match exactly, ignoring case, extra whitespace, quote and dash styles, and trailing
?,!or., are grouped automatically. You can also configure an LLM provider for semantic grouping. - Triage reports in the inbox with search, filters, statuses, notes, tags, merge, split and deletion. Each group has a full history.
- Enable OpenAI-compatible, Azure OpenAI or local (Ollama, LM Studio) providers for semantic grouping on a per-project basis. This is off by default.
- Run one container with one SQLite file. Startup migrations, online backup and checked restore, retention (on by default), JSON Lines export, and health checks are included.
Screenshots
All screenshots use synthetic data.
More: destinations, settings, LLM settings, sign-in. Regenerate them with make e2e-ui SCREENSHOTS=1.
The demo's product frames come from a real container with sample data; its chat and end card are drawn. See the demo source.
Quickstart
You need Docker, OpenSSL, Python 3 and a free port 8000. The published image is typically ready in about 12 seconds after download.
1. Start Kebivo from the published image. Skip this step if you ran the three commands above. Keep kebivo.env private and back it up apart from the data volume.
Curl may print a few Connection reset errors while migrations run. Readiness returns {"status":"ok",...}.
2. Create an administrator and project token. The password must have at least 12 characters. The token is issued once into KEBIVO_TOKEN; keep it private.
3. Report the same unanswered question twice. Use a different idempotency key for each occurrence. Reuse a key only when retrying the same request.
Both responses are 202 Accepted with distinct event_id values. Open http://127.0.0.1:8000/, sign in, and find Do you ship to Canada? in the Inbox with 2 occurrences. Use exactly 127.0.0.1: localhost is a different origin, and sign-in names the allowed origin if you use the wrong one. You can also create projects and tokens in the UI.
For a signed webhook delivery, follow step 4 of the Docker guide.
REST or MCP? Call REST from your application's fallback when every miss must be captured. With MCP, the model decides whether to call
report_knowledge_gap, so some misses may go unreported.
Where Kebivo fits
Kebivo works alongside Langfuse and Phoenix, which help engineers inspect runs. Kebivo collects and routes misses; it does not diagnose why retrieval failed. It does not answer questions, update a knowledge base, or apply proposed corrections; people review the reports. Use something else if you need a ticketing system, analytics, multi-user accounts, SSO, or high availability. Kebivo is self-hosted with one local administrator, one process and one SQLite file. See the technical documentation for deployment and limits.
Build from source
Use this path if you want to change the code. After it starts, replace both docker exec -i kebivo and docker exec kebivo with docker compose exec -T app in step 2.
To stop the published image: docker stop kebivo (data stays in the volume). To stop a Compose build: docker compose down (data is kept). docker compose down --volumes deletes all data. For production (TLS, backups, upgrades, every setting), read the self-hosting guide.
Collect AI agent feedback with REST
Send POST /api/v1/feedback with a project token. A 202 means the report is stored durably; routing and delivery happen in the background. Send an Idempotency-Key and reuse it on retries. Retry 429 and 5xx responses with backoff; do not retry other 4xx errors.
For Python applications, install the kebivo-client distribution from the standalone Python SDK directly from GitHub with pip install "git+https://github.com/OCNAI/kebivo#subdirectory=sdk/python" (not published to PyPI):
For Node 20+ applications, use the standalone TypeScript SDK from a local path. It has no runtime dependencies and is not published to npm. Keep project tokens on the server; never embed them in browser code.
Runnable clients for cURL, Python (standard library) and TypeScript (Node.js 24, no build step) are in examples/, and the project page in the UI shows the same snippets with your endpoint. The REST integration guide covers fields, authentication, idempotency, errors, retries and rate limits.
Report knowledge gaps with MCP
Point an MCP client at http://127.0.0.1:8000/mcp with the header Authorization: Bearer <PROJECT_TOKEN>. For Claude Code:
Tokens with feedback:gap see report_knowledge_gap; submit_knowledge_correction also needs feedback:correction and a project that accepts corrections. A model may not call a tool when it should, so use REST where every report matters. See the MCP guide, a client configuration, a Python client and copyable agent instructions.
Destinations and routing
Each project has ordered rules: a rule matches ANY or ALL of its tags and sends to one or more destinations, optionally stopping evaluation. Unmatched events go to the fallback destinations. For example, it → IT email, customer-service → the support webhook. Each destination delivers either for new groups only or for every occurrence. See routing and destinations.
Optional AI
No model is called by default. To group questions that are worded differently, configure an LLM provider (LLM settings in the UI) and switch a project to semantic deduplication after acknowledging that question text will be sent to that provider. If the provider fails, the event keeps its own group and is still routed and delivered. See deduplication and LLM providers.
Security
- Run behind a TLS reverse proxy and keep the app port on loopback (guide).
- Keep
.envprivate. Back upSECRET_KEYandENCRYPTION_KEYseparately from database backups. - Feedback is stored unencrypted in SQLite. Protect the volume and backups, and do not ask assistants to send secrets or unnecessary personal data.
- Give each client its own token, give customer-facing agents only
feedback:gap, and revoke tokens you no longer use. - Webhooks and LLM providers cannot reach private or loopback addresses unless you opt in per destination or provider; cloud metadata addresses are always blocked, also for SMTP. Admin writes need the configured Origin and a CSRF token.
- Logs never contain feedback content or credentials.
Report vulnerabilities as described in SECURITY.md.
Data, retention and export
Retention is on by default: feedback older than 180 days, finished delivery attempt details older than 30 days, and audit entries older than 90 days are deleted daily. Change or disable each with an environment variable (0 turns it off). Retention does not touch backups you already made. An administrator can export a project's feedback as JSON Lines. See retention and export.
Known limits
- At-least-once delivery. A receiver may see a delivery twice; deduplicate by the webhook ID or delivery ID.
- One administrator, one instance, one SQLite file on local storage. No replicas, no network filesystem.
- MCP needs a manually configured bearer token; OAuth-only clients cannot connect. Responses are stateless JSON without streaming notifications.
- Rate limits are counted in memory and reset when the container restarts.
- Deleted feedback cannot be recalled from destinations that already received it or from existing backups.
- No encryption at rest for feedback content.
Documentation
Framework tutorials are in the website Guides. Runnable clients and framework examples are in examples/. The pages below cover the technical details.
Contributing
Development setup, make targets, style, tests and the documentation rule are in CONTRIBUTING.md. In short: make install, then make check before every commit, and update the docs in the same change. Sign off every commit (git commit -s) under the Developer Certificate of Origin; there is no CLA.
Everyone taking part follows the Code of Conduct. Ideas under consideration, none of them committed, are in the roadmap.
License
Kebivo is licensed under the Apache License 2.0. Contributions are accepted under the same license with a Developer Certificate of Origin sign-off; there is no CLA. The third-party license inventory lists the licenses of everything the image ships.
Source: README.md at commit 3b03729
Tools
0Version history
3- v0.3.0LatestNov 4, 2026
- v0.2.0Oct 29, 2026
- v0.1.1Oct 26, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts