operational-ontology
View on GitHubA minimal, readable reference implementation of the Operational Ontology pattern. Palantir Foundry is one implementation; this is the concept, minimized.
Minimal TypeScript reference implementation of the Operational Ontology pattern: semantic objects and links over external systems plus actions that enforce preconditions, audit refusals, and write back. Serves the model as MCP tools so AI agents act under the same business rules.
Use Cases
Generate MCP tools from a domain modelGovern AI agent writes through named audited actionsEnforce preconditions like 'shipped orders cannot be cancelled'Read unified objects and links across incompatible legacy systemsWrite changes back to systems of recordAudit applied and refused action attemptsExpose business rules to agents instead of prompt logicQuery aggregates over integrated order dataFactory lot-contamination follow-up tasksHospital bed/nurse allocationFinance shared-recipient investigation casesReference for modeling ownership of state (source-backed, ontology-owned, derived)
Built With
- Language
- TypeScript
- Frameworks
- Model Context Protocol SDK · Zod · better-sqlite3 · Node.js · TypeScript · tsx
Tags
ontology · operational-ontology · mcp-server · ai-agents · domain-modeling · action-gate · preconditions · audit-log · write-back · semantic-layer · business-rules · reference-implementation · typescript · sqlite · tool-generation