Skip to main content

Python SDK for the Kakunin AI agent compliance API

Project description

kakunin

Python SDK for the Kakunin AI agent compliance API.

pip install kakunin
import asyncio
from kakunin import Kakunin

async def main():
    async with Kakunin(api_key="kak_live_...") as client:
        agent = await client.agents.create(
            name="TradeBot-1",
            model="gpt-4o",
            version="2024-11",
            model_hash="sha256:abc123...",
        )
        event = await client.events.create(
            agent_id=agent.id,
            action_type="transaction_initiated",
            details={"amount_usd": 50000, "venue": "NYSE"},
        )
        print(event.risk_band)  # "low" | "medium" | "high"

asyncio.run(main())

Requires Python 3.9+. Full docs at docs.kakunin.ai.

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

kakunin-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

kakunin-0.1.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file kakunin-0.1.0.tar.gz.

File metadata

  • Download URL: kakunin-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kakunin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 008103317b35ebf509dd7c041b85add706d2fcdfa3e00a3a04c913d5a42fc5d5
MD5 4fdf95977758988072f92eade87cdd55
BLAKE2b-256 141026313555b26a211ee8aeb674d86b5224e068ef9329ace742816e350e9bf4

See more details on using hashes here.

Provenance

The following attestation bundles were made for kakunin-0.1.0.tar.gz:

Publisher: publish.yml on nqzai/kakunin

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

File details

Details for the file kakunin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kakunin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kakunin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d314e7ae418b087d2321ceeee9c1dd939b7d215a2db112aa15dacec19d5b471
MD5 fc4e5ddc405ebff23866c14224d1f785
BLAKE2b-256 013914bfd5d7efc84bc6522601d65a84b5afdbe2ef96c8e0cfe901f00de8a2ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for kakunin-0.1.0-py3-none-any.whl:

Publisher: publish.yml on nqzai/kakunin

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