Open Source, v0.2.0, first public release

cob-rag-engine: A Self-Hosted Engine for AI Chat Assistants

Run an AI assistant business from one server.

One server can serve many businesses. A clinic, a shop, a coaching class or a service firm each gets an assistant that answers from its own documents and website. You set the prices and you keep the margin.

Engine and dashboard: AGPL-3.0. Clients, widget scripts and cob-rag-mcp: MIT.
cob-rag-engine business owner dashboard overviewcob-rag-engine business owner dashboard overviewcob-rag-engine business owner dashboard overviewcob-rag-engine business owner dashboard overview

Who It Is For

Founders and agencies

You want to sell AI assistants to local businesses under your own brand. You bring the customers. The engine brings the assistant, the billing and the dashboards.

Developers

You want a knowledge layer under your product or your AI agents. Use the REST API, the Python and JS clients, or the cob-rag-mcp MCP server.

What Is Built

Each part below has automated tests in version 0.2.0.

Reads your documents and website

PDF, Word, Excel, PowerPoint, scans with Hindi OCR and audio. It also reads websites and checks them again later. Search uses both meaning and keywords.

Answers you can trust

A fact check runs on every sentence. Answers carry an AI badge and source dates. A visitor can tap Talk to a person and get a reference code, with handoff on WhatsApp, phone or e-mail.

Leads, with consent

Leads come with DPDP-style consent notices and encrypted contact data. The owner gets a daily digest and a monthly value report in rupees.

Plans, wallets and invoices

Plans, prepaid wallets in INR or USD, Razorpay top-ups and refunds, numbered GST invoices and credit notes. Fair-use limits and spending caps are included. A free local model option is available.

Your brand, your dashboard

White-label branding, self sign-up, teams, and dashboards for the operator and for each business. COB, a built-in helper, guides people inside the dashboard. A public website builder and legal page templates are included.

One-command install

The installer targets Ubuntu and Debian. It sets up HTTPS and backups, and it handles upgrade and rollback. A demo mode lets you look around first.

cob-rag-engine leads screen with consent statuscob-rag-engine leads screen with consent statuscob-rag-engine leads screen with consent statuscob-rag-engine leads screen with consent status
cob-rag-engine chat widget on a phone

Measured Numbers, With Their Limits

These numbers come from our own tests. Read the note under each one before you rely on it.

0.537 vs 0.393

Search quality, nDCG@10

Measured on six public BEIR datasets, against keyword search alone. Measured with the earlier embedding model bge-base-en-v1.5. The default is now BGE-M3, and the re-run is pending.

77 ms

Median search on a plain CPU

45 ms with a GPU. Same earlier model.

412 of 412

Cross-business attacks refused

Result of the isolation test suite.

2.1 GB RAM

Default stack

Measured with the earlier model. BGE-M3 needs about 2.3 GB more. That is an estimate, not a measurement.

98.9%

Language labelling

On 266 held-out turns: English 98.9%, Hindi 100%, Hinglish 97.8%. Default fast model: openai/gpt-6-luna.

Honest Status

The engine has run real deployments before. Version 0.2.0 passed its automated tests: about 19,000 unit tests, about 400 integration tests, and the dashboard tests.

The newest parts have not had a full live run on a fresh server yet. These are online payments, WhatsApp answers, the public website builder and the installer. We tested payments and WhatsApp only against simulated Razorpay and Meta servers. Test them on your own server before you sell anything.

Not built yet

  • Live takeover inbox
  • Voice or phone assistant
  • Drive, Notion and Confluence connectors
  • SSO
  • Stripe (Razorpay only for now)
  • Kubernetes chart
  • A hosted version

Agent mode and web search exist in the code, but not in the API yet. The roadmap is live chat with a bot team, then GraphRAG and images as add-ons, then agents that take actions, then connectors.

Install and Licence

Run this on an Ubuntu or Debian server:

git clone https://github.com/callobuzz/cob-rag-engine.git
sudo bash cob-rag-engine/deploy/install.sh

The engine and the dashboard use AGPL-3.0. The Python and JS clients, the widget scripts and cob-rag-mcp use MIT. If AGPL does not fit your plan, ask us for a commercial licence on the contact page. Code contributions are accepted under a CLA.

Want the details?

The project site has the getting started guide, the full guide, deployment steps, requirements, benchmarks and support.

cob-rag-engine by Callobuzz