
Don’t have a database handy? The Guides section ships 5 ready-to-run sample projects (dbt Jaffle Shop, e-commerce, rental, SaaS analytics, Dutch railway), a good way to try the wizard before pointing it at your own data.
- SQLite
- DuckDB
Point at a local
.db file:What the wizard does
Configure an LLM (optional)
Skippable: the core works without one. See Configuring an LLM.
Ask your own questions
You now have a working context layer committed to your repo:SemanticQuery JSON file and pass it with -f instead; see canonic query for the full flag reference.
canonic knowledge search is not implemented yet; see CLI Reference: knowledge for its current status.Review what canonic drafted
It’s all an ordinary git diff:Out of the box vs. a bit more effort
Works immediately, zero modeling:- Connect a database (SQLite or Postgres) and canonic introspects the live schema.
- It auto-drafts semantics: typed columns, primary-key grains, foreign-key joins, and additive measures (sums, counts).
- The setup wizard ends by answering a real question from your data, so you see the payoff in minutes.
- Connect your agent over MCP and start asking.
- Canonical bindings: when two sources define “revenue” differently, you pick the authoritative one. canonic surfaces the ambiguity; you resolve it once.
- Knowledge prose: the business “why” behind a definition; canonic drafts it, you refine it.
- Guardrails & contracts: mandatory filters, required dimensions, final-vs-provisional rules. Added when a number needs protecting.
- Non-additive metrics: ratios, averages, distinct counts, balances. Declared as composable definitions so they stay correct at any grain.
- More sources: dbt / Metabase / Notion / web pages, layered on as context evidence. The connector contract is extensible, so a Confluence, Jira, or other wiki/knowledge-base connector can be added the same way.