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.0.tar.gz (649.2 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.0-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file slipcore-3.1.0.tar.gz.

File metadata

  • Download URL: slipcore-3.1.0.tar.gz
  • Upload date:
  • Size: 649.2 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.0.tar.gz
Algorithm Hash digest
SHA256 d0385ed42e39156393ef42f64930d8b25130c43b9cd08ceb7ea49fa570db9d3f
MD5 3f6efc01dd42c93e3594ac9d1c3161a6
BLAKE2b-256 84a1762153a49f602ed9eaa51673f35eeeaaf65e2153bded8533c0194508481d

See more details on using hashes here.

Provenance

The following attestation bundles were made for slipcore-3.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: slipcore-3.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f3e369f595f2353ffe23d6ecab172f27a1532ed725eca26bac44cf5ccb8e9dc
MD5 4c1de2ac691646ba69ca4b10f2403c8d
BLAKE2b-256 f6f78521cc0136977b7b668f65fc336a9f7421057289d9c0c08ce1ed2e787bc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for slipcore-3.1.0-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