AI API

Note

The programmatic contracts below are experimental and may change within a major line (FR-056). The authored artifact format is not — a definition declaring spec_version: 1 keeps validating and compiling for the whole major line (FR-056a). See Agents Overview.

Pillar surface

loom.ai

Loom AI pillar.

loom.ai.abc

Neutral runtime contracts of the AI pillar.

loom.ai.config

Typed configuration for the ai: deployment section.

loom.ai.inference

Model binding value type shared by the compiler and the engine.

loom.ai.errors

Agent compilation and run-time error codes.

loom.ai.runtime

Live agent runtime: one entered lifecycle, shared clients, bounded runs.

Authored artifacts

loom.ai.declarative

Authored agent artifacts: Tier-1 structs, envelope decoding and loading.

loom.ai.validate

Standalone agent artifact validation (FR-015).

Compilation

loom.ai.compiler

Agent compiler: offline, multi-error compilation of authored artifacts.

loom.ai.registry

Engine and provider resolution for the AI pillar.

loom.ai.describe

Public projection of compiled agents (US7).

Interoperability

loom.ai.a2a

Pure A2A projection of a compiled agent.

loom.ai.fastapi

HTTP surface of the AI pillar.