Skip to main content

IOC L9 Protocol Models

Pydantic models and protocol definitions for the Internet of Cognition (IoC) Layer 9 protocol stack.

Installation

pip install ioc-l9-all-models

Quick Start

# import L9 protocol models
from ai.outshift.data_model import L9, L9Header, L9Payload, Message, Actor, ParticipantSet, Kind

# import SAB subprotocol models + builder (SAB reuses the canonical L9 header)
# from ai.outshift.subprotocols.sab import SABMessageBuilder, SABNegotiatePayloadData

# Create an L9 message
msg = L9(
    header=L9Header(
        protocol="SSTP",
        subprotocol="TFP",
        version="1.0",
        kind=Kind.intent,
        subkind="",
        participants=ParticipantSet(
            actors=[Actor(id="actor-1", role="analyst")],
            groups={"team_alpha": ["actor-1"]},
        ),
    ),
    payload=L9Payload(
        type="text",
        data={"content": "Hello from L9!"},
    ),
)

print(msg.model_dump_json(indent=2))

What's Included

  • L9/SSTP — Core protocol Pydantic models (L9, L9Header, L9Payload, Actor, Message, etc.)
  • SIEP — Semantic Information Exchange Protocol
  • CIP — Cognition and Interoperability Protocol
  • SAB — Semantic Alignment Broadcast
  • TFP — Team Formation via Polling

Requirements

  • Python >= 3.10, < 3.14
  • pydantic >= 2.0

License

Apache License 2.0 - See LICENSE for details.

Metadata

Release files for ioc-l9-all-models 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ioc-l9-all-models 0.0.8
File Interpreter ABI Platform
ioc_l9_all_models-0.0.8-py3-none-any.whl Python 3 none any Details

Release files / ioc_l9_all_models-0.0.8-py3-none-any.whl

Download URL ioc_l9_all_models-0.0.8-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa0868121cb6d50e1cb9c64f674dae8d14d8f793fbc0e2643e61d92de7cebc2c
BLAKE2b-256 checksum
How to use checksums
e6e66896ff89674df31173eaf16c28ccd99f2860003aecb563aaf000a7a15bfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file

0.0.7

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page