Documentation
/ Start here
Hive documentation
Hive Intelligence was built as something different from traditional RAG - simple to understand, operate and create, usable with AI subscriptions without having to pay for API costs, and based on the OKF card format.
Four layers, in the order most people need them.
Concepts
Read these to understand what Hive is and why it is shaped the way it is.
| Overview | the problem, the approach, and who this is for |
| Cards | the OKF card format: five types, frontmatter, facets, ids |
| Architecture | assistant ingest, records, two doors, two stores, and the legacy scripted path |
| The pipeline, end to end | the long form: ingest, records, serving, layers on top, and the legacy scripted pipeline |
| Principles | the decisions that constrain everything else |
Guides
Task-shaped. Each one is something you actually want to do.
| Getting started | serve the fixture corpus and query it |
| Alongside an existing RAG system | use Hive as an ingestion stage, and measure whether your problem is recall or ranking |
| Building a corpus | ingesting files with hive-ingest and publishing through Hive App, plus the scripted hive-prep route |
| Serving cards | running hive-serve, identity, client isolation, a remote connector |
| Calibrating the semantic layer | measure the relevance floor on your own questions before claiming the model helps |
| Corrections and memory | keeping a corpus true over time |
| Database objects | schema to cards without a model |
| Issue journal | deprecated importer - support tickets to client-scoped issue cards; see the replacement workflow |
Reference
Look things up here.
| Configuration | every setting, per package, with defaults |
| Metrics | everything on /metrics, and what to alert on |
| Diagram style | the house style every Mermaid block follows, and the checks that enforce it |
| hive-ingest · hive-apispec | local ingest (file ledger, credential/secret checks, Docling/sheet/diagram/API records, bloat removal, gap map and placement) and API specification records |
| hive-app · hive-serve | review and publication (Hive App web UI and MCP connector) and serving cards and records |
| hive-prep · hive-gen · hive-dbparse | scripted document preparation, card model / post-promote passes / citation lint (hive-gen model stages deprecated), and schema DDL to cards |
| hive-author (deprecated) · hive-zendesk (deprecated) | deprecated extensions kept for existing consumers |
hive-author is deprecated and planned for removal in a later release. The only supported write
route is the Hive App connector:
assistants file drafts, corrections and contributions through it, and reviewers approve them.
Architecture decisions
| Product and deployment boundary | what belongs in this repository, and what does not |
| Distributing the engine | what is released, how a version is cut, and what a consumer pins |
Project policies
The repository-level governance, support and roadmap pages ship beside this index; they are where the docs map's reader lands for "who decides" and "what comes next".
| Governance | who decides, maintainer powers, how a decision is made |
| Support | what the distributions support, how to get help |
| Roadmap | where the engine is today and what is deliberately not planned |
How to read the diagrams
Every diagram in these pages answers one question, named in its accessibility title, and uses the same six node roles: shape and colour say what runs where, and an unmarked node is deterministic code. A model is drawn dashed and lilac, so a path with no lilac on it calls no model; a person's decision is an amber hexagon; a dotted edge exists only when a key is configured or a signal may be empty; a thick edge is a write that passes human review. The rules, and the checks that enforce them, are in the diagram style guide.
What belongs here, and what does not
This repository documents the product. Documentation about applying Hive to a particular domain belongs with that deployment.
The dividing line is the one that governs the code: documentation of a mechanism is here, documentation of an application of that mechanism is not. The card pipeline, the facet model and the resolver are mechanisms. Distilling one vendor's product manuals, or the runbook for one organisation's servers, is an application.
So you will not find a host name, an IP address, a client name or a deploy procedure anywhere in these pages. If you find one, it is a bug worth reporting.
A note on names
OKF is the card format: a small specification of what a card file looks like, covering the
frontmatter keys, the five types, and the okf_version field. Cards written by Hive are readable
by anything that understands OKF, and Hive can serve OKF cards it did not produce.
Hive is the system that produces and serves them.
The distinction is practical. Anything below that says OKF describes the file format and is a
statement about data. Anything that says Hive describes software. Where okf_ prefixes survive
in configuration keys and metric names they predate the split and are kept deliberately, because
renaming them breaks running deployments and existing dashboards; the
configuration reference flags each one.