STF: from semantic inference to semantic publication A developer proposes a new architecture called STF (Semantic Text Format) and SIL (Semantic Interface Layer) that lets web applications publish their semantic meaning directly to AI agents, rather than forcing agents to extract it from HTML markup. The approach is demonstrated on a live pricing page, where domain semantics like plan names, prices, and actions are exposed in a structured format. The web was built for one reader: a human. You open a store, see a product card, a price, a button, and you instantly know what it is. The browser renders it, you interpret it. Agents have it harder. To compare prices or click the right button, an agent first has to reconstruct the meaning of an interface from its markup - through the DOM, an accessibility tree, a screenshot, or some mix of all three. The tools for doing this keep getting better. But there's a simple question worth asking: if the application already knows what its interface means, why make the agent re-derive that meaning from the markup every single time? What follows is a different architectural proposal: instead of extracting semantics from the presentation layer, publish them directly. That takes two layers. STF Semantic Text Format is a representation language: a way to write down objects, relationships, and data provenance, independent of what's actually being described. SIL Semantic Interface Layer is an application-level profile of that language for the web: the specific way an application publishes its state, actions, and events on top of STF. The distinction is simple. STF is a language you can use to write down more or less anything. SIL is what a given web application actually writes down with it. This isn't a replacement for HTML, REST, or MCP - it's an additional contract between an application and an agent. Take a pricing card. To the application, 399 EUR is a price, Pro is a plan name, and the Buy button is a purchase action. In HTML it usually looks like this: