IEF Protocol Layer -- shared contracts for AI-worker communication and collaboration.
Defines the durable shared objects and communication contracts that all IEF layers use to exchange work, status, artifacts, and context.
- AgentCard schema and validation
- Capability schema and registry
- TaskEnvelope schema and validation
- Message schema
- Artifact schema and provenance tracking
- ContextRef schema
- StatusEvent schema and type system
- Handoff schema and context preservation
- ApprovalRequest schema
- Protocol versioning rules
- Orchestration policy (that is IEF-Work)
- Task state machine logic (that is IEF-Work)
- Concrete transport runtime (that is IEF-Adapters or host systems)
- Execution implementation (that is IEF-Workers)
| Object | Description |
|---|---|
AgentCard |
Machine-readable declaration of an AI worker or service |
Capability |
Declared ability of a worker (skills, tools, constraints) |
TaskEnvelope |
Wrapped task with metadata, policy profile, and context refs |
Message |
Typed communication between workers |
Artifact |
Tangible output with provenance, immutability, and approval relevance |
StatusEvent |
Typed status update (queued, assigned, started, blocked, completed, etc.) |
Handoff |
Work transfer with preserved context references |
ApprovalRequest |
Structured approval or exception request |
ContextRef |
Stable reference to knowledge, memory, policy, or prior artifacts |
- Object schemas must be explicit (JSON Schema)
- Artifacts must be first-class objects
- Status must be typed, not free-form text
- Handoff must preserve context references
- Protocol versioning must be explicit in every envelope
- Start with JSON schemas, internal interfaces, event contracts, validation logic
- Later add external gateways, compatibility bridges, ecosystem interoperability
| Dependency | Direction | Purpose |
|---|---|---|
| IEF-Governance | consumed | Policy metadata for task risk classification |
| IEF-Work | produced | Schemas consumed by task and run management |
| IEF-Workers | produced | Schemas consumed by worker implementations |
| IEF-Adapters | produced | Schemas consumed by host-environment bindings |
| IEF-Knowledge | consumed | ContextRef semantics and knowledge addressing |
- Repository created
- AgentCard schema drafted
- Artifact schema drafted
- StatusEvent schema drafted
- Handoff schema drafted
- Protocol versioning defined
- Draft AgentCard JSON schema
- Draft Artifact JSON schema
- Draft StatusEvent JSON schema
- Draft Handoff JSON schema
- Define protocol versioning strategy
- Create validation logic for all schemas
| Term | Meaning |
|---|---|
| AgentCard | Machine-readable worker declaration |
| TaskEnvelope | Wrapped task with metadata and context |
| Artifact | Tangible, versioned output with provenance |
| StatusEvent | Typed work status update |
| Handoff | Work transfer preserving context |
Short term: Keep protocol objects inside IEF-Work as internal_protocol/ until the internal contract stabilizes.
Long term: Split into IEF-Protocol when contracts are battle-tested.
See IEF Design Pack v0.2 section 12 for full protocol model.