Get started
Pick a language. Each guide takes about ten minutes: install the Reader, open a signed example package, search it and cite what you find, then run the conformance corpus that every MOCA Reader passes. Each guide is run as written in its Reader’s CI.
TypeScript and JavaScriptThe reference Reader, @openmoca/moca-core. Node.js 22 or later.
.NETOpenMoca.Reader, with bindings for Microsoft.Extensions.AI, the Agent Framework and VectorData. .NET 10.
Pythonmoca-reader, for Python 3.11 and later. The same API, with Python names.
Not writing code?
Section titled “Not writing code?”- Try OpenMOCA: search real packages and open every result at its source, in the browser, with no account.
- Quickstart: make a package from Markdown and check it.
- Got a
.mocafile?: ask Claude Desktop, Claude Code, VS Code or Cursor about it, with one download. - MCP server: one download that gives any MCP client search and citations over your packages.
- Walkthrough: check, sign, review, index and serve a package to an AI agent, step by step.
Example packages
Section titled “Example packages”Each example is one .moca file from the latest specification release. A
Reader opens the file just as it opens a folder.
| Example | What it shows | Download |
|---|---|---|
| Minimal package | The smallest valid package: a manifest and one page | minimal |
| Support knowledge base | Signed and reviewed, two languages, an internal page, and quotes checked against the source terms | support-kb, and the trust root to verify it |
| Acme Support Knowledge Base | 34 pages in English and French: internal procedures, old and future policies, stale and disputed pages, reviews and a topic structure. The walkthrough uses it | acme-support |
| Policy corpus | Two versions of a policy, each with a validity window, the second superseding the first | 1.0.0, 2.0.0 |
| Composed handbook | A handbook built from two chapter packages, each pinned by its digest | handbook, and its chapters incident response and service ownership |
| PDF manuals | The FAA’s Airplane Flying Handbook, converted from 19 PDFs, cited to the page | airplane-flying-handbook |
| YouTube videos | A recorded talk and a playlist, cited to the moment | talk, playlist |
They are also in the moca-spec repository as folders, with how each was made.