Build and release
Two separate artifacts are shipped today: a Server wheel and a TUI npm package. Web builds from source and runs the artifacts in the current checkout. To install artifacts you already have, follow package deployment.
Build artifacts
Python 3.11 or 3.12, uv, and Node.js ≥22.12.0 are required. From the repository root, run:
make prepare PYTHON_VERSION=3.12
make build PYTHON_VERSION=3.12make prepare installs npm dependencies and synchronizes the Python runtime dependencies. make build uses uv to build the Server wheel, compiles Web and TUI, and packages TUI through package-tui.mjs. A source deployment can build Web on its own with npm run build:web.
| Output | Contents and metadata |
|---|---|
dist/server/*.whl |
Python distribution datagallery-dataagent; import name and CLI are dataagent. See pyproject.toml for contents and version |
dist/tui/*.tgz |
npm package @datagallery/tui with dataagent-cli and da entry points. See ui/tui/package.json for the version |
ui/web/.next/ |
Web build artifacts, run from the source directory |
To build only the Server wheel, run from the repository root:
uv build --wheel --clear --out-dir dist/serverBuild commands only generate files; release jobs handle uploads and distribution separately. Record the Git commit, version, and checksums, and deliver the exact files you used in verification.
Verify artifacts
make test
npm run smoke:dataagent-packageFirst run Ruff lint and format checks according to the testing guide, which also describes test tiers and credentials. The artifact smoke test uses the built Web application and installs this build's Server wheel and TUI tgz outside the repository. It checks the CLI, packaged resources, SDK, HTTP, and A2A, and uses a local model substitute to verify Web proxying, TUI connections, and streaming results.
| Scenario | Expected behavior |
|---|---|
| Complete model configuration | The request stream receives a reply and ends with a completion event |
| Upstream model call fails | The AG-UI stream ends with RUN_ERROR |
| Server has no model configuration | /healthz returns 200; /ready and conversation routes return 503 |
| Server is stopped | Web proxy returns 502 and TUI reports a connection failure |
The smoke test uses a local model substitute. Verify real models and database connections separately, in the delivery environment. Check the Python sdist/wheel files and installed resources on their own through the packaging tests.
Compatibility review
- For public configuration changes, review versions and fields against product configuration, extension declarations, and MCP configuration.
- For graph-state or private-state key changes, verify that pre-upgrade session data still loads and continues from its Checkpoint as specified. See state and storage for ownership of indexes, bindings, outputs, and traces.
- For changes to long-tool-result directories, confirm that file references in historical messages still open. See context management for persistence rules.