Why LESP exists
Give agents a dictionary — or they will invent one
LESP (LLM Event Schema Protocol) is the shared catalog of product events for a site. You name checkout once, in language a person and a model can both read. Every later track() call, replay marker, and funnel step uses that name. If an agent invents CheckoutStart next week, ingest refuses it.
- 01
Name it once
Register the event in Event Studio with a short description of the moment that matters — “customer started payment,” not a leftover CSS class.
- 02
Reuse it everywhere
The SDK, data-insight-id tags, and any MCP client read the same glossary. The next agent session does not get a blank page and a guess.
- 03
Refuse the drift
Strict mode drops unknown semantic events. Behavioral noise (page views, rage clicks) still captures automatically. Product vocabulary stays intentional.
Replay, funnels, and the standup use the same words. You stop arguing whether checkout_started and CheckoutStart are the same conversion.