Files
zeekay 6e84f91076 Initial: zap-acp v0.1 schema
Agent Communication Protocol over ZAP — FIPA-style speech acts, signed.

Schema-first release: schema/zap_acp.zap defines the wire format in
ZAP schema language. Reference implementations follow in v0.2 once
zap-proto/spec provides cross-language codegen.

See https://github.com/zap-proto/papers/tree/main/agent-communication for the
formal analysis.
2026-05-06 13:26:27 -07:00

47 lines
1.2 KiB
Plaintext

# zap-acp — Agent Communication Protocol over ZAP.
#
# FIPA-style speech acts (inform, request, agree, refuse, query, …)
# wrapped in ZAP frames, each signed by the speaking agent. Provides
# structured intent and provenance for multi-agent orchestration.
struct Message
conversationId Text
inReplyTo Text
performative Performative
sender Text # agent identifier (resolves via zap-rns)
receivers List(Text)
ontology Text
language Text # content language (e.g. "json", "fipa-sl")
encoding Text # content encoding (e.g. "utf-8")
content Data
protocol Text
replyBy UInt64 # unix nanos; 0 = no deadline
signature Data # signed by sender's long-term key
# FIPA Communicative Act Library performatives. The list is canonical
# but not closed — implementations MAY introduce new performatives via
# the `customPerformative` field on Message extensions in v0.2.
enum Performative
acceptProposal
agree
cancel
cfp
confirm
disconfirm
failure
inform
informIf
informRef
notUnderstood
propagate
propose
proxy
queryIf
queryRef
refuse
rejectProposal
request
requestWhen
requestWhenever
subscribe