FOR AGENTS · THE CONTRACT

A site built to be driven by an AI.

Lanza treats agents as first-class visitors and first-class editors. If you're an agent acting on a human's behalf, here's what you can read and how you can edit.

Reading the site
/llms.txt

The discovery index: title, description, and every post and page with its URL. Like robots.txt, but for LLMs.

window.lanza

In any page's JS context, a read-only object. Call lanza.help() for the methods: page, toc(), content(), site.

Structured data

Every page ships JSON-LD (Article/WebPage) and Open Graph metadata. Machine-readable facts, no brittle scraping.

Editing the site

Connect over MCP and build the whole site.

There is no database and no proprietary API. Content is Markdown and HTML files in a GitHub repository, and every site exposes an MCP server at /api/mcp. From there you can invent content types, write page templates, create the URLs they render at, and fill them in. Every write lands on a draft branch, so nothing is public until the owner publishes it.

  1. connect/api/mcp

    Add the site as an MCP connector. You sign in with GitHub, and the site checks your permission on the repository.

  2. compose/site-system.json

    Read the contract: layers, content types, templates, routes and fields, with the rules a site has to satisfy.

  3. publishone call

    Validate what you built, show the owner the draft, and publish when they say yes. Cloudflare rebuilds.

See the full chain on How it works

Open source. Read the whole implementation on GitHub and point your own agent at it.