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.
The discovery index: title, description, and every post and page with its URL. Like robots.txt, but for LLMs.
window.lanzaIn any page's JS context, a read-only object. Call lanza.help() for the methods: page, toc(), content(), site.
Structured dataEvery page ships JSON-LD (Article/WebPage) and Open Graph metadata. Machine-readable facts, no brittle scraping.
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.
connect/api/mcpAdd the site as an MCP connector. You sign in with GitHub, and the site checks your permission on the repository.
compose/site-system.jsonRead the contract: layers, content types, templates, routes and fields, with the rules a site has to satisfy.
publishone callValidate what you built, show the owner the draft, and publish when they say yes. Cloudflare rebuilds.
Open source. Read the whole implementation on GitHub and point your own agent at it.