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.0.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.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowkit_sdk-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 2c83c528221fd70af21044d1acb2fcdd57277b9bbb0853be834770c0242f556f
MD5 67d757bddec9bd2aedece26ca678a548
BLAKE2b-256 7516e854f0624ba1fb837f4c72afc149ae55191c546e06e6efe1a7e6b95c18ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flowkit_sdk-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35698a97c5767cbb373ec47c5827298208ec1878d73eac61a4a381fa1c418764
MD5 795ca9320c53bd71809743df5be43392
BLAKE2b-256 90662f29d73a04549b3035d83036b895bab8016b27294a89a36d16f30d80407f

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