Add ERC: Body Lease and Credential Broker#1763
Conversation
File
|
Was temporarily pointing at the ERC-8264 thread while the dedicated thread was being created. Topic now exists: https://ethereum-magicians.org/t/erc-8265-portable-agent-memory-capsule-and-body-lease/28597
…c capsule spec Splits the original three-section proposal: the portable Capsule format (manifest, canonicalization, Merkle commitment, on-chain anchoring) is fundamentally chain- agnostic and is now specified as a standalone document at https://github.com/clavote-boop/rmem-gateway/blob/main/standards/capsule-spec-v0.1.md (signature-suite registry: eip-191, bip-322-legacy; anchor registry). The remaining EVM-native surfaces stay in this ERC: - Body Lease (signed scope/expiry binding of subject -> body) - Credential Broker (no raw credentials in any memory export) Trimmed description under 140 chars to clear eipw lint. Dropped capsule-specific security items (they move to the capsule spec). Reference implementation now points at the lease/broker code paths only.
|
Restructure: scope reduced to Body Lease + Credential Broker; portable Capsule format moved out Addressing the first of the four open questions from the discussion thread ("should the three sections be bundled or split?") — and a composition concern I want to surface proactively: the original §1 Capsule defined a manifest, canonical JSON serialization, Merkle commitment, and Bitcoin What changed in this push:
No code changes in the reference implementation — Net effect: tighter ERC, less reviewer surface area, and the multi-chain Capsule lineage lives where it actually makes sense. cc @g11tech @jochem-brouwer @SamWilsn @xinbenlv — gentle re-ping for the outstanding reviewer slot now that scope is cleaner. |
- Shorten title to fit 44-char cap (the "for ERC-8264 Agents" suffix is implicit via the requires: 8264 preamble field) - Shorten description to fit 140-char cap - Drop "Relationship to ERC-7857 / 8118 / 8181" subsections; unmerged ERCs cannot be linked via ./eip-XXXX.md and bare numeric references fail the markdown-link-first rule. Condensed into a single neutrally-phrased paragraph that does not match the (?i)(?:eip|erc)-[0-9]+ pattern. - Remove "## References" header (not in the EIP-1 section order); fold capsule-spec citation into Reference Implementation - Replace <URL> autolinks with bare URLs to satisfy markdown-rel-links
Round-trip of eipw revealed three more markdown-link-first failures: - EIP-191 was used throughout but never linked. Linked at first mention. - EIP-712 appeared in the new neutral relationship paragraph. Replaced with "time- and usage-bounded delegation" without the EIP number. - ERC-8118 still survived in Motivation and Credential Broker prose. Replaced with "contemporaneous proposals in the agent-authorization space" and "on-chain action-authorization conventions" respectively.
|
The commit b74dcd3 (as a parent of 7c53bd5) contains errors. |
| @@ -0,0 +1,128 @@ | |||
| --- | |||
| eip: 8265 | |||
There was a problem hiding this comment.
| eip: 8265 | |
| eip: 8269 |
Assigning next sequential EIP/ERC/RIP number.
Numbers are assigned by editors & associates.
Please also update the filename.
| @@ -0,0 +1,128 @@ | |||
| --- | |||
| eip: 8265 | |||
| title: Body Lease and Credential Broker | |||
There was a problem hiding this comment.
Note: I am NOT an editor.
Would be great is there was a more descriptive title (within 44 character limit)
| title: Body Lease and Credential Broker | ||
| description: Off-chain body-lease and credential-broker conventions for ERC-8264 agents, binding identity to revocable hardware bodies. | ||
| author: Clavote (@clavote-boop) | ||
| discussions-to: https://ethereum-magicians.org/t/erc-8265-portable-agent-memory-capsule-and-body-lease/28597 |
There was a problem hiding this comment.
| discussions-to: https://ethereum-magicians.org/t/erc-8265-portable-agent-memory-capsule-and-body-lease/28597 | |
| discussions-to: https://ethereum-magicians.org/t/erc-8269-body-lease-and-credential-broker/28597 |
Updated Eth Magicians title with assigned number & ERC title
This PR proposes a companion standard to ERC-8264 "AI Agent Memory Access Rights". ERC-8264 defines a four-function rights interface (
readMemory/writeMemory/deleteMemory/exportMemory) but explicitly leavesexportMemory's returned payload implementor-defined. This proposal fills that gap with three composable layers:exportMemory(subject)returns and that a different implementor's gateway can import for the same subject.The three layers are independently usable. The narrowest viable subset is Capsule alone.
requires: 8264. CC0.Why now
Three problems autonomous AI agents face that no single standard addresses today:
Without a common capsule format, exports from one ERC-8264 implementation cannot be imported by another, undermining the GDPR-Article-20-style portability ERC-8264 was motivated by. Without a Body Lease, agent body migration has no standard handoff. Without the Broker convention, naive capsules embed credentials and the payload becomes a credential.
Composition with existing standards (Rationale section)
The proposal explicitly composes with — rather than competes with — five existing or in-flight standards. Each composition is named in the Rationale section to pre-empt reviewer objections:
The Rationale section also addresses subject ↔ Soul-ID interoperability for implementations whose canonical agent identifier is non-EVM-rooted (e.g., a
did:btc:<pubkey>identifier): same secp256k1 keypair, two chain encodings.Reference implementation
A complete CC0 reference implementation has been live-verified on a Bitcoin chain:
readMemory/writeMemory/deleteMemoryexportMemoryproduces a Capsule per §1 (owner-signed manifest, Merkle root, ciphertext payload files); supports Body Lease auth per §2CAAP+ 1-byte version + 1-byte commit-type + 32-byte root)Live anchor on Bitcoin mutinynet, 2026-05-22:
224958929c193488e639715d278d98bd82b742b579a110a6b8309ce903969f0a— verified by independently re-fetching the tx, extracting the OP_RETURN payload, and matching the committed Merkle root.
Public reference impl URL: (will be added once the implementation repo is published from the private repo — currently maintained at clavote-research)
Backwards compatibility
Additive only. ERC-8264 implementations that do not adopt this ERC continue to operate; their
exportMemoryreturns remain implementor-defined. This ERC's Capsule format is opt-in for any subject.Test cases
Reference implementation ships a
selftestsubcommand on every module. Coverage includes:Discussion
discussions-to: (eth-magicians thread to be created at submission; URL added to frontmatter before merge)Reviewer requests
cc @g11tech @jochem-brouwer @SamWilsn @xinbenlv — same reviewer set as ERC-8264 PR #1752, since the standards are designed to compose.
Author
clavote-boop. CC0.