Coframe¶
A grammar-layer framework for analytical data, designed for AI-native analytics.
Coframe is the query layer where silently wrong answers become structurally impossible. It sits between your data and the analysts, BI tools, and AI agents that consume it — answering analytical questions either correctly, with explicit annotations on how the answer was produced, or refusing to answer with a structured diagnostic explaining why the question was ambiguous.
What's distinctive¶
- Cross-grain navigation that's automatically correct. Ask
SUM(revenue) BY regionand Coframe picks the right schema, applies the right aggregation, and returns the right answer — whether your warehouse has revenue at transaction grain, at store-month grain, or at both. The Multi-Table Invariance theorem guarantees they agree. - Wrong answers aren't a class of outcome. Either Coframe returns a verified-correct result with attestation annotations, or it refuses the query with a diagnostic. There's no third "looks plausible but is silently incorrect" outcome that semantic layers and text-to-SQL both quietly produce.
- Designed for AI agents from the foundation. The family vocabulary, the (entity, family, operator) triple, the dubious-query mechanism, and the MCP integration mean an agent can express analytical intent without having to construct joins, group-bys, or NULL handling — the framework handles those structurally.
- Verification levels (A / AA / AAA). Every AC publishes its rigor posture as an ordinal level — the WCAG-of-analytics. Consumers (humans, BI tools, agents) branch on the level when deciding how much to trust a result.
Two editions¶
| Coframe Core | Coframe Pro | |
|---|---|---|
| License | Apache 2.0 | Commercial |
| Scope | Query workloads against existing analytical content | Sophisticated multi-backend, custom-operator analytical infrastructure |
| Backends | Polars, DuckDB | Any (Snowflake, BigQuery, federated) |
| Slowly Changing Attributes | Via ETL flattening | First-class structural support |
| Frame-QL output | Tabular | Tabular + future shapes |
| Status | Pre-v1.0 (in active development) | Roadmap |
This site documents Coframe Core.
Where to next¶
- Quickstart — 30 minutes from "what is this?" to "I see how it works."
- Demo — a real AC, validated end-to-end on the page.
- Article — practitioner's introduction. Conceptual, ~30 minutes of careful reading.
- Manual — the reference specification. For engineers building or implementing.
- Platform Design — engineering design of the open-source v1.0 release.
- Status — what's implemented, what's coming.