Skip to main content

Python SDK for the Flowkit AI voice kernel

Project description

flowkit-sdk

Python SDK for the Flowkit AI voice kernel.

Status: pre-alpha (v0.1.0a1). M1 ships the protocol skeleton only — real call handling lands in M2 (WebRTC) and M3 (SIP).

Install (editable, from this repo)

python3 -m venv .venv
.venv/bin/pip install -e .

Minimal example

import asyncio
from flowkit import Kernel

async def main():
    async with Kernel("ws://localhost:9600/ws") as kernel:
        # System.hello already completed inside __aenter__.

        @kernel.on("call.incoming")
        async def handle_incoming(event):
            print("incoming:", event)

        await asyncio.sleep(60)  # serve until cancelled

asyncio.run(main())

For the full API, see flowkit/kernel.py and flowkit/call.py.

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

flowkit_sdk-0.1.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

flowkit_sdk-0.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flowkit_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ad46517b9888753d922842f263d6f3076150cf2c7fa60871ef65ec87e2cfa91a
MD5 f8d73722fd8ee63d6ebfa805ea5a62fa
BLAKE2b-256 0bb88067446e3ef24614f242b632f35f524dae3a778e9b18c51d6305263a28c9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flowkit_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20508ee1e7338302966b8eeac3ccac0a4a4c90d7aab0080c0c42711bb5891282
MD5 08d9e66e6676df35d850ef1c4feb751d
BLAKE2b-256 502657947013f90027faaf68b3d0e1e9f524d695410657c46f46dddc63c4d22a

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