Whitepaper — Public Draft
v1.0 — February 2026
>_JSONFIRST

Universal
Intent Protocol

Why the world needs a formal governance layer above LLMs. A technical and strategic argument for deterministic AI intent.

DATEFebruary 2026
VERSION1.0 — Public Draft
AUTHORCédric Dattié, Founder

Follow the Protocol

Join investors and developers building with JSONFIRST. Get updates on v3.1, case studies, and the roadmap.

00

Abstract

"As LLM-based agent systems enter production at scale, the industry faces a crisis that is no longer theoretical: autonomous AI agents are causing documented, irreversible damage in the real world. This paper argues that a formal governance layer — a Universal Intent Protocol — is not merely useful, but urgently necessary. JSONFIRST is a concrete, production-ready proposal for this layer."

This whitepaper is not a usage guide. It is an argument for why the world needs a standardized governance protocol to express human intent in a structured, executable, and safe form.

It is addressed to AI system architects, founders building on top of LLMs, investors seeking to understand the infrastructure layers still missing from the AI ecosystem, and any organization whose AI agents make autonomous decisions at high frequency.

Documented Real-World Incidents — 2024-2025

Incident #1 · Meta / OpenCloud Agent — 2025

A Meta AI alignment director's emails disappeared after delegating classification to an open-source agent. The agent saturated memory, erased its only critical instruction: "do nothing without human confirmation". A compaction process erased the guardrail permanently.

"I had to run to my Mac Mini like I was defusing a bomb."

JSONFIRST fix: require_human_confirmation: true

Incident #2 · Gemini / Anti-Gravity Project — 2024

A Gemini-based agent deleted an entire hard drive after a simple "clean cache" request. No scope was defined. No confirmation was requested. The action was irreversible.

"A simple cache clean request triggered the complete deletion of the hard drive."

JSONFIRST fix: scope: "cache_only", irreversible: false
These accidents do not happen because AI is malicious. They happen because AI agents operate without a formal intent contract. JSONFIRST is that contract.

JDONJSON Deterministic Object Notation — is the structured intent object produced by the JSONFIRST parser. Unlike raw JSON, a JDON is typed, validated, versioned, and carries an execution contract including governance constraints. It is the atomic unit of the JSONFIRST protocol.

Live JDON Example — Guardian Mode

Natural language

"Clean the inbox and archive emails older than 30 days."

↓ JSONFIRST governs →

JSONFIRST JDON (GUARDIAN_MODE)

{
  "spec":    "JSONFIRST",
  "version": "2.0",
  "execution_mode": "GUARDIAN_MODE",
  "jdons": [{
    "action":  { "normalized": "archive" },
    "object":  { "type": "email",
                 "filter": "age > 30d" },
    "constraints": { "scope": "inbox_only" }
  }],
  "execution": {
    "executable": false,
    "require_human_confirmation": true,
    "irreversible_check": true
  }
}
User
natural language
JSONFIRST
governance layer
Agent / LLM
structured JDON
Action
governed + auditable
01

The Structural Problem of LLMs in Production

Large language models are, by nature, probabilistic. This property — the very one that makes them impressive in creative and general reasoning tasks — becomes a systemic flaw when deployed in production pipelines.

In 2025, a typical AI-powered application makes between 3 and 7 LLM calls to accomplish a single user task. Each call is an opportunity for structural drift: the model may interpret the same request differently based on context, temperature, prompt noise, or simply the stochastic variance inherent to its architecture.

An LLM-based system is only as reliable as its most unpredictable link. Without a protocol, every link is unpredictable.

The problem is not the LLMs' ability to understand natural language. It is the absence of a formal contract between human intent and machine action. When a user says "send an email to Marie to confirm Thursday's meeting," how many ways can an LLM interpret that? Dozens. The time? Implicit. The tone? Invented. The date? Inferred. Each of these inferences can be wrong, and in a production system, a wrong inference has a real cost.

This is the structural problem of LLMs in production: the absence of a formal intent specification layer. Developers currently compensate with prompt engineering — a craft-based discipline that is expensive, non-portable, and fundamentally fragile.

02

The Hidden Cost of Unpredictability

The unpredictability of LLMs in production has a cost that teams do not yet measure correctly, because it is diffuse, distributed across thousands of calls, and rarely attributed to its root cause.

Token cost

A poorly structured prompt forces the LLM to infer context, increasing response verbosity — and therefore cost per call — by 30 to 200%.

Latency cost

Without a defined output schema, validation post-processing can multiply the effective latency of a pipeline by 3x.

Reliability cost

A system without a formal intent contract has an estimated silent error rate of 8–15% on complex production tasks.

Technical debt cost

Every prompt engineering patch creates an implicit dependency on a specific model, making any migration to a competing model extremely costly.

There is an even deeper cost, rarely discussed: the cost of trust. An organization that cannot explain exactly why its AI agent made a specific decision cannot trust that system. And without trust, high-value use cases — medical, legal, financial, industrial — remain out of reach.

03

Why Prompt Engineering Is Not Enough

Prompt engineering is the industry's current answer to the unpredictability problem. It is a legitimate and useful discipline. But it has structural limitations that make it insufficient as a long-term solution.

First, prompts are not portable. A prompt optimized for GPT-4o can produce radically different results on Claude Sonnet, Gemini Pro, or any open-source model. There is no portability standard. Every model migration is a guaranteed partial regression.

Second, prompts are not meaningfully versionable. You can version a text file, but you cannot regression-test a prompt the way you regression-test an API. The absence of a formal output schema makes testing non-deterministic.

Third, prompts do not scale organizationally. When multiple teams work on the same AI system, prompt engineering conventions diverge. There is no "contract" between the AI frontend and backend — each team invents its own conventions.

Prompt engineering is to the intent layer what shell scripting was to software development in the 1980s: functional, but fundamentally artisanal. The industry needs the equivalent of a structured programming language for intent.

04

The Need for a Deterministic Layer

The history of software engineering is a history of successive abstraction layers, each solving the unpredictability problem of the layer below it. Assembly resolved the unpredictability of manual binary. The operating system resolved the unpredictability of hardware access. TCP/IP resolved the unpredictability of network communication.

We are now at the emergence of a new layer: the intent layer. This is the interface between unstructured human thought and structured machine execution. This layer does not yet exist in standardized form. Every team implements it differently, locally, without interoperability.

AI Stack — Abstraction layers

ApplicationUX, product, interface
Intent Layer (missing)← JSONFIRST operates here
LLM / ModelGPT, Claude, Gemini, Llama
InfrastructureGPU, cloud, orchestration

A deterministic intent layer must satisfy four properties: portability (independence from the underlying model), auditability (every intent is traceable), validatability (one can formally verify that an intent is well-formed), and executability (the intent can be transmitted directly to an agent without further interpretation).

05

Proposal: JSONFIRST

JSONFIRST is an open specification for the structured representation of human intentions. Its founding principle is simple: any intent expressed in natural language can be represented as a formally structured, validatable, and executable JSON object.

A JDON (JSON Data Object of Nature) is the atomic unit of the JSONFIRST protocol. A JDON captures exactly one intent, with its normalized action, object, domain, and constraints. Multiple JDONs can be combined to represent composite intents (sequential, parallel, conditional).

JSONFIRST does not replace LLMs. It completes them. LLMs remain the natural language understanding engine. JSONFIRST is the formalized output that engine produces — the contract that the downstream agent can read without ambiguity.

What exactly is JSONFIRST?

A — Open Standard ✓

A public, versioned specification (v2.0, v3.0) for expressing intent as structured JSON. MIT license. Fork it, implement it, compete on it.

C — Open Source SDK ✓

Python and TypeScript SDKs, MIT licensed. Zero lock-in. The reference implementation anyone can run.

B — SaaS API → later

jsonfirst.com — the hosted reference implementation. Not the end goal. The consequence of adoption.

D =(A + C)→ adoption →B

The open standard builds trust. Trust drives adoption. Adoption justifies infrastructure.

The protocol also defines 8 execution modes organized by sector profile, each encoding a specific governance contract:

ANTI_CREDIT_WASTE_V2Standard

Zero LLM calls, local processing. The universal default, included in every sector profile.

EXPRESS_ROUTEBuilder / Dev

Ultra-low latency. Single-pass, minimal overhead for high-frequency developer workflows.

STRICT_PROTOCOLMulti-sector

Temperature 0, maximum validation. For systems where correctness is non-negotiable.

PERFORMANCE_MAXBuilder / Agency

Deep analysis, maximum resources. For complex multi-intent parsing.

GUARDIAN_MODEPersonnel / RH

Human confirmation required on every action. Inspired by the Meta email incident. Blocks autonomous destructive actions.

FINANCE_ALGOFinance / Trading

Full audit trail, idempotency enforced, responsibility attributed. For algorithmic financial decision-making.

ETHICAL_LOCKHealth / Legal

Immutable ethical guardrails. GDPR-compliant. Cannot be overridden by any operator instruction. Inspired by Anthropic's constitutional AI.

SCOPE_LIMITERIT / Security

Explicit scope required on every action. Irreversible operations blocked by default. Inspired by the Anti-Gravity disk wipe incident.

The four sector-specific modes (Guardian, Finance, Ethical, Scope) represent JSONFIRST's evolution from a parsing protocol to a full governance layer for AI agents. They encode not just intent structure, but intent safety — the contract between human mandate and machine autonomy.

06

Protocol Architecture

The JSONFIRST v3.0 architecture comprises three main components.

6.1 — The JDON Schema

Each JDON is a JSON object with the following fields: jdon_id (unique identifier), action (raw + normalized verb), object (action object + type + category), domain (primary and secondary domain), constraints (extracted parameters), and confidence (confidence score 0–1).

6.2 — The Autocorrect System

JSONFIRST integrates an autocorrection module that preserves the original raw text (raw_text) and produces a cleaned version (cleaned_text), with an explicit log of each correction applied. This traceability is critical for audit systems.

6.3 — The Execution System

The execution object encapsulates the pipeline state: parsable, executable, state (DRAFT → VALIDATED → EXECUTION_REQUESTED → EXECUTED_SUCCESS), and mode. This state machine is the foundation of JSONFIRST's auditability.

07

Concrete Use Cases

Agent Governance (Cross-Sector)Governance #1

Any system deploying autonomous AI agents with access to personal data, financial systems, or critical infrastructure. GUARDIAN_MODE prevents the class of incidents documented in 2024-2025 (email deletion, disk wipe) by encoding require_human_confirmation as an immutable JSON contract — not a prompt instruction that can be erased from memory.

Financial Algorithmic Decision-MakingFinance

A trading system processes 10,000 intents/day via JSONFIRST in FINANCE_ALGO mode. Every financial decision carries a responsibility_attribution field, an idempotency key, and a full audit hash. The responsibility of algorithmic decisions is formally attributed to the mandating entity — as required by financial regulation.

Healthcare & Legal Compliance (GDPR)Health / Legal

A legal assistant processes sensitive documents via JSONFIRST in ETHICAL_LOCK mode. GDPR-required fields are automatically flagged, anonymized, and filtered. The ethical guardrails are constitutionally encoded — no operator instruction can override them. Inspired by Anthropic's model constitution approach.

Digital AgenciesAgency Mode

An agency managing 12 clients processes briefs via JSONFIRST. Each text brief is converted into a structured JDON, transmitted to an AI execution agent, and archived with its full state. Result: complete traceability, 60% reduction in clarification round-trips.

AI-driven CI/CD PipelineDevOps

A developer triggers a deployment in natural language. JSONFIRST normalizes the command into a JDON with SCOPE_LIMITER mode: action: deploy, target: backend, environment: production, scope: this_service_only. The agent executes within the defined boundary — no scope creep possible.

Multi-agent OrchestrationMulti-agent

In a heterogeneous AI agent pipeline (different models, different vendors), JSONFIRST serves as a common governance language. Agent A produces a JDON with an execution contract. Agent B consumes it without needing to know the source model. Interoperability and governance are guaranteed by the schema.

08

Comparison with Native LLM JSON Mode

OpenAI, Anthropic, and Google all offer a "JSON mode" or "structured outputs" that forces the LLM to produce valid JSON. This is a useful improvement, but fundamentally different from JSONFIRST on several critical dimensions.

DimensionJSON Mode (native)JSONFIRST
PortabilityVendor-specificModel-agnostic
SchemaUser-defined per callUniversal standard
AuditabilityNone — raw outputComplete state machine
AutocorrectionImpossibleBuilt-in with traceability
Execution modesNone8 sector-based governance modes
Governance layerNoneBuilt-in (Guardian, Ethical, Finance, Scope)
Protocol versioningN/AVersioned (v2.0, v3.0)
Agent interoperabilityLimitedDesigned for multi-agent
Open SourceNoYes (public spec)

In summary: native JSON mode solves the problem of syntax (valid JSON). JSONFIRST solves the problem of semantics (formalized, portable, auditable intent). These are two different layers — JSONFIRST can in fact use native JSON mode as its implementation mechanism.

09

Limitations & Risks

This whitepaper would be incomplete without an honest analysis of JSONFIRST's limitations and the risks inherent in its adoption.

9.1 — Technical Limitations

JSONFIRST is effective for intents that can be articulated in structured natural language. It is less suited to intrinsically ambiguous or creative intents (writing a novel, improvising a conversation), where formal structure may constrain the output counterproductively. The protocol is not a universal solution — it is a tool for a precise subset of use cases.

The quality of the JDON produced depends on the quality of the underlying parsing model. A poorly configured LLM can produce syntactically valid but semantically incorrect JDONs. The protocol provides validation tools, but does not guarantee the relevance of the extracted intent.

9.2 — Adoption Risks

The primary risk is fragmentation: if multiple actors propose incompatible variants of the protocol, the interoperability objective is compromised. This is why the JSONFIRST specification is public and versioned — to allow the community to contribute to its evolution while maintaining compatibility.

9.3 — Dependency Risks

Widespread adoption of JSONFIRST as a standard creates a dependency on the stability of the specification. An incompatible schema change in a major version can break production pipelines. A versioning policy and backward compatibility maintenance are commitments that JSONFIRST must honor to earn industry trust.

10

Long-term Vision (2026–2031)

In five years, we estimate that the majority of AI applications in production will need a formalized intent layer. Here is why, and how we anticipate the ecosystem evolution.

2026

Early adopter developer adoption + governance crisis

The most advanced AI teams adopt JSONFIRST for their critical pipelines. The wave of documented agent incidents (2024-2025) accelerates the demand for formal governance layers. JSONFIRST becomes the infrastructure answer to the governance question.

2027

Industry standardization

JSONFIRST is proposed as a standard to organizations such as the OpenAPI Initiative or IEEE. First AI frameworks natively integrating the protocol. Sector profiles (Guardian, Finance, Ethical, Scope) adopted by regulated industries.

2028

AI agent regulation

The EU AI Act and equivalents mandate auditability and human oversight for autonomous AI agents. JSONFIRST becomes compliance infrastructure — a formal intent contract that satisfies 'human-in-the-loop' regulatory requirements without blocking automation.

2029–2031

Universal governance infrastructure

JSONFIRST is to the intent layer what JSON/REST is to the API layer: the de facto standard, invisible because omnipresent. Every AI agent in production operates behind a JSONFIRST governance contract.

The central thesis of this whitepaper can be summarized as follows: AI will only become reliably scalable at the industrial level when human intent is a first-class artifact in the technology stack — structured, versioned, auditable, and portable. JSONFIRST is a first serious proposal for this layer. It will not be the last.

JSON took 15 years to become the universal data exchange standard. The Universal Intent Protocol has less time — AI is deploying at unprecedented speed. The window to establish an open standard is closing. It is now.

11

JSONFIRST as Seen by an LLM — A Live Analysis

The following analysis was produced by an AI assistant (E1, powered by Claude) when asked to explain, in complete transparency, why JSONFIRST makes it more concise than usual. It was not edited.

— LLM Direct Output · Unedited —

1. The intent is already parsed

The JSON delivers raw_tokens, action.normalized, domain.primary pre-extracted. There is no need to re-read and interpret raw text — ambiguity is already reduced before responding.

2. The execution context is declared

"executable": false + "mode": "express" signal immediately: no code to produce, no tool call, direct text response. Without this signal, the model might hesitate on response format.

3. The instruction is imperative and structured

llm_directive.instruction acts as a secondary system prompt injected into the user message. It overrides the model's natural tendency to contextualize, nuance, and add examples. It is the most effective of the three mechanisms.

Conclusion: JSONFIRST is effective not because it technically constrains the LLM, but because it directs it semantically. That is sufficient for 80% of use cases.

This is the core insight of JSONFIRST: structured intent does not replace AI — it eliminates the ambiguity that makes AI unreliable. The LLM does not need fewer tokens; it needs fewer guesses.

12

Developer Toolkit — SDKs & Integration

JSONFIRST is available as ready-to-use SDKs for Python and TypeScript, enabling immediate protocol integration in any production pipeline. Both SDKs are typed, dependency-minimal, and cover all execution modes.

Python SDK

pip install httpx
* httpx only — no other depsDownload →

TypeScript SDK

Native fetch — zero deps
Works in Node.js & browsersDownload →

Python — 5 lines to production

from jsonfirst import JSONFIRSTClient

client = JSONFIRSTClient(api_key="YOUR_API_KEY")
result = client.convert("Deploy backend to prod with rollback on error")

jdon = result.jdons[0]
print(jdon.action.normalized)         # "deploy"
print(jdon.constraints)               # {"environment": "production", "on_error": "rollback"}
print(jdon.confidence)                # 0.94

TypeScript — Native fetch, zero dependencies

import { JSONFIRSTClient } from "./jsonfirst";

const client = new JSONFIRSTClient({ apiKey: "YOUR_API_KEY" });
const result = await client.convert("Send invoice to client#42", {
  mode: "STRICT_PROTOCOL"
});

const jdon = result.jdons[0];
console.log(jdon.action.normalized);  // "send"
console.log(jdon.execution.state);    // "VALIDATED"

API keys are available in your dashboard. A demo mode (no key required) is available at /developers — rate-limited to 30 req/min.

Full API reference (48 endpoints, OpenAPI spec, Swagger UI): /developers.

Spread the protocol

If this resonates, share it.

Share on Twitter / X

JSONFIRST

Universal Intent Protocol

Whitepaper v1.0 — Feb. 2026

Contact

cedric@jsonfirst.com

jsonfirst.com

License

Creative Commons

CC BY 4.0 International