Directories
¶
| Path | Synopsis |
|---|---|
|
Package agenttools is the single source of truth for the platform's agent-callable capabilities.
|
Package agenttools is the single source of truth for the platform's agent-callable capabilities. |
|
Package cache is a result cache keyed by (caller, semantic query).
|
Package cache is a result cache keyed by (caller, semantic query). |
|
cmd
|
|
|
di
command
Command di drives the DataIntelligence platform.
|
Command di drives the DataIntelligence platform. |
|
Package config is the single boot contract for the DataIntelligence service: one YAML file declares the semantic model, sources, warehouse, governance, and auth, and the daemon starts entirely from it.
|
Package config is the single boot contract for the DataIntelligence service: one YAML file declares the semantic model, sources, warehouse, governance, and auth, and the daemon starts entirely from it. |
|
Package connectors reads data from sources (and, later, writes to sinks).
|
Package connectors reads data from sources (and, later, writes to sinks). |
|
Package convo adds conversation memory and multi-metric chaining on top of the grounding + governance + critic stack.
|
Package convo adds conversation memory and multi-metric chaining on top of the grounding + governance + critic stack. |
|
Package copilot wraps an agent-go agent that drives the platform: given a goal, the LLM autonomously calls governed platform tools (describe / list_metrics / get_dimensions / query_metric / health_check) and synthesizes an answer plus a governed recommendation.
|
Package copilot wraps an agent-go agent that drives the platform: given a goal, the LLM autonomously calls governed platform tools (describe / list_metrics / get_dimensions / query_metric / health_check) and synthesizes an answer plus a governed recommendation. |
|
Package critic is the formal verification step of the agentic loop: after a question is grounded and executed, a critic judges the result along four fixed dimensions — grain, coverage, sanity, and metric-identity — and returns a verdict: pass | revise | ask_user.
|
Package critic is the formal verification step of the agentic loop: after a question is grounded and executed, a critic judges the result along four fixed dimensions — grain, coverage, sanity, and metric-identity — and returns a verdict: pass | revise | ask_user. |
|
Package destinations is the right edge of the data plane: Sinks deliver query or pipeline output somewhere.
|
Package destinations is the right edge of the data plane: Sinks deliver query or pipeline output somewhere. |
|
Package engine is the query spine: it ties the semantic model + compiler (semantic-go) to a real warehouse.
|
Package engine is the query spine: it ties the semantic model + compiler (semantic-go) to a real warehouse. |
|
Package flow is the platform's Run plane: a workflow engine that runs steps in order, pauses at Human nodes for approval, and supports saga-style rollback (each step's Compensate is run in reverse on rollback/reject).
|
Package flow is the platform's Run plane: a workflow engine that runs steps in order, pauses at Human nodes for approval, and supports saga-style rollback (each step's Compensate is run in reverse on rollback/reject). |
|
Package governance enforces policy at the query boundary: metric RBAC (you can't even name a metric you're not authorized for), column masking on the result, and an append-only audit trail.
|
Package governance enforces policy at the query boundary: metric RBAC (you can't even name a metric you're not authorized for), column masking on the result, and an append-only audit trail. |
|
Package grounding is the context-engineering core: it indexes metric metadata in cortexdb, retrieves the top-K relevant metrics for a question (so the LLM sees only those, not the whole catalog), then asks the agent-go LLM to emit a semantic query — or a clarification when ambiguous.
|
Package grounding is the context-engineering core: it indexes metric metadata in cortexdb, retrieves the top-K relevant metrics for a question (so the LLM sees only those, not the whole catalog), then asks the agent-go LLM to emit a semantic query — or a clarification when ambiguous. |
|
Package ingest maps a source into the warehouse: infer a mapping (source field → model field), run key/data checks, surface a structure diff, and land the rows.
|
Package ingest maps a source into the warehouse: infer a mapping (source field → model field), run key/data checks, surface a structure diff, and land the rows. |
|
Package mcp exposes the platform's foundational tools as a standalone MCP server (official github.com/modelcontextprotocol/go-sdk).
|
Package mcp exposes the platform's foundational tools as a standalone MCP server (official github.com/modelcontextprotocol/go-sdk). |
|
Package modelgen turns a live warehouse into a semantic-model draft: introspect the schema (tables, columns, keys, foreign keys), then generate entities / joins / dimensions / metrics — heuristically, optionally refined by an LLM.
|
Package modelgen turns a live warehouse into a semantic-model draft: introspect the schema (tables, columns, keys, foreign keys), then generate entities / joins / dimensions / metrics — heuristically, optionally refined by an LLM. |
|
Package nleval is the natural-language evaluation closed-loop: a labeled question set, three-axis scoring (semantic / execution / result), governance probes, a CI gate, and a persisted accuracy dashboard.
|
Package nleval is the natural-language evaluation closed-loop: a labeled question set, three-axis scoring (semantic / execution / result), governance probes, a CI gate, and a persisted accuracy dashboard. |
|
Package nodes is the field-level rule engine (whiteboard "Data Node"): when the same entity arrives from multiple sources, field rules decide the surviving value (conflict resolution, source-based or value-based), enforce required fields, and raise field-level alerts.
|
Package nodes is the field-level rule engine (whiteboard "Data Node"): when the same entity arrives from multiple sources, field rules decide the surviving value (conflict resolution, source-based or value-based), enforce required fields, and raise field-level alerts. |
|
Package obs is lightweight, OTel-shaped observability: a trace is a set of spans (name + duration + attributes) sharing one trace_id, persisted to the warehouse so a wrong answer can be traced back.
|
Package obs is lightweight, OTel-shaped observability: a trace is a set of spans (name + duration + attributes) sharing one trace_id, persisted to the warehouse so a wrong answer can be traced back. |
|
Package reconcile finds cross-source data conflicts and (optionally) has an LLM triage them.
|
Package reconcile finds cross-source data conflicts and (optionally) has an LLM triage them. |
|
Package rollout is the production change-management plane (M21): a persisted model-version registry, deterministic canary traffic-splitting, and lineage-driven cache invalidation.
|
Package rollout is the production change-management plane (M21): a persisted model-version registry, deterministic canary traffic-splitting, and lineage-driven cache invalidation. |
|
Package runtime is the control plane over HTTP: the execution dashboard (flow runs + approve/reject/rollback), governed query, data explorer, and lineage (chain-of-change).
|
Package runtime is the control plane over HTTP: the execution dashboard (flow runs + approve/reject/rollback), governed query, data explorer, and lineage (chain-of-change). |
|
ui
Package ui is the embedded web console: server-rendered Go templates + htmx + Alpine + GSAP + Tailwind, all go:embed'd into the di binary and served by `di serve` at /ui.
|
Package ui is the embedded web console: server-rendered Go templates + htmx + Alpine + GSAP + Tailwind, all go:embed'd into the di binary and served by `di serve` at /ui. |
|
Package spiderbench runs the Spider text-to-SQL benchmark through the governed semantic layer and reports it HONESTLY: DataIntelligence only answers metric×dimension analytical queries, so most Spider questions (row-level lookups, rankings, sub-queries, set operations) are out of scope by design.
|
Package spiderbench runs the Spider text-to-SQL benchmark through the governed semantic layer and reports it HONESTLY: DataIntelligence only answers metric×dimension analytical queries, so most Spider questions (row-level lookups, rankings, sub-queries, set operations) are out of scope by design. |
|
Package warehouse executes compiled SQL against a real warehouse with cost guardrails (timeout + row cap) at the boundary.
|
Package warehouse executes compiled SQL against a real warehouse with cost guardrails (timeout + row cap) at the boundary. |
|
Package writeback is the production write-path: the AI agent turns a natural language request into a TYPED, validated change proposal (never raw SQL), confined to a declared allowlist of writable tables/columns/operations.
|
Package writeback is the production write-path: the AI agent turns a natural language request into a TYPED, validated change proposal (never raw SQL), confined to a declared allowlist of writable tables/columns/operations. |
Click to show internal directories.
Click to hide internal directories.