Skip to content

Instantly share code, notes, and snippets.

@gterzian
Last active January 13, 2026 11:34
Show Gist options
  • Select an option

  • Save gterzian/520ead5835f218036e4297973e2627c2 to your computer and use it in GitHub Desktop.

Select an option

Save gterzian/520ead5835f218036e4297973e2627c2 to your computer and use it in GitHub Desktop.

Blitz as native a2ui renderer.

  1. A2UI agent where the transport is an automerge repo.
  • Use Vs Code extension and LSP as a messaging layer between the extension and a Rust "proxy"
  • Rust proxy validates LLM output, applies to automerge repo.

Repo structure:

  • One doc with a fixed id to bootstrap from and track surfaces and user actions.
  • One doc per surface: contains components and data.
  1. Blitz renderer
  • Start with an HTML/CSS page to boostrap the UI.
  • Surface Id must match an HTML element in the bootstrap page.
  • Whenever a doc in the automerge repo changes, apply data model and components change to the dom.
  • Add user actions to the fixed document, those are fed back to the agent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment