AISP Under the Hood
AISP is a 5-layer protocol stack sitting on top of the Blackhole 9-layer mesh OS. Click any AISP layer to explore its internals — or scroll to see how the full stack fits together.
AISP Runs on the Blackhole 9-Layer Stack
AISP inherits WireGuard encryption, CRDT peer discovery, Zero Trust tokens, and XDP fast path from Blackhole — for free.
The 5 AISP Layers
Click any layer to explore its internals.
The session layer manages agent lifecycles as an explicit finite state machine. Sessions survive network partitions and agent restarts — state is checkpointed to the CRDT store at every transition. A suspended session resumes exactly where it left off.
- States: INIT → ACTIVE → SUSPENDED → TERMINATED
- Ed25519 session authentication on every handshake
- Monotonic sequence numbers prevent replay attacks
- Crash recovery: resume from last CRDT checkpoint
- Session multiplexing: one agent, many concurrent sessions
- Timeout + keepalive configurable per session
Three Things No Other Agent Protocol Has
Agents can sync files across the mesh without a central coordinator. Conflict behavior and convergence are validated during assisted onboarding.
Agent identity is cryptographically proven via Ed25519 + ZK Schnorr. Offline verification — no server call, no OCSP, no PKI infrastructure needed.
When agents are on the same Blackhole mesh, XDP fast-path behavior is treated as a deployment-specific validation target.
Framework Integration
AISP vs Other Protocols
| Feature | AISP | gRPC | WebSocket | HTTP |
|---|---|---|---|---|
| Persistent sessions | ||||
| Mesh transport | ||||
| 6 CRDT memory types | ||||
| ZK identity proofs | ||||
| Offline verification | ||||
| XDP fast path | ||||
| Self-hosted | ||||
| Latency (p50) | 0.4ms | 2ms | 3ms | 12ms |