Designers and admin staff
Prototypes without a pipeline
- Turn an idea into a clickable page in one conversation
- No repository, build step or hosting account
- Go back to any earlier version by asking
Self-hosted publishing for the pages AI agents build
Kazari is a small, self-hosted home for what AI agents build: prototypes, reports, dashboards and demos. It works with any agent, in the cloud or self-hosted. Every page gets its own address, every change is kept as a version, and people can sign in with the work account they already have.
The colour of this site follows the 24 solar terms of the old Japanese calendar.
Add Kazari's MCP address to your agent, in the cloud or on your own machine, and sign in with your work account or an API key.
Describe what you want. Your agent writes the page, publishes it with Kazari's tools and replies with the link.
Ask for changes and your agent publishes a new version. The link stays the same, and every version keeps an address of its own.
One service with three ways in, so everyone on the team can use the one that suits them.
Designers and admin staff
Vibe coders
Developers
Operators and IT
Kazari serves each artifact from its own subdomain under one wildcard certificate. Each is a separate browser origin, so one page can't read another's cookies or storage.
Versions never change. Put a version link in a review thread and it will always show what the reviewer saw.
onboarding.art.example.comThe published version. It moves when you publish or roll back.
onboarding--v3.art.example.comVersion 3, for good. Safe to cache, safe to link.
mcp.art.example.comThe MCP server for agents, beside api. for the REST API and admin. for operators.
Rolling back moves a pointer. Nothing is copied and nothing is lost.
The MCP server, the REST API and the CLI share one service layer, and MCP results carry only what a model needs next.
Add a custom connector with your instance's MCP address, sign in once, then ask in plain words.
Publish with an agentConnector URLhttps://mcp.art.example.com/
Turn the attached CSV into a dashboard with a chart per region and publish it to Kazari as q3-dashboard.
Published https://q3-dashboard.art.example.com/ (version 1)
Agents on your own machine or servers take the MCP address in their configuration, and sign in through OAuth or with an API key.
MCP server reference{
"mcpServers": {
"kazari": {
"url": "https://mcp.art.example.com/",
"headers": { "Authorization": "Bearer kzk_..." }
}
}
}The same binary as the server. Publish a directory, deploy new versions, roll back, retire.
CLI reference$ kazari publish ./site --slug q3-report --name "Q3 report"
q3-report v1 → https://q3-report.art.example.com/
$ kazari deploy ./site --slug q3-report --label "fix chart"
$ kazari rollback q3-report 1
$ kazari stale q3-report --grace 3d
JSON for small pages, a tar.gz or zip bundle for sites, chunked or archive uploads for anything large.
REST API referencecurl https://api.art.example.com/v1/artifacts \
-H "Authorization: Bearer $KAZARI_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"slug": "hello",
"files": [{"path": "index.html", "content": "<h1>Hello</h1>"}]}'
# {"url": "https://hello.art.example.com/", "version": 1, "artifact": {...}}Every publish is an immutable, content-addressed version. Stage one for review before it goes live, roll back or forward with one call; optimistic concurrency stops lost updates.
An MCP server with nineteen tools, a REST API and a CLI, all on one service layer. Agents edit pages in place and load the instance's own skill.
OAuth 2.1 for MCP clients, federated to Microsoft Entra ID, Google Workspace, Okta, Keycloak or any OpenID Connect provider. Without one, built-in accounts with invite links, passkeys and recovery codes, and no email server.
An origin per page, a Content-Security-Policy that still allows the common CDNs, no search indexing unless you ask, quotas and rate limits.
Inline files for a single page, tar.gz bundles for whole sites, resumable chunked uploads for MCP clients without a shell, one-time archive URLs for agents without a key.
One static Go binary or a distroless image. SQLite and a directory of blobs are the only state. Wildcard certificates by ACME DNS-01.
OpenTelemetry traces of every request and tool call, Prometheus metrics, structured logs, an admin API and an append-only audit log of every change.
Pages you no longer need retire themselves on a schedule you set, and every step up to the purge can be undone.
Generated pages pile up. Mark one stale and it keeps serving through a grace period, then steps out of the way. Each step lands in the audit log, and everything short of the purge can be reversed.
How the lifecycle worksNo domain or certificate needed: browsers resolve *.kazari.localhost to your own computer.
docker run -d --name kazari -p 127.0.0.1:8080:8080 -e KAZARI_LISTEN_HTTP=:8080 \
ghcr.io/peterbooker/kazari:latest serve --local
docker exec kazari kazari admin users create ana --role admin
docker exec kazari kazari admin keys issue ana --label laptop
# pages appear at http://<slug>.kazari.localhost:8080/You need a domain, a wildcard DNS record and a DNS API token for the certificate, or a reverse proxy that already has one. Two short files configure it, under Compose, a package or the binary alike.
curl -fsSLO https://kazari.io/deploy/compose.yml
curl -fsSLO https://kazari.io/deploy/kazari.yaml # your domain and DNS provider
curl -fsSL https://kazari.io/deploy/kazari.env.example -o .env # the DNS token
docker compose up -d
docker compose logs kazari # prints the setup link for the first adminStatus. Kazari is heading for v1.0. The server, REST API, MCP server, OAuth sign-in and CLI work today; expect breaking changes until v1.0.0 is tagged.