Forge documentation

The ANVIL contract

Versioned specification, implementation boundaries, and conformance evidence.

ANVIL describes the contracts an agent runtime is expected to uphold. The specification is a design and interoperability authority; compliance must be demonstrated for a particular implementation and version.

Read the specification

Download the exact ANVIL specification. This copy comes from anvil/SPECIFICATION.md in the same source snapshot as the package references.

Runtime responsibilities

ANVIL covers the cognitive interface, tool invocation, lifecycle, identity and authority, communication, collaboration, health and telemetry. The library catalog maps those responsibilities to concrete packages. Application policy and deployment adapters remain explicit dependencies.

Conformance levels

The repository contains L0 Core Runtime and L1 Accountable Runtime fixture sets, plus cross-language harnesses. Use the fixture manifest to identify exact inputs. A fixture file or an implementation's stated target does not establish that a release passed that level.

Compatibility

Rust workspace packages are versioned independently from the TypeScript and Python distributions and alpha Harness libraries. The source coverage manifest records each version. Do not assign one global version or infer identical constructor shapes across languages.

On this page