Machine Experience (MX): Structuring Semantic APIs, Tool Schemas, and Headless Agent Protocols
Just as UX was the definitive product moat for the last decade, Machine Experience (MX) will dictate software success in the autonomous agent era. Discover how to build web software that autonomous LLM systems can parse, query, and command without brittle scrapers.
Photo by Pavel Danilyuk on PexelsWhat is Machine Experience (MX)?
For 30 years, web applications were designed exclusively for human biological sensory inputs: visual contrast, click targets, button hover states, and typographic hierarchy. Today, an accelerating share of your application's traffic consists of autonomous LLM agents crawling, extracting data, making tool calls, and triggering transactions on behalf of users.
Machine Experience (MX) is the discipline of structuring application data, actions, and state transitions so that AI agents can interact with software with zero hallucinations, minimal token overhead, and cryptographic determinism.
The 4 Pillars of High-Quality MX
- Predictable Action Endpoints: Explicit idempotency keys and JSON Schema validation across every action endpoint.
- Embedded Tool Schemas: Exposing typed JSON manifests (e.g.
/.well-known/agent-tools.json) declaring allowed tools, argument constraints, and rate limits. - Semantic Machine Markup: Enriching server-rendered DOM with microdata (
itemscope,itemtype) and structured JSON-LD so visual extractors do not fail when CSS classes update. - Dry-Run & Impact Simulation: Allowing agents to issue
X-Simulation: trueheaders to preview consequences before executing irreversible mutations.
Building for MX does not compromise human UX; rather, it enforces strict domain models that improve codebase quality for human engineers and automated agents alike.
Discussion (0)
Continue Reading
More production-grade engineering deep dives and architectural guides

The Gemini Decisions API: Architecting a Deterministic Decision Service on a Probabilistic Model
A Hacker News thread argued about whether an LLM belongs on the critical path of a business decision. This is the production reference architecture that settles the argument: schema-bound structured output, bounded tool loops, deterministic policy gates, and a latency budget you can defend in a design review.

Brotli vs. Zstandard vs. Gzip at 1 PB/Month: Measured Ratios, CPU Seconds per GB, and the Real CDN Bill
At petabyte scale, compression is no longer a config flag — it is a P&L line item. Here are the measured ratios, real CPU-seconds-per-GB numbers, and the break-even cache-hit math that decides whether Brotli q11 pays for itself or quietly bankrupts your origin.

Micro-Frontends at 5,000 Routes: Module Federation vs single-spa vs Web Components, Measured
We rebuilt the same 5,000-route enterprise shell three times — Module Federation 2.0, single-spa, and native Web Components — and measured p95 route transitions, marginal memory per mounted remote, duplicated vendor bytes, and the fully loaded cost of 1M deployments. The results invert most vendor claims: the fastest architecture on cold start is the one that duplicates the most code.