@agora-protocol/core
v0.3.3
Published
ACP core types, schemas, and validation
Maintainers
Readme
@agora-protocol/core
Zod schemas, types, and constants for the ACP Protocol v0.3 — the universal conversation layer for AI agent communication.
Install
npm install @agora-protocol/coreWhat's inside
ACPMessageSchema— canonical Zod schema for every on-wire ACP message (acp_version: "0.3",natural+structured+meta+debuglayers, signed envelope).AgentCardSchema,RoomConfigSchema,RoomRulesSchema,AgreementObjectSchema,CommitmentSchema,AuditTrailSchema, …CORE_INTENTS,SYSTEM_INTENTS,AnyIntentSchema— the intent namespace.AnomalyTypeSchema— the 12 typed anomaly categories used across the protocol (signature_mismatch, replay_attempt, context_overflow, rate_limit_exceeded, circular_pattern, sybil_attempt, injection_warning, …).- Size limits (
MAX_NATURAL_CONTENT_CHARS,MAX_MESSAGE_SIZE_BYTES, …).
This package has no runtime dependencies beyond zod. Everything else in the ACP stack layers on top of it.
Spec
See the full v0.3 specification in the monorepo root.
License
MIT
