Skip to main content

Token-efficient agent-to-agent coordination protocol

Project description

Slipstream

Semantic quantization for multi-agent AI coordination.

PyPI License Model Dataset Paper

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

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:

  • Fallback messages 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

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

slipcore-3.1.1.tar.gz (649.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slipcore-3.1.1-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

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

Hashes for slipcore-3.1.1.tar.gz
Algorithm Hash digest
SHA256 065458b1dc68e2665c85ef6c2f274b598354f1605a6273a9e7c1323f0e20dab9
MD5 8d7936bc8d9225fcc995d132d6207184
BLAKE2b-256 5fbedafe8f9f29e59b05460d6f0c61767b8e14325c1a6500fe65717449f85640

See more details on using hashes here.

Provenance

The following attestation bundles were made for slipcore-3.1.1.tar.gz:

Publisher: publish.yml on anthony-maio/slipcore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for slipcore-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b8aeec1d0262377fd9fbac6d5a34b028a4fce9a8cae26329ca01c9654b23eb3
MD5 7826911d568c4a2275cb294c004be6d2
BLAKE2b-256 d769edb66e7f229971d4e704bb47ed3dc810b7ea9c4dbca98058e7f8ff81193c

See more details on using hashes here.

Provenance

The following attestation bundles were made for slipcore-3.1.1-py3-none-any.whl:

Publisher: publish.yml on anthony-maio/slipcore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page