Skip to main content

A Python SDK for the CirtusAI backend: agent, wallet, and credential management.

Project description

CirtusAI Python SDK

The CirtusAI Python SDK provides a simple, robust interface for developers to interact with the CirtusAI backend. It enables seamless agent management, wallet and asset provisioning, decentralized identity (DID) operations, and verifiable credential workflows—all through a modern, well-documented Python API and CLI.

  • Sync and async support: Use either synchronous or asynchronous clients.
  • Comprehensive CLI: Manage agents, wallets, and credentials from the command line.
  • Pydantic models: Typed request/response validation for reliability.
  • Easy integration: Designed for third-party developers to get started in minutes.
  • Automated tests and CI: Ensures reliability and compatibility with the CirtusAI backend.

Whether you’re building identity-driven apps, automating agent provisioning, or issuing verifiable credentials, the CirtusAI SDK makes integration fast and developer-friendly.


Installation

pip install cirtusai-sdk
# or to install the dev extras:
pip install cirtusai-sdk[dev]

Quickstart

from cirtusai import CirtusAIClient

client = CirtusAIClient(base_url="https://api.cirtus.ai", token="YOUR_JWT_TOKEN")
agents = client.agents.list_agents()
child = client.agents.create_child_agent(parent_id=agents[0]["id"], name="MyChild")
email_asset = client.agents.provision_email(child["id"])
vc = client.identity.issue_credential(
    subject_id=child["id"],
    types=["VerifiableCredential"],
    claim={"role": "member"}
)
client.close()

Features

  • Manage agents and child agents
  • Provision email and wallet assets
  • Issue and verify verifiable credentials
  • Full CLI for agent and asset management
  • Sync and async Python API

Command-Line Interface (CLI)

After installation, use the cirtusai command:

export CIRTUSAI_TOKEN="..."
cirtusai agents list
cirtusai agents provision-email

Run cirtusai --help for all commands.


Documentation


Contributing

Contributions are welcome! Please open issues or pull requests on GitHub.


License

This project is licensed under the MIT License.


Happy coding with CirtusAI! 🎉

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

cirtusai_sdk-0.1.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

cirtusai_sdk-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file cirtusai_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: cirtusai_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for cirtusai_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 80fedad7b1d1bcca14bd151ccc5b371efcbc3da7a753d5d8ab4431d4c7f53911
MD5 a5034bb7b6c7441742640604ecc63164
BLAKE2b-256 336a1fb43f8a03c12594604a8064ffcf5a745964145384cddcddf8e5ae79f2e9

See more details on using hashes here.

File details

Details for the file cirtusai_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cirtusai_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for cirtusai_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44bdacb8077b4aadc8c8d0da9bf363cab2b68b9bca12406d5723156c220fc73e
MD5 e396d54261a80359c9ad705d3c0bd72a
BLAKE2b-256 66c8362d8143e13f091f9c940751f0930eeedc9a0b5f65ed39ac64c8d80d43d0

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