Skip to main content

The Agent Swarm Framework for the Internet of Intelligence

Project description

🤖 IOI Swarm SDK (ioi-swarm)

The Official Python Framework for the Internet of Intelligence (IOI) Protocol.

ioi-swarm is a high-performance library for building sovereign, autonomous agents that run on the IOI Network. Unlike standard agent frameworks, IOI agents are cryptographically tied to The Substrate (Sovereign Context Substrate), ensuring that every observation, decision, and action is verifiable and tamper-proof.

PyPI version License: BBSL


🚀 Key Features

  • Sovereign Context Substrate (SCS): Direct integration with the IOI Substrate for intent-constrained memory and provenance proofs.
  • Distributed Inference Mesh (DIM): Seamlessly burst agent reasoning to a decentralized network of GPU providers.
  • Verifiable Agency: Every tool call generates a cryptographic receipt, providing an immutable audit trail of agent behavior.
  • Ghost Mode: Record agent traces locally to synthesize security policies for the IOI Semantic Firewall.
  • Post-Quantum Secure: Built-in support for hybrid classical/PQ cryptographic identities.

📦 Installation

pip install ioi-swarm

Note: Requires a running IOI Node (ioi-local) for full verification and settlement capabilities.

🛠 Quickstart

from ioi_swarm import Agent, tool, ActionTarget

# 1. Initialize your Sovereign Agent
agent = Agent(name="Autopilot", policy_id="finance-restricted")

# 2. Define a Verifiable Tool
@tool(name="get_balance", target=ActionTarget.FS_READ)
def check_vault_balance(vault_id: str):
    """Checks the balance of a specific on-chain vault."""
    # Logic intercepted by the IOI Kernel for policy enforcement
    return 100.0

# 3. Register and Run
agent.register_tool(check_vault_balance)
agent.run("Check my vault balance and alert me if it's below 50")

🧠 The Triad of Agency

IOI agents operate within a strict architectural boundary:

  1. Drivers: Native hardware capabilities (Eyes & Hands).
  2. Tools: Extensible WASM-based instruments (Utility).
  3. Skills: Procedural memory stored in the Substrate (Know-How).

📄 Documentation

For full protocol specifications, whitepaper details, and advanced swarming patterns, visit docs.ioi.network.

🛡 Security

The ioi-swarm SDK is designed to be "Secure by Default." All outbound requests are gated by the IOI Agency Firewall, which performs real-time PII scrubbing and intent validation.


© 2026 IOI Foundation. Built for the Internet of Intelligence.

Project details


Download files

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

Source Distribution

ioi_swarm-0.1.2.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

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

ioi_swarm-0.1.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file ioi_swarm-0.1.2.tar.gz.

File metadata

  • Download URL: ioi_swarm-0.1.2.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ioi_swarm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 51ceb5fa1bb7160c2aab19c80bd83367c4b7ab9b01be4abb75fcfaa615a73d72
MD5 b718953cd41f2f1269209c56792275e5
BLAKE2b-256 c167344cd18cbb6e70a3dd1dd2fdb7c30ed96a114dee7e3402165c298107a50a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ioi_swarm-0.1.2.tar.gz:

Publisher: workflow.yml on ioi-foundation/ioi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ioi_swarm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ioi_swarm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ioi_swarm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9282a1cfadb472a8eda19cdd27b60757a408f7a01a3652f5a88394e3ced1c6e2
MD5 d4024446f721400565b2a486e43562ed
BLAKE2b-256 6e0ce6c98b6fe6b16dd49f12a160b28a7166dd969844a58bbe1a3811e5b9d28b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ioi_swarm-0.1.2-py3-none-any.whl:

Publisher: workflow.yml on ioi-foundation/ioi

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