Skip to main content

Python SDK for Identity OS — Stateful Personality Engine for AI Agents

Project description

Identity OS Python SDK

Runtime behavioral control for AI agents.

Install

pip install identity-os-sdk

Quick Start

from identity_os_sdk import IdentityOS, Mode

client = IdentityOS(api_key="idos_sk_xxx")

# Create agent instance
instance = client.instances.create(name="Aria")

# Process observation → get ExecutionContract
result = client.engine.process(
    instance_id=instance.id,
    mode_target=Mode.EXPLORATION,
    signal_strength=0.7
)

# Contract tells your agent what it can do
print(result.contract.allowed_actions)
print(result.contract.forbidden_actions)

Links

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

identity_os_sdk-0.9.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

identity_os_sdk-0.9.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file identity_os_sdk-0.9.0.tar.gz.

File metadata

  • Download URL: identity_os_sdk-0.9.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for identity_os_sdk-0.9.0.tar.gz
Algorithm Hash digest
SHA256 5db85aa33099adb9021d2cefa2a59e9076dfcae0cb210d74a0e54bb4d5ee3c82
MD5 621326bfddb980cf4a2c39efb2f93a00
BLAKE2b-256 782ba223ee13a7c03fa8a5491fc9cb9ef0842d2d29604b9b624c3dbae236e993

See more details on using hashes here.

File details

Details for the file identity_os_sdk-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for identity_os_sdk-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d571307618089eb60c33f9b43e633555a5ca94f4fe3e552a51c4361bfec12135
MD5 20e20f1a51678c9220f3f1b4a1093e43
BLAKE2b-256 6c484e935620c58a892cd4bde70b742cc16049851892478049bf9124c5004323

See more details on using hashes here.

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