{
  "markdown": "# OCL standard\n\nOCL is an experimental open format for giving AI systems structured, scoped,\nand verifiable business meaning for Odoo.\n\nAn Odoo connector explains how to reach records. An OCL context pack explains\nwhat relevant records and fields mean, which tempting interpretations are\nwrong, what ambiguity must be resolved, and which safety boundaries still\napply.\n\n```text\nquestion -> OCL context -> AI reasoning + existing connector -> Odoo\n```\n\n## Use OCL\n\nChoose the surface that fits your product:\n\n| Route | Call | Benefit | Alpha availability |\n| --- | --- | --- | --- |\n| MCP for AI agents | `get_context`, `resolve_noun`, `explain_field` | Put scoped Odoo meaning directly in an agent's tool loop | Public example or invitation runtime |\n| CLI | `get-context \"What is revenue?\"` | Inspect a context pack and its warnings immediately | Public examples now |\n| Python validator | `validate_entry(entry, schema)` | Read and produce interoperable OCL documents | Available now |\n| TypeScript integration | Five production operation shapes | Connect a product to the verified hosted runtime | Source alpha and invitation runtime |\n\nClone and try the context behavior:\n\n```bash\ngit clone https://github.com/Nantiai/ocl-standard.git\ncd ocl-standard\npython reference/python/ocl_examples.py get-context \"What is revenue?\"\n```\n\nThe result asks which revenue definition applies and returns the paired warning\nagainst treating `account.move.amount_total` as universal revenue.\n\n### Add the example MCP to an agent\n\n```json\n{\n  \"mcpServers\": {\n    \"ocl-public-examples\": {\n      \"command\": \"python\",\n      \"args\": [\n        \"/absolute/path/to/ocl-standard/reference/python/ocl_examples.py\",\n        \"serve-mcp\"\n      ]\n    }\n  }\n}\n```\n\nThis local server demonstrates the real OCL tool contract using ten public\ncandidate examples. It is not the commercial Odoo 19 runtime.\n\nSee **[Using OCL](docs/USING_OCL.md)** for the integration flow, MCP calls,\nCLI commands, SDK examples, response handling, and current access boundary.\nConnector and MCP implementers should freeze against the\n**[connector runtime contract](docs/CONNECTOR_CONTRACT.md)** and its conformance fixture.\nHosted runtime clients can follow the **[verified alpha call guide](docs/HOSTED_ALPHA.md)**.\nDevelopers can first **[try one live verified decision](https://api.context.nanti.ai/demo/revenue)**,\nthen **[start a scoped seven-day trial](https://api.context.nanti.ai/request-access)**\nwithout GitHub, package installation, Odoo credentials, or customer data.\nThe [GitHub request](https://github.com/Nantiai/ocl-standard/issues/new?template=runtime-alpha-access.yml)\nand [email](mailto:hello@nanti.ai?subject=OCL%20developer%20alpha%20access)\npaths remain available as fallbacks.\n\nThis repository contains the open interoperability layer:\n\n- JSON Schemas for semantic entries and request-scoped context packs;\n- a dependency-light Python validator and TypeScript client shape;\n- ten Odoo 19 candidate examples covering the major knowledge types;\n- an executable conformance suite;\n- an example-only resolver and MCP server;\n- public benchmark methodology.\n\nIt does **not** contain nanti.ai's commercial registry, production assembler,\nverification harness, source fingerprints, private benchmarks, tenant\noverlays, memory, or unreleased ontology candidates.\n\n## Status\n\nVersion `0.1.0` is an experimental technical alpha. The format can change while\nindependent implementations test it. The examples demonstrate the format; they\nare not the commercial verified registry and do not carry a lifetime guarantee.\n\nOdoo 19 is the only current stock-version focus.\n\n## External developer alpha\n\nDevelopers can now clone the standard, run conformance, integrate the example\nMCP server, and report an independent implementation. See the\n[developer alpha guide](docs/DEVELOPER_ALPHA.md).\n\nThe public alpha is an interoperability surface, not free bulk access to the\ncommercial verified registry. A bounded verified runtime is live at\n`https://api.context.nanti.ai`; its native form immediately issues a scoped,\nexpiring evaluation key.\n\n## Core idea\n\n```text\nmeaning -> evidence -> rule -> assertion -> applicability -> confidence\n```\n\nFacts do not become verified because an LLM wrote plausible JSON. A conforming\ndocument describes evidence and assertions. A registry operator separately\ndecides which verification policy is sufficient for a release claim.\n\n## Learn more\n\n- [Introduction](https://nanti.ai/docs/context-layer/introduction)\n- [Technical alpha](https://nanti.ai/context-layer)\n- [Format v0](spec/v0/README.md)\n- [Quickstart](docs/QUICKSTART.md)\n- [Using OCL](docs/USING_OCL.md)\n- [Connector runtime contract](docs/CONNECTOR_CONTRACT.md)\n- [External developer alpha](docs/DEVELOPER_ALPHA.md)\n- [Governance](GOVERNANCE.md)\n- [Contributing](CONTRIBUTING.md)\n\n## Independence\n\nOdoo is a trademark of Odoo S.A. This project is independently developed and\nis not affiliated with or endorsed by Odoo S.A.\n\n## License\n\nThe open repository is licensed under the [Apache License 2.0](LICENSE). The\ncommercial OCL registry and services are separate and are not distributed by\nthis repository.\n",
  "bytes": 5159,
  "sha": "7e3866c9e47979f42598fb849f2580b2c360b424db9ca91b8a38fd1d556e0c63",
  "repo_slug": "nantiai/ocl-standard",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_nantiai_ocl_standard_ea6fd3eb/readme"
}