Skip to content

anthony-maio/slipcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

SLIPCore - Streamlined Interagent Protocol for LLM agent communication

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors