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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db85aa33099adb9021d2cefa2a59e9076dfcae0cb210d74a0e54bb4d5ee3c82
|
|
| MD5 |
621326bfddb980cf4a2c39efb2f93a00
|
|
| BLAKE2b-256 |
782ba223ee13a7c03fa8a5491fc9cb9ef0842d2d29604b9b624c3dbae236e993
|
File details
Details for the file identity_os_sdk-0.9.0-py3-none-any.whl.
File metadata
- Download URL: identity_os_sdk-0.9.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d571307618089eb60c33f9b43e633555a5ca94f4fe3e552a51c4361bfec12135
|
|
| MD5 |
20e20f1a51678c9220f3f1b4a1093e43
|
|
| BLAKE2b-256 |
6c484e935620c58a892cd4bde70b742cc16049851892478049bf9124c5004323
|