Skip to content

Cube Cloud vs Cube Core: feature cross-reference ​

Prepared to plan building Cube Cloud features ourselves on open-source Cube Core.

  • Docs snapshot: docs.cube.dev, downloaded 2026-12-02. 337 pages plus 4 OpenAPI specs (core-data, chat, platform api: 226 operations, scim). Kept in source/ (git-ignored: it is Cube's content, for local reference). Paths such as pages/docs/... in the findings files are relative to source/.
  • Core baseline: cubejs/cube:v1.8.35, the image cubebi runs. Every Core/Cloud call was checked against the code in that image (/cube/node_modules/@cubejs-backend/*) and the Core config reference, because the docs mark availability inconsistently. Most pages carry no plan badge.
  • Detail: findings/01…08 hold one section per feature: behaviour a re-implementer needs, availability with evidence, Core building blocks, components to build, effort and gotchas. This README is the map; the findings are the territory.

Labels: CORE = open-source engine does it · CORE+CLOUD = engine part is Core, Cloud adds UI or automation · CLOUD-ONLY = we build it. Effort: S days · M 1–2 weeks · L 3–6 weeks · XL months (one engineer).


1. Bottom line ​

SlicePagesFeaturesCORECORE+CLOUDCLOUD-ONLY
01 Charts & dashboards39540945
02 Workbooks, chat, alerts, content303311517
03 Data modeling42281576
04 Pre-aggregations & recipes59292243
05 Data sources & deployment6938111215
06 Admin: AI, monitoring, users43330924
07 Embedding & Cloud APIs22 + specs405431
08 Core APIs & integrations33 + spec3517612
Total (some features appear in more than one slice)3372907166153

The engine is Core; the product is Cloud.

  • Already ours (Core): modeling, access control, the query planner, pre-aggregations and Cube Store, every query API (REST, SQL, GraphQL, WebSocket), multitenancy hooks, 23 database drivers.
    • Several of these carry "Enterprise" badges in the docs (ksqlDB streaming, multi-router hooks) yet work in Core.
  • To build: everything a person clicks on.
    • Workbooks, dashboards and controls.
    • The AI agents, including rules, memories, skills, evals and the MCP server.
    • Schedules, alerts and deliveries; comments and reviews.
    • Users, roles, SSO and SCIM.
    • Signed embedding, the Sheets/Excel/Slack add-ins, monitoring UIs, and the managed control plane.
  • There is no LLM code in Core at all. I grepped the image for MCP, chat, OpenAI, Anthropic and LLM.

2. The Core foundation we build on (verified in v1.8.35) ​

CapabilityHow to use itStatus in cubebi today
/v1/load, /v1/meta, /v1/sql, /v1/dry-runQuery builder, catalog, generated SQL✅ used, proxied
/v1/cubesql (+ /params)Semantic SQL with MEASURE() and :name parameters. The AI agent's query tool, workbook SQL tabs❌ blocked by our proxy allowlist
/v1/convert-querySemantic SQL → REST JSON: turn agent SQL into an editable chart❌ not proxied
/v1/sql-filtersInject/replace filters inside a Semantic SQL query: dashboard controls over SQL-based tiles❌ not proxied
/v1/meta?extendedUndocumented. Adds member SQL, joins, file names, pre-aggs: lineage and metadata API rebuild❌ not proxied
DELETE /v1/running-query/:idCancel long queries (chat abort, dashboard navigation)❌ not proxied
SQL API (Postgres wire)BI tools, notebooks, Sheets/Excel via ODBC. checkSqlAuth, canSwitchSqlUser❌ off (CUBEJS_PG_SQL_PORT unset)
/cubejs-system/v1/pre-aggregations/*list, partitions, preview, build, cancel, queue, security-contexts, timezones: backend of a Pre-Aggregations console❌ off (needs CUBEJS_PLAYGROUND_AUTH_SECRET)
/v1/pre-aggregations/jobs (Orchestration API)Trigger and poll builds from a scheduler or Airflow❌ off (needs jobs in CUBEJS_DEFAULT_API_SCOPES)
logger hook / CUBEJS_AGENT_ENDPOINT_URLEvery query/log event, streamed in batches as JSON: Query History, performance and usage analytics❌ not collected
Access policies with groups / userAttributesRewritten at compile time to securityContext.cubeCloud.{groups,userAttributes}. Put those claims in our JWT and set contextToGroups (no default; without it only group: "*" matches)❌ JWT has no user claims
Dimension links (url, dashboard: <slug>)Core adds <dim>___link_<name>_url columns: drill-through is half built❌ unused
drill_members, custom granularities, compareDateRange, time_shift, multi-stage measuresDrill-down, period-over-period, rolling windowspartly (model only)
Multitenancy: contextToAppId, contextToOrchestratorId, driverFactory, repositoryFactory, schemaVersion, scheduledRefreshContextsPer-tenant models and data sources; per-branch "dev environments"❌ single tenant
queryRewrite, checkAuth, extendContext, contextToApiScopes, JWKSAuth, row-level security, API scopes per rolepartial (checkAuth only)
WebSocket transport (CUBEJS_WEB_SOCKETS)Live dashboards / real-time refresh❌ off
Model meta keys (ai_context, auto_run, default_ui_filters)Core passes them through /v1/meta but nothing in Core acts on them: our app and agent must—

Full hook-by-hook list: findings/08 › Core extension points.


3. Capability map by product area ​

Each row is the deduplicated view across slices. "Effort" is to reach a usable version on Core. Details and behaviour specs are in the linked findings file.

A. Semantic layer & modeling (03, 04) ​

FeatureStatusEffortNotes
Cubes, views, joins (aliases), measures incl. multi-stage, calendar cubes, multi-fact views, hierarchies, view groups, extends, Jinja/Python dynamic modelsCORE—Tesseract planner is the default in 1.8.x
Access policies (member/row level, masking, conditions)CORESNeeds our identity claims plus contextToGroups
AI context (description, meta.ai_context ≤2,000 chars)CORE+CLOUDMCore stores it; our agent must assemble prompts from it
Display metadata (format, dynamic format, currency)CORE+CLOUDSRender ___format in our charts
Data Model IDE, dev-mode branches, AI commit messagesCLOUD-ONLYLrepositoryFactory + schemaVersion + Git. Never use Core CUBEJS_DEV_MODE multi-user: it disables auth
Visual modeler (ERD)CLOUD-ONLYL–XLYAML round-trip is the hard part
Content Validator (find reports broken by model changes)CLOUD-ONLYMNeeds our report store + /v1/meta diff
Access Policies viewerCLOUD-ONLYMNo API exposes policies; run the schema compiler offline
Designing metrics (entity-first vs metrics-first views)guidance—Recipe page recipes/data-modeling/designing-metrics.md: a view-design choice, not a feature

B. Performance (04, 05) ​

FeatureStatusEffortNotes
Pre-aggregations: rollups, partitions, incremental refresh, lambda/streaming, rollup_join, indexes, export bucketsCORE—Running today
Self-hosted Cube Store clusterCOREMNo replication (Cloud-only); HA = redundant clusters. No Azure Blob
Pre-Aggregations console, build historyCORE+CLOUDMUI over the system endpoints (section 2)
Warm-up on deployCORE+CLOUDS–MOrchestration API + /readyz
Multi-cluster / per-tenant refresh shardingCORE+CLOUDM–LcontextToOrchestratorId, contextToCubeStoreRouterId

C. Query APIs & integrations (08) ​

FeatureStatusEffortNotes
REST, GraphQL, SQL API, WebSockets, JS SDK (React/Vue/Angular)CORE—Turn on the SQL API port
Postgres-wire BI tools and notebooks (Superset, Metabase, Tableau, Jupyter)CORESVia the SQL API
Metadata API (entities, lineage, model export)CLOUD-ONLYMBuild on /v1/meta?extended
MCP serverCLOUD-ONLYM (query subset) – LTools over meta/cubesql; run with the user's JWT
Slack app + Slack agentCLOUD-ONLYM–LNeeds agent + renderer
Google Sheets / Excel add-insCLOUD-ONLYL (XL for Excel PivotTables over XMLA)DAX/MDX APIs are Cloud-only
dbt: cube_dbt packageCORESImage lacks pip; build a custom image
dbt managed pull/push, Snowflake Semantic Views, Databricks Metric Views, OssieCLOUD-ONLYM eachGenerators over /v1/meta?extended

D. Identity, security & administration (06, 07) ​

FeatureStatusEffortNotes
JWT auth, JWKS, security context, queryRewriteCORES
User groups and user attributes driving RLSCORE+CLOUDSMint cubeCloud.{groups,userAttributes} claims
Users, invites, roles + permission matrix, API keysCLOUD-ONLYMApp RBAC + contextToApiScopes
SSO (OIDC/SAML), SCIM provisioningCLOUD-ONLYM eachIdP library; SCIM server over our user tables
Custom rolesCLOUD-ONLYM–LPolicy engine + role builder UI
Audit logCLOUD-ONLYS–MEvent table written by our control plane
App themes, chart palettes, dashboard themesCLOUD-ONLYSCSS variables (cubebi already has light/dark)

E. Exploration & workbooks (02) ​

FeatureStatusEffortNotes
Report as the central object (exploration = report without a workbook; dashboard tiles reference reports)CLOUD-ONLY—Design decision: adopt it. Deliveries, alerts, apps and add-ins all key off reports
Workbooks (tabs, launchpad, duplicate, versions, promotion)CLOUD-ONLYL
Query builder: filters, Top N with "Other", pivot, totals/subtotals, fill missing rows, period-over-periodCORE+CLOUDMTop N/Other via SQL API window functions; subtotals = one query per level
Calculated fields (+ promote to model)CORE+CLOUDM + MSQL API expressions; promotion writes YAML via Git
SQL parameters (:name)CORE+CLOUDS–M/v1/cubesql params
Inspect query (Semantic SQL, generated SQL, JSON, GraphQL)CORE+CLOUDMcubebi has generated SQL + JSON already
Freshness / pre-agg indicatorsCORE+CLOUDScubebi shows the pre-agg badge; add lastRefreshTime
Security-context testing ("view as user")CORE+CLOUDS–MMint a JWT for another user (admin only)
Source SQL tabs / Cube Store SQLCLOUD-ONLYMDrivers in a sidecar; guard carefully
Python analysisCLOUD-ONLYLSandbox
Apps (agent-generated code dashboards)CLOUD-ONLYXLSandboxed iframe runtime + LLM codegen

F. Charts & dashboards (01) ​

FeatureStatusEffortNotes
Chart types: bar/line/area/scatter/pie/funnel/heatmap/boxplot/bullet/KPI/sankey/map/HTMLCLOUD-ONLYS each (M for map, sankey, KPI)cubebi has 8. Cloud renders with Vega-Lite v5 (matters for AI-generated charts)
Table: pivot, freeze, grouping, totals, conditional formatting, in-cell bars, sparklines, links, imagesCLOUD-ONLY / CORE+CLOUDLLinks and image formats come from Core
Series config, axes, reference lines, trend lines, small multiplesCLOUD-ONLYM
Dashboard file format: 11 widget types, x/y/w/h grid, filter/cross-filter/time-grain/field-switcher shapesCLOUD-ONLY—Spec published in source/specs/api.yaml: copy it
Builder canvas, responsive grid, stack/grid/tabs layouts, text widgetsCLOUD-ONLYM–Lreact-grid-layout
Controls: filters (Top N, relative dates), value lists, time-grain and field switchers, parent controls/presets, dynamic controls, URL stateCORE+CLOUD / CLOUD-ONLYLURL state format is documented exactly. Natural-language dates need the small LLM
Cross-filteringCLOUD-ONLYM (L with highlight mode = 2 queries per chart)Filters persist in the URL
Drill-throughCLOUD-ONLYMCore links with dashboard: target + URL-filter landing
Drill-down, value menuCORE+CLOUDMdrill_members, granularities
Publishing, versions, revision historyCLOUD-ONLYMPrerequisite for reviews
Downloads PNG/PDF/CSV, printCLOUD-ONLYLHeadless Chrome service (shared with deliveries)
Live updates, freshness, presentation/TV modeCORE+CLOUD / CLOUD-ONLYS–MWebSockets or renewQuery polling
Comments (incl. data-point pins), reviewsCLOUD-ONLYL eachReviews need versioned reports + notifications
Dashboards as codeCLOUD-ONLYS–MJSON/YAML in Git + an apply endpoint
Dashboard AgentCLOUD-ONLYLSame agent service + dashboard-state tools; changes are per-session, not saved

G. AI agents (02, 06, 07) ​

FeatureStatusEffortNotes
Analytics Chat (NL → Semantic SQL, multi-query, charts, save as report)CLOUD-ONLYL (MVP) / XL (parity)Tools: meta, /v1/cubesql, save report, folder ops, schedule ops. Always query with the end user's JWT
Chat API protocol (NDJSON stream, in-place message updates by id, __state__/__status__/__usage__/__aborted__ frames)CLOUD-ONLY—Documented in 07: copy it so clients stay compatible
Agent config as code (agents/config.yml)CLOUD-ONLYM–LFull property list in 06
Rules (always / agent_requested, conditions on groups/attributes)CLOUD-ONLYSConditions filter prompts; they are not security
Certified queries (trusted Semantic SQL examples, retrieval by user_request)CLOUD-ONLYS–MValidate on every deploy
Skills (named workflows, slash menu)CLOUD-ONLYS
Multi-agent, spaces, memories (vector store)CLOUD-ONLYM eachChanging the embedding model orphans memories
LLM providers / BYOM, small-LLM routing, extended thinkingCLOUD-ONLYMSmall LLM does titles, suggestions, date parsing
MCP connectors (outbound tools)CLOUD-ONLYM (L with per-user OAuth)
Evals (exact grader + LLM judge, algorithm documented)CLOUD-ONLYMDirectly portable
Workbook Agent (authoring)CLOUD-ONLYL
AI tokens, quotas, spend limitsCLOUD-ONLYS–MLLM gateway metering
Chat history, sharing (view-only, replays transcript), voice inputCLOUD-ONLYS–M

H. Scheduling: deliveries, alerts, tasks (02, 07) ​

FeatureStatusEffortNotes
Dashboard refreshes and deliveries (email/Slack, AI summary)CLOUD-ONLYLScheduler + headless renderer
AlertsCLOUD-ONLYM (after deliveries)Exact semantics matter: fire on transition into the condition only; evaluate the last complete period; "unusual" = outside median ± 3×MAD with ≥8 prior points; no-time charts keep the last 30 checks; run as the owner
Scheduled agent tasks (incl. conditional)CLOUD-ONLYLAgent + scheduler
Report deliveries to Google SheetsCLOUD-ONLYMGoogle OAuth

I. Content & collaboration (02) ​

FeatureStatusEffortNotes
FoldersCLOUD-ONLYS–M
Content permissions: view / edit / full; inherited, closest folder wins; capped by the user's roleCLOUD-ONLYMSeparate from Core's data security
Inbox / notificationsCLOUD-ONLYM
Preferences (time zone etc.)CORE+CLOUDS–MQuery timezone is Core

J. Embedding (07) ​

FeatureStatusEffortNotes
Headless embedding (your UI on Core APIs), multitenancyCORES–LWhat cubebi does now
Signed embedding (one-time 5-min session id → 24 h token, revocation)CLOUD-ONLYMToken service + denylist in checkAuth
Private (SSO) iframe embedding, embedded dashboards, embedded chatCLOUD-ONLYM–L
postMessage events/actions, feature visibility, localization, themesCLOUD-ONLYS–M each
React Embed SDKCLOUD-ONLYM–L
Creator mode (tenants author their own dashboards)CLOUD-ONLYXLEffectively the whole product, multi-tenant

K. Monitoring & operations (06) ​

FeatureStatusEffortNotes
Query History (+ export)CORE+CLOUDM–Llogger / agent-endpoint events → table. Events are not redacted
Performance InsightsCORE+CLOUDS–MSame events + Cube Store statsd. Core has no Prometheus /metrics
Usage analyticsCLOUD-ONLYMModel our own telemetry tables as cubes: dogfood
Alerts on service healthCLOUD-ONLYS/readyz, /livez, log events
Query tracing / attributionCORESCUBEJS_SQL_INCLUDE_TRACE_ID, per-driver query tags

L. Deployment & infrastructure (05) ​

Mostly not worth rebuilding for a self-hosted product. Managed regions, BYOC, PrivateLink, custom domains, CMK and Cloud limits are things you get from your own infrastructure. Worth taking:

  • Environments per Git branch (L): repositoryFactory plus contextToAppId.
  • Connection-management UI with test-connection (M).
  • Per-user OAuth to data sources (M–L): driverFactory plus contextToOrchestratorId.
  • Version pinning/upgrades (S).

4. Where the docs and Core disagree ​

  1. "Cloud-only" groups and user attributes work in Core (CubePropContextTranspiler rewrites them). Core gives contextToGroups no default, so group: policies silently never match until you set it.
  2. "Enterprise" features that are plain Core: ksqlDB/Kafka streaming pre-aggregations, multi-router context hooks, query tracing.
  3. Undocumented Core endpoints: /v1/meta?extended and /cubejs-system/v1/pre-aggregations/*.
  4. Redshift role: the docs say CUBEJS_DB_AWS_ROLE_ARN; Core reads CUBEJS_DB_REDSHIFT_ASSUME_ROLE_ARN.
  5. "Third-party drivers" are official: Dremio, CrateDB, Trino and Vertica ship as Cube packages in the Core image.
  6. Drivers that are really missing: MS Fabric and SingleStore. Databricks needs the -jdk image; cubebi's image has no Java.
  7. Platform spec vs docs: the spec deprecates groupDefinitions in favour of tenantGroups, and chat requests accept images. The docs mention neither.
  8. Inert hooks: semanticLayerSync is accepted by the config validator but never called, and CUBEJS_AUTO_RUN_MODE is defined but unused.
  9. Missing from the machine-readable index: recipes/data-modeling/designing-metrics.md is linked from the recipes overview but not listed in llms.txt. It was fetched separately and is included in source/.

Ordered by dependency: each phase unlocks the next. cubebi today has a query builder, 8 chart types, saved charts and simple dashboards.

 Phase 0  Core switches ───────────────┐
 Phase 1  Identity + content store ────┼──► Phase 2  Dashboards v2 ──► Phase 4  Scheduling, alerts, exports
                                       └──► Phase 3  AI agent ────────► Dashboard Agent, scheduled agent tasks
 Phase 5  Ops console (needs only Phase 0)        Phase 6  Collaboration, embedding, MCP (needs 1–3)

Phase 0: turn on what Core already has (S, ~2–3 days)

  • Proxy cubesql, cubesql/params, convert-query, sql-filters, meta?extended and running-query through cubebi-web.
  • Enable the SQL API on the next free localhost port (18454).
  • Add jobs to the API scopes, server-side only.
  • Set contextToGroups.
  • Install a logger hook that writes events to a bi_app.query_log table. Redact SQL parameters before storing.
  • Enable the system endpoints only behind the backend, and test for side effects first.

Phase 1: identity and the content model (L)

  • Users, groups, user attributes and roles. Login via OIDC; Keycloak or similar can be added as a cubebi- service.
  • Mint per-user Cube JWTs with cubeCloud.{groups,userAttributes} claims, so access policies enforce row-level security.
  • Replace charts with reports as the central object.
  • Add folders and content permissions (view/edit/full, closest folder wins, capped by role).
  • Audit log table.

Phase 2: dashboards v2 (L)

  • Adopt Cloud's dashboard schema from api.yaml: grid layout and 11 widget types.
  • Controls with URL state; cross-filtering; drill-through over Core links; drill-down.
  • Richer tables (pivot, totals, conditional formatting).
  • Versions/publish.
  • Dashboards-as-code files in Git.

Phase 3: AI agent (L for the MVP)

  • Agent service:
    • Uses the Claude API, with Claude Fable 5.2 or Opus 5.5 as the main model and Haiku 5.5 for small tasks.
    • Tools: list_views (/v1/meta), query (/v1/cubesql, run as the user), save_report, to_chart (/v1/convert-query).
    • Streams the Chat API's NDJSON protocol.
  • Agent config: an agents/ folder with config.yml, rules, certified queries and skills.
  • Evals from day one, using the documented grader.
  • Then: the Dashboard Agent and the Workbook Agent.

Phase 4: scheduling and delivery (L)

  • Job scheduler.
  • Headless-Chrome renderer for PNG/PDF; also gives downloads.
  • Email/Slack delivery.
  • Alerts with the exact semantics in section 3H.
  • Scheduled agent tasks.

Phase 5: ops console (M), can run in parallel after Phase 0

  • Query History and Performance views over query_log.
  • Pre-Aggregations console over the system endpoints.
  • Usage analytics modelled as cubes over our own tables.

Phase 6: collaboration and distribution (M–L each)

  • Comments and reviews.
  • Signed embedding.
  • MCP server (same tools as the agent).
  • Slack app, SSO/SCIM, and Sheets/Excel only if needed.

Rough total to reach a credible "Cube Cloud-like" product: about 6–9 engineer-months for Phases 0–5. Phases 2 and 3 carry most of the user-visible value. Creator mode, Apps, Python analysis, the Excel PivotTable/XMLA connector and Cube Store replication are XL each; leave them out unless a customer needs them.


6. Risks and gotchas to keep in view ​

  • Governance:
    • Every agent, delivery and alert query must run with a real user's JWT. Deliveries and alerts use the owner's. A service token bypasses row-level security.
    • Agent rule conditions only filter prompts; they are not access control.
  • Content security is separate from data security. Sharing a dashboard must not grant data access. Cloud re-checks data access for shared chats and dashboards.
  • The logger stream contains raw SQL and filter values. Redact before storing or exporting.
  • CUBEJS_DEV_MODE disables authentication. Never use it for a multi-user environment.
  • Licensing: Cube Core is Apache-2.0. The docs in source/ are Cube's content, for reference only; don't copy them into the product, and they are git-ignored. Reimplementing behaviour and wire formats (dashboard schema, Chat API) is fine. Don't reuse Cube's names or branding for the product.