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
- FA score
- 60/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- 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.
- A data team wants several BI tools to share one definition of business metrics and dimensions instead of maintaining separate models.
- A SaaS product team is building customer-facing embedded analytics and wants to own the interface while serving governed data through APIs.
- An AI application team needs analytical agents to consume defined metrics, joins, and access rules rather than interpret raw database schemas independently.
- A platform team wants to self-host a semantic layer that connects to SQL warehouses such as Snowflake, Databricks, or BigQuery.
- 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/cubeThis 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
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 ↗ -
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?
Can Cube Core be deployed on infrastructure I control?
Which data sources can it connect to?
What license applies to the repository?
Are API authentication and data-source credentials documented here?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.