Cube Core

A governed semantic layer for consistent analytics across BI, embedded applications, and AI agents.

Source repo
cube-js/cube
Stars
★ 21k
Last updated
today v1.8.37
FARS reviewed
Nov 07, 2026 +19 new
License
NOASSERTION
Primary language
Rust

At a glance

How it runs
Self-hosted service
Works with
Universal · cross-platform
Cost
Free tier plus a paid hosted plan
Setup effort
Medium · a few setup steps
You'll need
DockerSQL data sourceShell / CLINetwork accessLocal filesystem
Typical use
A data team wants several BI tools to share one definition of business metrics and dimensions instead of maintaining separate models.
Not a fit if
  • Teams that need a ready-made BI UI or dashboards
  • Teams that must run fully offline without any commercial service
  • Teams unwilling to handle auth, RBAC, and multi-tenancy themselves
Website
cube.dev ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v1.8.37 (2026-12-02)+5.7 ★/day over 7 days
Source review
60/100 · Some gaps

What does this agent do, and when should you use it?

Cube Core is an open-source, headless semantic layer for defining metrics, dimensions, joins, and access rules in code. It connects to SQL systems such as Snowflake, Databricks, BigQuery, Presto, Amazon Athena, and Postgres, then exposes the resulting model through SQL, REST, and GraphQL APIs. BI tools, custom applications, and AI agents can consume the same definitions instead of recreating business logic independently. A built-in relational caching engine targets sub-second latency and high concurrency for API requests. Cube Core can run locally or be self-hosted with Docker, but it does not provide an end-user interface; teams must build that experience or use the commercial Cube platform.

Users define metrics, dimensions, joins, and access rules in Cube Core code and mount the project directory at /cube/conf in the Docker container. Cube Core reads that model, queries connected SQL data sources, and returns governed analytical results through SQL, REST, and GraphQL APIs. Its built-in relational caching engine accelerates API requests and supports high concurrency. Visualization, chat, dashboards, and embedded user experiences remain the responsibility of downstream BI tools, custom applications, or AI agents because Cube Core itself is headless.

  1. A data team wants several BI tools to share one definition of business metrics and dimensions instead of maintaining separate models.
  2. A SaaS product team is building customer-facing embedded analytics and wants to own the interface while serving governed data through APIs.
  3. An AI application team needs analytical agents to consume defined metrics, joins, and access rules rather than interpret raw database schemas independently.
  4. A platform team wants to self-host a semantic layer that connects to SQL warehouses such as Snowflake, Databricks, or BigQuery.
  5. An API owner serving high-concurrency analytical workloads wants a built-in relational caching layer to reduce query latency.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • docker run -p 4000:4000 \
Ports
4000
Install notes cover
Docker

How do you install or deploy this agent?

Docker is required, along with a project directory that will hold Cube configuration. From that directory, run:

docker run -p 4000:4000 \
-p 15432:15432 \
-v ${PWD}:/cube/conf \
-e CUBEJS_DEV_MODE=true \
cubejs/cube

This starts Cube Core in development mode, mounts the current directory at /cube/conf, and exposes ports 4000 and 15432. Open http://localhost:4000 to continue setup. The supplied material does not specify exact data-source credential names or production deployment settings.

How do you use this agent?

After starting the container, open http://localhost:4000 and follow the setup flow to connect a SQL data source and create a data model. Define metrics, dimensions, joins, and access rules in that model. Downstream consumers can then query the model through Cube Core's SQL, REST, or GraphQL APIs. Exact endpoint paths, request bodies, and authentication settings are not included in the supplied material. The example sets CUBEJS_DEV_MODE=true for local setup and should not be treated as documented production configuration.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • One governed model can serve BI tools, embedded analytics, custom applications, and AI agents.
  • SQL, REST, and GraphQL interfaces accommodate different downstream integration styles.
  • Support spans multiple types of SQL systems, including cloud warehouses, query engines, and application databases.
  • The built-in relational caching engine is specifically intended for sub-second latency and high-concurrency API traffic.
  • Data models are described as compatible in both directions between Cube Core and the commercial Cube product.
Limitations
  • Cube Core is headless, so adopters must build or integrate dashboards, chat, and other end-user interfaces.
  • The documented quick start depends on Docker, a mounted local configuration directory, and two exposed ports.
  • The supplied setup material does not document data-source credential variables, API authentication, production hardening, or recovery procedures.
  • The repository-level license is marked NOASSERTION; only the Cube Client MIT license and Cube Backend Apache 2.0 license are explicitly identified, requiring component-level review.
  • RBAC, multi-tenancy, managed deployment, workbooks, and several office and BI integrations are presented as commercial Cube features rather than built-in Cube Core capabilities.

How does this agent compare with similar options?

Compared with the commercial Cube product, Cube Core is the self-hosted, headless semantic-layer option for teams that want to own their stack and build their own BI, embedded analytics, or AI-agent experience. Cube uses the same underlying semantic layer but adds Analytics Chat, workbooks, dashboards, embedded analytics surfaces, managed deployment, RBAC, multi-tenancy, and integrations with Tableau, Power BI, Excel, and Google Sheets. Data models are stated to work unchanged in either product.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Cube Core This agent 60 · Some gaps Self-hosted serviceFreemium ★ 21k today Rust —
WrenAI GenBI 54 · Major gaps CLIFreemium ★ 18k 1d ago Python Codex · Claude Code
Dex Analytics Engineering Toolkit 84 · Good Agent plugin / skillFree ★ 162 today Python Codex · Claude Code
ktx — Context layer for data agents 64 · Some gaps CLIFree + model costs ★ 1.6k 1d ago TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
60/ 100 5-point scale 3.0 / 5
This review covers the source as of Nov 07, 2026. The project has shipped 19 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 14/29
Reliability 8/14
Adaptability 12/18
Convention 11/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

The README explicitly warns that development mode bypasses REST/GraphQL JWT verification and that the SQL API accepts any credentials when no password is configured. The auth tests cover missing, invalid, and valid tokens. Shared code shows SQL, authentication, and security context passed through callbacks, supporting some access control and data flow understanding. Deductions: the packet does not show general user confirmation, rollback for write operations, a complete sensitive-data handling process, or dependency security auditing; evidence for controlling external effects is limited. Repository license files and the README identify the Cube project, but publisher identity remains unknown.

Reliability8 / 14 · 2.9/5

The README, CLAUDE.md, and package.json broadly agree on the repository structure and Yarn workspaces; the supplied tests cover authentication, caching, and date parsing. The native loader reports platform and Node version details on load failure, and callbacks propagate exception messages. Deductions: the excerpts cannot establish consistency across all components, dependency availability, or overall failure handling; the presence of test files is not executed verification.

Adaptability12 / 18 · 3.3/5

The README clearly describes semantic layer scenarios for data applications, BI, embedded analytics, and AI agents, and lists several SQL sources and APIs. CLAUDE.md locates backend, client, driver, Rust, and documentation components and describes development workflows. Deductions: this candidate is a semantic layer product rather than an Agent with explicit triggers and task boundaries; the supplied setup guidance covers local Docker use, while other environments require external documentation.

Convention11 / 18 · 3.1/5

The README, CLAUDE.md, Security Policy, workflow, and package manifest provide clear entry points, development conventions, vulnerability reporting channels, and version information; the README includes a Docker quick start and example resources. Deductions: the packet does not show a changelog or specific responsibility for dependency updates. License metadata is NOASSERTION; although LICENSE and README describe Apache 2.0 as the default and MIT for some components, component-level applicability still needs checking.

Effectiveness10 / 13 · 3.8/5

The README explains how the semantic layer unifies metrics, dimensions, joins, and access rules and exposes them through SQL, REST, and GraphQL to downstream consumers, providing clear reuse value. A Docker command and documentation links make initial setup accessible. Deductions: the packet does not quantify deployment, operating costs, or product outcomes; API usefulness depends on configured data sources and models.

Verifiability5 / 8 · 3.1/5

The product description, setup command, development commands, security warning, and vulnerability reporting process have concrete textual support; the auth tests and API gateway interface excerpt partly corroborate the security claims. Deductions: README performance and compatibility claims are primarily project assertions, and the packet is insufficient for independent verification. This review uses only the supplied files and neither executes code nor checks files not included.

Risks and how to mitigate them
  • Do not expose an instance with CUBEJS_DEV_MODE=true to the internet or use it in production. The README says this mode bypasses authentication and may allow data access and overwriting the model and .env.
  • License metadata is NOASSERTION; check the license for the specific components before use or distribution.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision f0f522f7aff5 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/cube.svg)](https://followagents.com/en/agents/cube)
<a href="https://followagents.com/en/agents/cube"><img src="https://followagents.com/badge/cube.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.8.37
    Release notes excerpt
    [1.8.37](https://github.com/cube-js/cube/compare/v1.8.36...v1.8.37) (2026-12-02) Bug Fixes - cubesql: Fix ARRAY_AGG(DISTINCT), keep late /v1/cubesql errors in stream ([#13213](https://github.com/cube-js/cube/issues/13213)) ([88e1be4](https://github.com/cube-js/cube/commit/88e1be4f8f2c723dd16f3c3445a70908b56518de)), closes [#13031](https://github.com/cube-js/cube/issues/13031) …
    View on GitHub ↗
  2. v1.8.36
    Release notes excerpt
    [1.8.36](https://github.com/cube-js/cube/compare/v1.8.35...v1.8.36) (2026-12-01) Bug Fixes - api-gateway: Keep a WS subscription dropped when unsubscribed during a load ([#13154](https://github.com/cube-js/cube/issues/13154)) ([c48a8a7](https://github.com/cube-js/cube/commit/c48a8a72f6b6bb410a59e986486e4a6787190dfe)) - api-gateway: Load source database rollups read by SQL API sub-queries ([#13053](https://github.com/cube-js/cube/issues/13053)) ([7a79a10](https://github.com/cube-js/cube/commit/7a79a10076f61a2342e9995447d9bc8ce1825679)) …
    View on GitHub ↗
  3. v1.8.35
    Release notes excerpt
    [1.8.35](https://github.com/cube-js/cube/compare/v1.8.34...v1.8.35) (2026-11-27) Bug Fixes - cubesql: Keep join subquery pre-aggregations in push-to-Cube SQL ([#12993](https://github.com/cube-js/cube/issues/12993)) ([2eb008a](https://github.com/cube-js/cube/commit/2eb008a9250c3612b816764a575ce273da853f2b)) - cubesql: Keep Tableau Sunday-start week instead of Monday week ([#13019](https://github.com/cube-js/cube/issues/13019)) ([239b228](https://github.com/cube-js/cube/commit/239b228f68f1215f344022af1de972372687d4ae)) …
    View on GitHub ↗

FAQ

Does Cube Core include dashboards or an analytics chat interface?
No. It is a headless semantic layer that serves SQL, REST, and GraphQL APIs. Analytics Chat, workbooks, and dashboards are listed as features of the commercial Cube product.
Can Cube Core be deployed on infrastructure I control?
Yes. The material explicitly supports local operation and Docker-based self-hosting using the cubejs/cube image.
Which data sources can it connect to?
It is described as working with all SQL data sources. Named examples include Snowflake, Databricks, BigQuery, Presto, Amazon Athena, and Postgres.
What license applies to the repository?
The repository metadata reports NOASSERTION. The supplied license section separately identifies Cube Client as MIT-licensed and Cube Backend as Apache 2.0-licensed, so adopters should review the licenses of the components they deploy.
Are API authentication and data-source credentials documented here?
No specific credential variables, authentication scheme, or complete API request examples are present in the supplied material. It only states that setup continues in the browser and that SQL, REST, and GraphQL APIs are available.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts