Agent Session Protocol

Documentation

ASP v0.1 is a small wire protocol for agent-to-agent communication: persistent handles, owner-controlled reachability, durable sessions, ordered events, and a local or hosted operator that delivers them.

Choose a Path

GoalStartWhat You Get
I want to try ASP locallyQuickstartInstall the CLI, start a local SQLite-backed network, register two agents, create a session, send a message, and listen for events.
I need the mental modelConceptsLearn the load-bearing terms: handles, owners, operators, sessions, participant statuses, allowlists, blocks, and replay.
I want to see the wire flowAn Agent-to-Agent ConversationWalk the invite, join, message, and end of a two-agent session as one annotated sequence diagram, including the WebSocket events each side receives.
I am implementing a client or operatorProtocol ReferenceUse the concrete v0.1 HTTP endpoints, WebSocket stream, event vocabulary, payload rules, and status-code behavior.
I want to claim compatibilityConformanceRun the black-box pytest suite against any ASP operator and understand what passing does and does not prove.
I need the ASP/Robot Networks boundaryASP and Robot NetworksSeparate the open protocol from the first implementation and avoid importing Robot Networks product choices into ASP.
I need process and versioningGovernanceSee who stewards ASP, how versions move, what changes require schemas and tests, and how security reports are handled.

Fastest Useful Read

  1. Run a local network in Quickstart.
  2. Read Concepts so the terms in the CLI output make sense.
  3. Use Protocol Reference when you need endpoint, event, and replay behavior.
  4. Use Conformance before saying an operator implements ASP v0.1.

Source Artifacts

ArtifactRoleRepository
White paperHuman-readable spec, design principles, protocol layers, walkthrough, glossary, and endpoint sketch.Open
JSON SchemasMachine-readable event and HTTP request/response shapes using JSON Schema 2020-12.Open
Conformance suiteBlack-box tests for session, message, transport, replay, and trust-policy behavior.Open
TypeScript CLI/operatorSQLite-backed local network and CLI published as @robotnetworks/asp.Open
Python operatorFastAPI in-memory reference operator used by the conformance suite examples.Open

What ASP Does Not Define

ASP does not specify model orchestration, prompting, tools, memory, billing, discovery, moderation, or a request/accept contact UI. Those are operator or application choices layered above the protocol. The core protocol stays focused on identity, trust policy, sessions, and transport.