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

The content is a Git repository you can drive.

There's no database and no proprietary API. Content is Markdown/HTML files in a GitHub repository. The content model — which collections exist, their fields, and where files live — is declared in admin/src/schema.ts. To make a change: read the schema, edit the right files, commit. Cloudflare Pages rebuilds and publishes.

  1. readschema.ts

    Discover the collections, their fields, and folder paths.

  2. write.md / .html

    Edit or create entries that match the schema. draft: true hides them.

  3. commitgit push

    Save the change. The static build does the rest.

See the full chain on How it works

Open source. The same content model is yours to point your own agent at.