draft-hood-independent-agis
Agentic Grammar and Interface Specification (AGIS)
This document defines the Agentic Grammar and Interface Specification
(AGIS), a grammar-constrained interface definition language for
Agentive APIs designed for consumption by large language model (LLM)
based agents. AGIS establishes structural and semantic rules
governing how API methods and endpoints must be expressed, without
mandating a fixed vocabulary of method names. An implementation
conforming to AGIS uses intent-expressing imperative verbs as method
identifiers, enabling agents to infer operational meaning from method
names without requiring training on a predefined catalog.
AGIS is the native interface definition layer for the Agent Transfer
Protocol (AGTP) [AGTP], in the same way that HTML functions as the
native content language for the HTTP transport protocol. AGIS does
not replace JSON Schema [JSON-SCHEMA] for data contracts; it governs
the structural grammar of method and endpoint design that wraps those
contracts. AGIS-conformant methods are accepted at the AGTP
transport layer via the Method-Grammar header without requiring prior
IANA registration, enabling organizations to define domain-specific
Agentive API vocabularies while preserving interoperability through
shared grammatical constraints.
Empirical validation of the core AGIS design principle is provided in
[HOOD2026], which demonstrates a 10-29 percentage point accuracy
advantage for intent-expressing method names over generic HTTP verbs
across three frontier LLM families in 7,200 controlled trials.
This version also introduces: normative YAML and JSON serialization
formats; a Data Manifest block enabling services to declare available
data without pre-built endpoints; a negotiable signal enabling AGTP
dynamic endpoint instantiation; semantic declaration enhancements
including is_idempotent, impact_tier, parameter_hints, and
state_transition fields; vocabulary namespace disambiguation; and an
HTTP transitional binding for incremental adoption.