Skip to main content

IOC L9 Protocol Package

Project description

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
# from ai.outshift.sab.data_model import SAB, SABActors, SABHeader, SABPayload, SABIntentPayloadData

# 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 Interoperability and Epistemic Protocol
  • CIP — Cognition and Interoperability Protocol
  • SAB — Semantic Alignment Broadcast
  • TFP — Team Formation via Polling

Requirements

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

Links

License

Apache License 2.0 - See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ioc_l9_all_models-0.0.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file ioc_l9_all_models-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ioc_l9_all_models-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 540d27b54cf6eb18a1f795534b0ddf80be725f3ef53f48ec63cbcf5e504210cf
MD5 57f21279c56e2d8b185ccad1d3887a78
BLAKE2b-256 46d3d6e2bb8cfd29ff17171ecae2a2b9929477b48572c76042d51a2020682c4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ioc_l9_all_models-0.0.2-py3-none-any.whl:

Publisher: publish.yaml on outshift-open/ioc-protocols-models

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