Token-efficient agent-to-agent coordination protocol
Project description
Slipstream
Semantic quantization for multi-agent AI coordination.
Slipstream encodes coordination messages as compact Force+Object intents:
SLIP v3 <src> <dst> <Force> <Object> [payload...]
Typical JSON coordination messages (~40+ tokens) compress to ~6-8 wire tokens.
Start Here
- Quick adoption guide
- LangGraph integration guide
- SDK reference
- v3.0 -> v3.1 migration notes
- Protocol invariants
- Canonical paper source (v3.1 markdown)
Install
pip install slipcore
Quick Start
from slipcore import format_slip, parse_slip, quantize, render_human
# Direct formatting
wire = format_slip("alice", "bob", "Request", "Review", ["auth"])
assert wire == "SLIP v3 alice bob Request Review auth"
# Think -> Quantize -> Transmit helper
wire2 = quantize(
"Please review the authentication code",
src="dev",
dst="reviewer",
)
msg = parse_slip(wire)
print(msg.force, msg.obj, msg.payload)
print(render_human(msg))
Strict Fallback Rules (v3.1.0)
Fallback messages are now strict:
Fallbackmessages must include a ref token.- Ref token must be alphanumeric and 1-16 chars.
- Use
parse_slip_legacy()only for explicit migration of old permissive wires.
from slipcore import format_fallback, parse_slip_legacy
wire = format_fallback("qa", "planner", "ref7f3a")
legacy = parse_slip_legacy("SLIP v3 qa planner Fallback Generic")
assert legacy.fallback_ref == "reflegacy"
Force Vocabulary (Closed, 12)
Observe, Inform, Ask, Request, Propose, Commit, Eval, Meta, Accept, Reject, Error, Fallback
Ecosystem
- Model: anthonym21/slipstream-glm-z1-9b
- Dataset: anthonym21/slipstream-tqt
- A2A transport extension: extensions/a2a-slipstream/v1
Governance
Citation
@misc{maio2025slipstream,
title={Slipstream: Semantic Quantization for Efficient Multi-Agent Coordination},
author={Maio, Anthony},
year={2025},
url={https://github.com/anthony-maio/slipcore}
}
License
Apache 2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slipcore-3.1.1.tar.gz.
File metadata
- Download URL: slipcore-3.1.1.tar.gz
- Upload date:
- Size: 649.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
065458b1dc68e2665c85ef6c2f274b598354f1605a6273a9e7c1323f0e20dab9
|
|
| MD5 |
8d7936bc8d9225fcc995d132d6207184
|
|
| BLAKE2b-256 |
5fbedafe8f9f29e59b05460d6f0c61767b8e14325c1a6500fe65717449f85640
|
Provenance
The following attestation bundles were made for slipcore-3.1.1.tar.gz:
Publisher:
publish.yml on anthony-maio/slipcore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
slipcore-3.1.1.tar.gz -
Subject digest:
065458b1dc68e2665c85ef6c2f274b598354f1605a6273a9e7c1323f0e20dab9 - Sigstore transparency entry: 1099653480
- Sigstore integration time:
-
Permalink:
anthony-maio/slipcore@97b10116ae52e094c94761d3c6256a35b5db68fb -
Branch / Tag:
refs/tags/v3.1.1 - Owner: https://github.com/anthony-maio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97b10116ae52e094c94761d3c6256a35b5db68fb -
Trigger Event:
release
-
Statement type:
File details
Details for the file slipcore-3.1.1-py3-none-any.whl.
File metadata
- Download URL: slipcore-3.1.1-py3-none-any.whl
- Upload date:
- Size: 40.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b8aeec1d0262377fd9fbac6d5a34b028a4fce9a8cae26329ca01c9654b23eb3
|
|
| MD5 |
7826911d568c4a2275cb294c004be6d2
|
|
| BLAKE2b-256 |
d769edb66e7f229971d4e704bb47ed3dc810b7ea9c4dbca98058e7f8ff81193c
|
Provenance
The following attestation bundles were made for slipcore-3.1.1-py3-none-any.whl:
Publisher:
publish.yml on anthony-maio/slipcore
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
slipcore-3.1.1-py3-none-any.whl -
Subject digest:
9b8aeec1d0262377fd9fbac6d5a34b028a4fce9a8cae26329ca01c9654b23eb3 - Sigstore transparency entry: 1099653533
- Sigstore integration time:
-
Permalink:
anthony-maio/slipcore@97b10116ae52e094c94761d3c6256a35b5db68fb -
Branch / Tag:
refs/tags/v3.1.1 - Owner: https://github.com/anthony-maio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97b10116ae52e094c94761d3c6256a35b5db68fb -
Trigger Event:
release
-
Statement type: