Skip to content

Repository files navigation

AI Operations Specification

The AI Operations Specification (AIOS) is a vendor-neutral contract for describing what happens when an AI or agentic system runs.

It gives instrumentation, observability, evaluation, safety, and reliability tools a shared vocabulary and portable JSON artifacts for Runs, Steps, model interactions, tool calls, retrieval, memory, evaluations, signals, and incidents.

This repository defines the contract. It does not run agents, collect telemetry, host dashboards, or provide an SDK. It also does not own the primary end-user CLI for conformance checks; implementation repositories may provide that convenience on top of the normative rules defined here.

Why it exists

Without a shared contract, every framework exports different names and structures for the same runtime behavior. AIOS separates the standard from its implementations so producers and consumers can interoperate without importing a DeepAgentLabs package.

AI frameworks and instrumentation
              |
              v
   AI Operations Specification
              |
              v
observability, evaluation, safety, and operations tools

DeepAgentLabs stewards the specification today and is its sole editor. AgenticLens, Agentic Chaos, Agentic Sidecar, DeepAgent MCP, and AgenticOps Control Tower may implement or consume it, but none of them owns the contract. Vendor-neutrality is the design goal, not yet an established fact: several acceptance gates — independent implementer review, validation against artifacts from at least two unrelated producers — remain open (see each milestone's acceptance criteria and the roadmap). Treat "vendor-neutral" as the intended end state until those gates close.

Current maturity

Pre-release draft. Do not claim stable conformance.

Release Status

  • v0.1 🏗️ In review — Core runtime concepts and boundaries
  • v0.2 🚧 Exploratory draft — Relationships and execution graphs
  • v0.3 🚧 Exploratory draft — Transport-neutral semantic events
  • v0.4 🚧 Exploratory draft — JSON Schema artifacts
  • v0.5 🚧 Planned — Versioning and compatibility rules
  • v0.6 🚧 Planned — Canonical examples and extension model
  • v0.6.x 🚧 Planned — Provenance, evidence, and operational artifacts
  • v1.0 🚧 Planned — Stable specification

Next Steps

  • Close the remaining v0.1 external review gate so later layers can move toward freeze.
  • Validate the v0.4 draft artifacts against at least two independent implementations.
  • Formalize versioning/compatibility rules and the extension model.
  • Standardize provenance/evidence concepts and publish producer-independent conformance fixtures and rules.

The work is cumulative, not four competing formats:

Layer Defines Status
v0.1 Core runtime concepts and boundaries Draft; external review pending
v0.2 Relationships and execution graphs Exploratory draft
v0.3 Transport-neutral semantic events Exploratory draft
v0.4 JSON Schema artifacts Exploratory draft

Later layers depend on earlier ones. They are available for design feedback and prototype implementations; acceptance of a later layer does not bypass open review gates in an earlier layer.

Conformance should be understood in two layers:

  • AIOS defines the normative rules: schemas, conformance requirements, canonical fixtures, and expected validation behavior
  • implementations may provide tooling: for example, AgenticLens can expose a practical conformance CLI over those rules without owning the standard

Choose a path

Minimal artifact

{
  "spec_version": "0.4-draft",
  "artifact_type": "run",
  "id": "run-001",
  "started_at": "2026-07-21T06:00:00Z",
  "status": "completed",
  "requests": [],
  "steps": [],
  "relationships": []
}

Schema validation establishes structural validity only. It does not prove that recorded claims are true, safe, reliable, or high quality.

Repository layout

specification/   current milestone drafts
drafts/          superseded or premature experiments
tests/           document, schema, fixture, and graph checks

The early workflow schema under drafts/v0.4/ is retained for history and is not the current v0.4 design.

Validation

A Makefile provides shorthand for common tasks:

make install     # install dependencies
make test        # run schema validation tests
make check       # run all quality gates
make help        # list all available targets

Or run directly:

uv sync --extra dev
uv run pytest

Scope

AIOS defines shared meaning, relationships, events, and exchange artifacts. SDK behavior, dashboards, provider catalogs, recommendation logic, storage, and transport exporters belong in implementation repositories.

That same boundary applies to conformance: the specification owns the rules and expected behavior, while implementation repositories may offer user-facing commands that execute those checks.

See SPECIFICATION.md for the complete reading order and maturity rules, or CONTRIBUTING.md to propose a change.

What's Next

Upcoming specification work (see ROADMAP.md):

  • Provenance and evidence concepts — standardize source references, evidence lineage, and derived findings as first-class spec objects
  • Conformance test suite — producers can validate artifacts against the spec independently, while implementation repositories can expose convenient CLIs on top
  • Naming conventions — lock down field naming rules, casing, and abbreviation policy
  • Migration guides — clear upgrade paths between spec versions

About

AI Operations Specifications

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages