Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-protocols-mv/patches/069ca46506e474a1 # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aien-protocols-mv#8 (code only) closed derived `069ca46506e474a1` #8 Imported from GitHub aien-dev/aien-protocols-mv#8 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `7ac6facb630ca7e9a6ab4125b292203fe2bb6687` · Head `c387dba95f25a2875e99241ed6c06db1cfac97b1` ### Apply it ``` git checkout -b patch-069ca46506e474a1 7ac6facb630ca7e9a6ab4125b292203fe2bb6687 curl -fsSL https://interplane.io/drakestapleton/aien-protocols-mv/patches/069ca46506e474a1.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aien-protocols-mv 8 c387dba95f25a2875e99241ed6c06db1cfac97b1 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-protocols-mv","number":8,"url":"https://github.com/aien-dev/aien-protocols-mv/pull/8","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:48Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/README.md b/README.md index 6a32b2b..87b2862 100644 --- a/README.md +++ b/README.md @@ -1,67 +1,49 @@ # aien-protocols -Canonical specifications, wire protocols, data models, and reference ABI crates for the AIEN ecosystem. +Versioned specifications and reference crates for AIEN: what portable agent state, inference requests, actions, evaluation and provenance receipts mean. It holds contracts, never private implementations. -## Architectural Mandate +## Current state -`aien-protocols` defines what portable AIEN state and wire messages mean. It contains contracts, never private implementations. +Research-grade and pre-alpha. The specifications and reference Rust crates (Apache-2.0) in this repository predate the project's decision to target C. The reference crates are legacy: no new Rust is added, and the specifications are the durable part. Language-neutral C implementations will live with their owners (omega, aienos). Status of the whole system is owned by [aien-architecture](https://github.com/aien-dev/aien-architecture): [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-dev/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md). No protocol here is claimed as qualified on hardware. + +## Layout ```text - aien-protocols - ┌────────┼────────┐ - │ │ │ - ▼ ▼ ▼ - Agent State Inference Actions/ - ABI Protocol Provenance - ▲ ▲ ▲ - │ │ │ - ┌───────┘ │ └───────┐ - │ │ │ - aegis-runtime │ aien-sovereign-core - (AGPL-3.0-only) │ (MPL-2.0) - │ │ │ - └──── NO DIRECT CARGO EDGE ──────┘ +specs/ Normative specifications (Community Specification License 1.0): + agent-state, inference, evaluation +crates/ Reference Rust crates (Apache-2.0), legacy: + aien-protocol-types, aien-agent-state-abi, aien-inference-protocol, + aien-inference-client, aien-action-protocol, aien-event-protocol, + aien-evaluation-protocol, aien-provenance, aien-probe ``` -> **Inward Invariant**: Protocols point inward to nothing. Implementations point downward to protocols. AEGIS and Sovereign Core never point sideways at each other. Any deployment requiring both in one process is composed from above via `aien-local-stack`. +Governance and policy files: [GOVERNANCE.md](GOVERNANCE.md), [SCOPE.md](SCOPE.md), [VERSIONING.md](VERSIONING.md), [CHANGELOG.md](CHANGELOG.md), [CONSUMERS.md](CONSUMERS.md), [ANTI_ENCLOSURE.md](ANTI_ENCLOSURE.md), [NOTICES.md](NOTICES.md), [TRADEMARKS.md](TRADEMARKS.md). -## Repository Structure +## Rule of direction -```text -aien-protocols/ -├── LICENSE-SPEC Community Specification License 1.0 -├── LICENSE-CODE Apache-2.0 -├── ANTI_ENCLOSURE.md Anti-enclosure commitments and covenants -├── GOVERNANCE.md Specification development process -├── SCOPE.md Working group scope definition -├── NOTICES.md Patent notices and implementer registry -├── TRADEMARKS.md Conformance and trademark policy -│ -├── specs/ Normative specifications (Community-Spec-1.0) -│ ├── agent-state/ Agent State ABI specification -│ ├── inference/ Inference Protocol specification -│ ├── actions/ Action and capability specification -│ ├── evaluation/ Unified Evaluator Protocol specification -│ └── provenance/ Cryptographic attestation and receipt specification -│ -├── schemas/ JSON Schemas for language-neutral serialization -│ -├── crates/ Reference Rust ABI crates (Apache-2.0) -│ ├── aien-protocol-types -│ ├── aien-agent-state-abi -│ ├── aien-inference-protocol -│ ├── aien-inference-client -│ ├── aien-action-protocol -│ ├── aien-event-protocol -│ ├── aien-evaluation-protocol -│ └── aien-provenance -│ -├── bindings/ Cross-language bindings (Mojo, Python, C++) -└── conformance/ Test vectors and validation test suites +Protocols point inward to nothing. Implementations point downward to protocols. They never point sideways at each other: any deployment needing two implementations in one process is composed from above. + +## How this fits with the other repositories + +[omega](https://github.com/aien-dev/omega) and [aienos](https://github.com/aien-dev/aienos) implement the contracts in C; [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) is the earlier Rust consumer (legacy); [aien-architecture](https://github.com/aien-dev/aien-architecture) owns status. + +## Standing rules + +C is the target language, with assembly only where measured; no new Rust; no Python; no CUDA toolkit; no systemd; no outside dependencies in the trusted base. + +## Build and test + +The legacy reference crates need a Rust toolchain: + +```bash +cargo check --workspace --all-targets +cargo test --workspace ``` +## Contributing + +Open a pull request against `main` with the commands you ran and their output. Specification changes follow [GOVERNANCE.md](GOVERNANCE.md) and [VERSIONING.md](VERSIONING.md). Contact: aien@aienos.com. + ## Licensing -- **Specifications**: [Community Specification License 1.0](LICENSE-SPEC). -- **Code, Schemas, and Crates**: [Apache License 2.0](LICENSE-CODE). -- **Anti-Enclosure Commitments**: See [ANTI_ENCLOSURE.md](ANTI_ENCLOSURE.md). +Specifications: [Community Specification License 1.0](LICENSE-SPEC). Code and crates: [Apache License 2.0](LICENSE-CODE). Anti-enclosure commitments: [ANTI_ENCLOSURE.md](ANTI_ENCLOSURE.md). ```