Self-hosted publishing for the pages AI agents build

Ask your agent for a page. Share it on your domain.

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.

Get started Read the docs

  • Open source, MIT licensed
  • One Go binary
  • MCP, REST and CLI
  • Your identity provider

The colour of this site follows the 24 solar terms of the old Japanese calendar.

From a sentence to a link

  1. 1

    Connect

    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.

  2. 2

    Ask

    Describe what you want. Your agent writes the page, publishes it with Kazari's tools and replies with the link.

  3. 3

    Iterate and share

    Ask for changes and your agent publishes a new version. The link stays the same, and every version keeps an address of its own.

Made for the people who make things

One service with three ways in, so everyone on the team can use the one that suits them.

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
Publish with an agent

Vibe coders

From prompt to URL

  • A coding agent builds the site and ships it with a tool call
  • Large bundles upload in resumable chunks or as one archive
  • Single-page apps route correctly
Quick start

Developers

A proper API underneath

  • Publish from CI with the CLI or the REST API
  • Pin reviews to immutable version URLs
  • Let preview builds expire on their own
Publish from code

Operators and IT

Yours to run

  • One binary, SQLite and a directory of files
  • Wildcard TLS, OIDC or built-in sign-in, quotas and rate limits
  • A dashboard with page views, an audit log, OpenTelemetry and Prometheus
Install

Every page is its own site

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.com

The published version. It moves when you publish or roll back.

onboarding--v3.art.example.com

Version 3, for good. Safe to cache, safe to link.

mcp.art.example.com

The MCP server for agents, beside api. for the REST API and admin. for operators.

v1v2v3v4published

Rolling back moves a pointer. Nothing is copied and nothing is lost.

Same service, whichever door you use

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 agent

Connector URLhttps://mcp.art.example.com/

You

Turn the attached CSV into a dashboard with a chart per region and publish it to Kazari as q3-dashboard.

Agent

Published https://q3-dashboard.art.example.com/ (version 1)

What a team needs, and little else

Versions you can trust

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.

Three ways in

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.

Your sign-in

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.

Safe defaults

An origin per page, a Content-Security-Policy that still allows the common CDNs, no search indexing unless you ask, quotas and rate limits.

Small pages and big sites

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.

Simple to run

One static Go binary or a distroless image. SQLite and a directory of blobs are the only state. Wildcard certificates by ACME DNS-01.

Observable

OpenTelemetry traces of every request and tool call, Prometheus metrics, structured logs, an admin API and an append-only audit log of every change.

Tidy by default

Pages you no longer need retire themselves on a schedule you set, and every step up to the purge can be undone.

Pages that tidy up after themselves

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 works
  1. PublishedServing at its address
  2. StaleStill serving for the grace period, 14 days by default
  3. Soft-deletedOffline, restorable for 30 days
  4. PurgedGone; old links answer 410 for 90 days
  5. Slug freeThe name can be used again

Running in minutes

Try it on your machine

No 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/
Quick start

Run it for your team

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 admin
Installation guide

Status. 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.

Give your team somewhere to put things.

Get started View on GitHub