O-Lang Protocol

A semantic governance protocol for AI orchestration outside application code.

1. Purpose & Philosophy

1.1 The Autonomy Crisis in AI Systems

Current AI architectures grant unbounded autonomy to agents and LLMs. Developers construct workflows that:

This creates unacceptable risk in regulated environments (healthcare, finance, government) where AI decisions impact human lives, compliance, and legal liability.

1.2 From Agents to Governance

The industry is transitioning from autonomous agents to governable coordinators. O-Lang enables this shift by:

1.3 The Governance Gap

Existing orchestration frameworks (LangChain, LlamaIndex, etc.) operate inside application code, where:

O-Lang closes this gap by providing a runtime-enforced governance boundary that exists outside application code.

1.4 What O-Lang Provides

O-Lang defines a portable protocol for:

O-Lang does not execute business logic.
It governs how logic is invoked, constrained, observed, and audited — transforming AI from autonomous agents to governable, certifiable systems.

1.5 Trust vs Conformance

O-Lang distinguishes between conformance and trust:

A resolver may be conformant but not trusted — certification of entire packages (including runtime behavior) is a separate governance layer beyond static conformance.

Read the Full Specification

View O-Lang v1.1 Spec