DataRaum

io.github.dataraum由 GitHub 账号 dataraum 发布v0.2.1更新于 Oct 25, 2026

Pre-computed metadata context engine for AI-driven data analytics

已验证STDIO仅桌面知识与记忆数据与分析

概览

AI 生成的概览

DataRaum 是一个本地元数据上下文引擎,学习组织数据背后的概念、关系、规则与度量,并将其与实际数据对应起来。

可以做什么
学习数据列的含义——概念、关系、规则与度量——并将每一项与实际数据对应,附带可度量的置信度,而不只是列名的语义层。对数据源执行持久化分析,并把元数据写入各工作区独立的 Postgres schema。在 Web 驾驶舱中提供聊天代理,展示结果并触发引擎工作流。以隔离的工作区组织工作,每个工作区有自己的引擎与驾驶舱容器,位于门户与反向代理之后。支持从源码构建或使用已发布的镜像运行。
适用场景
当你希望助手帮助构建和探索组织自身数据的语义理解——概念、关系与度量——而不只是列名时使用。适合愿意在本地或部署主机上运行多容器平台的团队。
运行要求
以本地多容器平台(Docker Compose)运行,需要 Postgres、S3 对象存储和 Temporal,以及门户和 Caddy 入口。需要 Anthropic API 密钥,通过 ANTHROPIC_API_KEY 提供,用于 LLM 驱动的语义分析。DATARAUM_HOME 指定工作区、会话和导出的根目录。Caddy 默认占用 80 端口;除非使用已发布镜像,否则需要构建工具链。
安装前请注意
需要 Anthropic API 密钥,写入环境文件并用于 LLM 分析,因此数据可能发送给该提供商。该平台会向 Postgres 和对象存储写入元数据并创建工作区。README 中给出了门户的默认开发凭据,请勿对外暴露。Caddy 需要 80 端口,可能与其他服务冲突。

安装

在 SourceWeft 中

  1. 打开 控制台中的 DataRaum,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

DataRaum

[License]

The understanding layer that grounds an organization's operating model in its own data.

A semantic layer tells BI tools what columns are called. DataRaum learns what they mean — the concepts, relationships, rules, and measures of the organization — and grounds each one in the actual data, with a measured confidence behind it. See the docs for the full picture.

Monorepo layout

packages/├── engine/          # Python — pipeline, detectors, Temporal activity worker├── cockpit/         # TypeScript — TanStack Start web UI├── dataraum-config/ # YAML data — entropy config, LLM prompts, verticals (bind-mounted, never imported)└── infra/           # docker-compose orchestration

Each package has its own README. Start there if you're working in a specific package.

Status

DataRaum runs as a multi-container platform, isolated per workspace:

  • engine (Python) — a Temporal activity worker, no HTTP. Does the durable analysis (add_source, begin_session, operating_model) and writes metadata to the workspace's Postgres schema.
  • cockpit (TanStack Start) — the web app you use. Hosts the chat agent, renders the results, and orchestrates the journey by triggering engine workflows via Temporal.

Each workspace runs its own pair of those two containers. In front of them sit the portal (the cockpit image in a second role — login, membership routing, workspace provisioning) and Caddy, which serves the portal on the parent domain and each workspace on its own subdomain.

They share one substrate: Postgres (metadata + cockpit state + catalogs), an S3 object store (the DuckLake data lake + uploads), and Temporal (durable orchestration). No HTTP seam between engine and cockpit — the integration surface is Postgres + Temporal. See the platform architecture.

Quick start

bash
# Set the LLM keycp packages/infra/.env.example packages/infra/.envecho "ANTHROPIC_API_KEY=sk-ant-..." >> packages/infra/.env
# Bring up the whole installation (substrate, engine worker + cockpit for the# default workspace, portal, and the Caddy ingress)docker compose -f packages/infra/docker-compose.yml up -d --wait
# Engine health = the Temporal worker heartbeat (no HTTP endpoint):docker compose -f packages/infra/docker-compose.yml run --rm --no-deps \  --entrypoint temporal temporal-admin-tools \  worker list --namespace default --address temporal:7233   # → Status: Running
# Sign in at the portal, then open the default workspace from thereopen http://dataraum.localhost              # [email protected] / dataraum-dev

Caddy routes by hostname: the parent domain serves the portal (login + your workspaces), and each workspace has its own subdomain (http://ws1.dataraum.localhost). localhost:3000 is published for debugging only — the session cookie is scoped to the parent domain, so a browser there is redirected to the portal and a script gets 401.

The thing that bites on a first run: Caddy binds port 80. If something already holds it (macOS ships Apache), up fails at container start and the portal never comes up — set CADDY_HTTP_PORT and a matching DATARAUM_PORTAL_ORIGIN to move it. (*.localhost needs no /etc/hosts entry.)

Compose defines exactly one workspace pair — bootstrap scaffolding, so a fresh install has something to log into and something for the provisioner to clone. Every other workspace is created from the portal (New workspace) or bun run workspace:create; compose does not grow a service per workspace.

Full walkthrough, including troubleshooting: Running the stack.

For UI iteration, run the cockpit dev server outside docker for hot reload — see packages/cockpit/README.md.

Run a released version (published images)

The quick start above builds the engine and cockpit from source. To run the published release images instead — a deploy host, no build toolchain — layer the release overlay and name the version:

bash
export DATARAUM_VERSION=1.2.3          # any tag from a GitHub Releasedocker compose \  -f packages/infra/docker-compose.yml -f packages/infra/docker-compose.release.yml \  --env-file packages/infra/.env up -d --wait --no-build

This pulls ghcr.io/dataraum/{dataraum, dataraum-cockpit, dataraum-cockpit-migrate} at that tag. See Deployment for the images, schema/migration handling, and the per-workspace topology.

Develop

  • Engine (Python): cd packages/engine && uv sync --group dev && uv run pytest --testmon tests/unit -q. See packages/engine/README.md and packages/engine/CLAUDE.md.
  • Cockpit (TypeScript): cd packages/cockpit && bun install && bun --bun run dev (the --bun flag is required). See packages/cockpit/README.md and packages/cockpit/CLAUDE.md.
  • Pull the engine metadata schema (cockpit): cd packages/cockpit && DATARAUM_WORKSPACE_ID=<id> METADATA_DATABASE_URL=<url> bun run db:pull:metadata. Re-run after the engine adds/changes SQLAlchemy models.

Documentation

Platform docs live in docs/ (workspace root) and are published via Zensical. Start at docs/index.md, or serve the site locally:

bash
uv run --project packages/engine zensical serve   # run from the repo root

License

Apache 2.0 — see LICENSE.

来源:README.md,提交 4dd54da

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分