Lattice Communication Protocol (v1)

Define JSON event formats for AI sprite communication with the Lattice control plane.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/plattegruber/lattice --skill lattice-communication-protocol-v1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Lattice Communication Protocol (v1)
Source: https://github.com/plattegruber/lattice/tree/main/priv/sprite_skills/protocol
Command: npx skills add https://github.com/plattegruber/lattice --skill lattice-communication-protocol-v1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill defines the communication protocol for AI sprites managed by Lattice, ensuring structured and reliable interaction between sprites and the Lattice control plane.

Core Features & Use Cases

  • Structured Event Emission: Defines precise JSON event formats for reporting progress, requesting actions, and signaling status.
  • Durable Communication: Utilizes both stdout and an outbox file for robust event logging and recovery.
  • Checkpointing and Resumption: Implements a checkpoint discipline for pausing and resuming sprite execution, crucial for blocking actions and error handling.
  • Use Case: An AI sprite working on a GitHub issue uses this protocol to report its progress, request the creation of a pull request, and then wait for human approval before continuing.

Quick Start

Follow the defined event types and structures to communicate with Lattice.

Frequently Asked Questions about Lattice Communication Protocol (v1)

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do AI sprites communicate progress and request actions from the Lattice control plane?

AI sprites communicate with the Lattice control plane by emitting structured JSON events via stdout and an outbox file to report progress, request actions, and signal status updates.

What is the event-driven protocol for managing AI agent execution flow in Lattice?

The Lattice communication protocol is an event-driven format that defines precise JSON event structures for AI sprites to interact with the control plane, enabling reliable progress reporting and action requests.

How do I handle blocking actions and error recovery for AI sprites?

You handle blocking actions and error recovery by using the protocol's checkpointing and resumption mechanisms, which allow sprite execution to pause and reliably resume after errors or human approval.

Does the Lattice communication protocol support durable event logging for AI agents?

Yes, the Lattice communication protocol supports durable event logging by utilizing both stdout and a dedicated outbox file, ensuring robust recovery and tracking of AI sprite events.

When do I need to use checkpointing with AI sprite communication protocols?

You need checkpointing when AI sprites encounter blocking actions that require human approval or during error handling, allowing the execution flow to pause and resume without losing progress.

Can I use structured JSON events to request a pull request through the Lattice protocol?

Yes, you can use the structured JSON event formats defined by the Lattice protocol to request actions such as creating a pull request, report progress, and wait for human approval before continuing.