Run ValkDB locally against synthetic Postgres data. No production database required. No external connection string required. No hosted ValkDB required. No cloud trust required. No account.
SHA256SUMS ·
version 2026-05-22 ·
built 2026-05-22
curl -O https://valkdb.dev/downloads/valkdb-local-preview.tar.gz tar -xzf valkdb-local-preview.tar.gz cd valkdb-local-preview-* cp local.env.example .env.local docker compose -f docker-compose.local.yml up -d bash scripts/init_local_preview.sh SUPERSONIC_API_KEY=<printed-by-init> bash scripts/local_smoke.sh SUPERSONIC_API_KEY=<printed-by-init> CONNECTION_ID=<printed-by-init> bash examples/demo-agent-session/demo.sh
Verify the download:
curl -O https://valkdb.dev/downloads/SHA256SUMS sha256sum -c SHA256SUMS
The smoke output when the breaker fires:
[SMOKE] query accepted [SMOKE] budget incremented [SMOKE] budget exhausted (status=429 attempts=10) [SMOKE] enriched envelope present [SMOKE] session blocked [SMOKE] OK
The response body of the blocked query:
{
"ok": false,
"error": {
"code": "BUDGET_EXHAUSTED",
"reason": "session_query_limit_exceeded",
"action": "session_blocked",
"agent_id": "demo-agent",
"session_id": "demo-session",
"queries": { "used": 10, "limit": 10, "remaining": 0 },
"rows": { "used": 50, "limit": 1000, "remaining": 950 },
"tables_touched": ["users"],
"columns_touched": ["id", "name"],
"retryable": false
}
}
This is not a database failure. ValkDB blocked the agent session because it exhausted its configured budget. Reconnecting with the same session_id does not reset the budget within the active window.
docker-compose.local.yml — local stack (postgres-demo, supersonic, dal)local.env.example — env template, all values are LOCAL ONLY placeholdersscripts/init_local_preview.sh — provisions the demo identity (idempotent)scripts/local_smoke.sh — drives the budget to exhaustionscripts/local-postgres-init/ + scripts/demo_seed.sql — synthetic Postgres seedexamples/demo-agent-session/demo.sh — pretty-printed agent demodocs/LOCAL_QUICKSTART.md — full step-by-stepdocs/TRUST_MODEL.md — what stays on your machineREADME.md — local-preview READMEVERSIONdocker-compose.ymlDockerfiles.env, no credentials
The package uses prebuilt Docker images for the ValkDB runtime. The first
docker compose up -d pulls them from the public registry pinned in
local.env.example (default: ghcr.io/axellopezuy-cmd/valkdb-supersonic-preview
and ghcr.io/axellopezuy-cmd/valkdb-dal-preview). The runtime source is not
included in this preview package. No open source is implied.
If you operate in an air-gapped environment, override the image references via
VALKDB_SUPERSONIC_IMAGE and VALKDB_DAL_IMAGE in .env.local
after re-tagging the images on your private registry.
valkdb.dev or any subdomain at runtime.Full text: Trust Model.
Blunt technical feedback only. The whole point of the local preview is for you to look at it before deciding whether the chain identity → session budget → circuit breaker matches a real problem in your stack.