Problem
#127 asks for "AgentID as the identity layer" and #126 explores agent marketplaces. These point to the same root need: agents need cryptographic identity before they can communicate, delegate, or be discovered.
Currently, agent-protocol defines a REST interface but agents have no way to:
- Prove who they are (Identity)
- Transfer tasks with context between agents (Handoff)
Proposed Solution
Two protocols from Works With Agents (CC BY 4.0, framework-agnostic):
1. Identity Protocol (L2)
Ed25519 keypairs + signed manifests. Maps directly to the AgentID concept in #127:
agent_a = IdentityProtocol.create_agent("researcher-1")
# Posts to agent-protocol endpoint with signed identity header
2. Handoff Protocol (L4)
Task transfer with complete context and verifiable acceptance:
from works_with_agents import HandoffProtocol
handoff = HandoffProtocol.transfer(
from_agent="researcher-1",
to_agent="writer-2",
task={"query": "Summarize this paper", "context": {...}},
require_acceptance=True
)
For agent marketplaces (#126): Identity + Trust Score (L3) = discover agents, verify identity, check reputation before delegating.
Reference implementations in 6 languages (single-file, zero deps beyond stdlib):
https://github.com/workswithagents/works-with-agents
Specs: https://workswithagents.dev/specs/identity.md + https://workswithagents.dev/specs/handoff.md
Would extensions to agent-protocol implementing Identity + Handoff be welcome? Happy to open a PR.
Problem
#127 asks for "AgentID as the identity layer" and #126 explores agent marketplaces. These point to the same root need: agents need cryptographic identity before they can communicate, delegate, or be discovered.
Currently, agent-protocol defines a REST interface but agents have no way to:
Proposed Solution
Two protocols from Works With Agents (CC BY 4.0, framework-agnostic):
1. Identity Protocol (L2)
Ed25519 keypairs + signed manifests. Maps directly to the AgentID concept in #127:
2. Handoff Protocol (L4)
Task transfer with complete context and verifiable acceptance:
For agent marketplaces (#126): Identity + Trust Score (L3) = discover agents, verify identity, check reputation before delegating.
Reference implementations in 6 languages (single-file, zero deps beyond stdlib):
https://github.com/workswithagents/works-with-agents
Specs: https://workswithagents.dev/specs/identity.md + https://workswithagents.dev/specs/handoff.md
Would extensions to agent-protocol implementing Identity + Handoff be welcome? Happy to open a PR.