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.7-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ioc_l9_all_models-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ad47563de666aa9bb33536415b2e06aa4e2c105837723cffc6a5eb4788f0f92a
MD5 a162449870e7f2dc555c12c2cc6075d6
BLAKE2b-256 b896a13b7d50e120fe0a732bc502057e6ad743f75918c2a5e9e53fe0227e4182

See more details on using hashes here.

Provenance

The following attestation bundles were made for ioc_l9_all_models-0.0.7-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