Skip to main content

UMAI Agent SDK for Python

Production Python SDK for UMAI Agent Mesh Governance, guardrails, signed agent identity, and agent work-tree observability.

pip install umai-agent-sdk
pip install umai-agent-sdk[openai]
from umai import UmaiClient
from umai.stores import FileIdentityStore

umai = UmaiClient(endpoint="https://api.umai.ai", api_key="...")
agent = umai.agent(
    "support-agent",
    identity_store=FileIdentityStore(allow_plaintext_private_key=True),
)

await agent.register(bootstrap_token="...")
run = await agent.start_run(guardrail_id="gr-prod")
decision = await agent.guard_tool_input(
    guardrail_id="gr-prod",
    run_id=run.run_id,
    tool_name="crm.lookup",
    payload_summary="Lookup customer profile",
    messages=[{"role": "assistant", "content": "Call crm.lookup"}],
)
await agent.complete_run(run.run_id)

The SDK is a convenience layer over UMAI HTTP APIs. Every SDK feature maps to public UMAI endpoints and can be implemented without the SDK.

Metadata

Release files for umai-agent-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for umai-agent-sdk 0.1.0
File Size Uploaded
umai_agent_sdk-0.1.0.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for umai-agent-sdk 0.1.0
File Interpreter ABI Platform
umai_agent_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.4 kB

Release files / umai_agent_sdk-0.1.0.tar.gz

Download URL umai_agent_sdk-0.1.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7fd94d6ebd7d1ece69b507ced34f0cdb61f9eda2fcf8b1e02b1e2044db01ea70
BLAKE2b-256 checksum
How to use checksums
3344d9c0db878dd24e478617b96a9c9fb9494adadac117bb079731fb9019004f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 26, 2026.

Transparency log

Release files / umai_agent_sdk-0.1.0-py3-none-any.whl

Download URL umai_agent_sdk-0.1.0-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9470edb233ec2b489aa3e907c1c2a2ff4dd9ce35c5d3a6a4332af03dd6c4409f
BLAKE2b-256 checksum
How to use checksums
46195a1da8e85767971aae8a4605782197739a782b1d202b87e31c10e5dff3db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page