SAP · Sustainable AI Protocol
2026-10-21 · PUBLIC WORKING DRAFT

Make consequences
interoperable.

SAP proposes a small, inspectable way for independent AI applications to exchange execution options, important constraints, and what actually happened—while preserving environmental measurement uncertainty and human choice.

Machine-readable JSON Schema ↗Read normative draft ↗
This is not a ratified standard. The conformance suite checks draft structure and limited cross-document policy semantics. It does not certify model providers, verify energy/carbon reports, grant permission to execute, or imply official endorsement by MCP, OpenTelemetry, or GSF.
01 · sap.offer

What are the options?

Declare an execution path, locality, available human review, and evidence-labeled quality, cost, energy, carbon, and latency.

02 · sap.decision

What can we choose?

Record constraints and the selected offer, or explicitly abstain when eligible options or evidence are missing.

03 · sap.receipt

What happened?

Distinguish intended, reported, and independently checked outcomes. Unknown metrics must remain unknown.

Open conformance, not a trust badge

Validating an envelope is deterministic and offline. SAP includes the same positive and negative fixtures for independent JavaScript and Python JSON Schema engines, plus strict cross-record reference and locality tests.

npm --prefix protocol install
node protocol/validate.cjs --fixtures

python -m pip install jsonschema
python protocol/validate.py

node --test examples/sap-exchange.test.cjs
node --test integrations/test-envelope.cjs

The tests demonstrate format interoperability and reject invalid evidence semantics, invalid units, policy violations, and fabricated verification status. Environmental test numbers are fictional.

Adapt. Don't duplicate.

OpenTelemetry already measures and transfers operational telemetry. The Green Software Foundation Impact Framework already performs environmental calculations. SAP's interchange layer aims to carry decision-relevant results and uncertainty between them and execution hosts.

See the instrumented interoperability pilot for real SDK and Impact Framework testing. No real power meter or grid feed is configured by default.

Security and trust boundaries ↗

Unauthorized execution, prompt leakage, false provenance, record replays, and unsafe defaults.

Open governance proposal ↗

Review, version changes, independent adopters, and the path from a working draft to a stable standard.

Cross-language exchange example ↗

A standalone Python offer producer and JavaScript decision consumer, no centralized server.

Verified vs. missing ↗

Explicitly tracked limits, external validation requirements, and responsible next milestones.

Try it. Challenge it. Improve it.

A protocol becomes important because independent teams choose it to solve a recurring problem—not because its creator calls it universal. We welcome alternate implementations, contradictions, benchmarks, and cases where the better answer is an extension to an existing standard.

Propose an interoperability test ↗