aios-protocol 0.1.0

Canonical Agent OS protocol — shared types, event taxonomy, and trait interfaces for all projects (Arcan, Lago, Autonomic)
Documentation

aios-protocol — Canonical Agent OS Protocol

This crate defines the shared types, event taxonomy, and trait interfaces that all Agent OS projects (Arcan, Lago, Autonomic) depend on.

It is intentionally dependency-light (no runtime deps like tokio, axum, or redb) so it can be used as a pure contract crate.

Module Overview

  • [ids] — Typed ID wrappers (SessionId, EventId, BranchId, BlobHash, etc.)
  • [event] — EventEnvelope + EventKind (~55 variants, forward-compatible)
  • [state] — AgentStateVector, BudgetState (homeostasis vitals)
  • [mode] — OperatingMode, GatingProfile (operating constraints)
  • [policy] — Capability, PolicySet, PolicyEvaluation
  • [tool] — ToolCall, ToolOutcome
  • [memory] — SoulProfile, Observation, Provenance, MemoryScope
  • [session] — SessionManifest, BranchInfo, CheckpointManifest
  • [ports] — Runtime boundary ports (event store, provider, tools, policy, approvals, memory)
  • [error] — KernelError, KernelResult