Skip to content

Releases: sunilp/ldp-protocol

v0.1.0 — First public release

14 Mar 18:26

Choose a tag to compare

LDP v0.1.0

First public release of the LLM Delegate Protocol.

Python SDK (pip install ldp-protocol)

  • Protocol types — Pydantic models for all LDP types (identity cards, capabilities, sessions, messages, provenance, trust domains, payload modes)
  • LdpClient — Async HTTP client with discovery, session management, and task submission
  • LdpDelegate — Base class for building delegates with optional Starlette server
  • LdpRouter — Multi-strategy routing (quality, cost, latency, balanced) with trust domain filtering
  • 29 tests passing

Rust reference implementation

  • Standalone protocol abstractions — ProtocolAdapter trait, ProtocolRegistry, and 9 standalone types (no external runtime dependency)
  • LdpAdapter — Full lifecycle: discover, invoke, stream, status, cancel
  • Session management — Transparent session establishment, reuse, and expiration
  • Optional JamJet integration — enable with features = ["jamjet"] for native runtime integration
  • 17 tests passing (10 unit + 7 integration)

Protocol features

  • Rich delegate identity cards (model family, quality scores, reasoning profiles, cost/latency hints)
  • Progressive payload modes 0-1 (Text + Semantic Frame, 37% token reduction)
  • Governed sessions with payload mode negotiation
  • Structured provenance on every response
  • Trust domain enforcement (Rule #1)
  • 12 message types (HELLO through SESSION_CLOSE)

Links