Skip to main content

incdai: public Python SDK

Chat and real-time voice with an incdai assistant from Python: incdai Public (managed by INCPRITECH) or any authorized incdai Node. English and Swahili.

This package is the client side of the public incdai protocol only. The incdai engine (retrieval, inference, voice orchestration) is not included.

pip install incdai            # or: uv tool install incdai
pip install "incdai[all]"     # + microphone/speaker and MP3 voice support for `incdai talk`

Ask a question

from incdai import Client

bot = Client(site="your-site")                 # api defaults to https://api.incdai.incpritech.com
for piece in bot.stream("Mnafungua saa ngapi?"):
    print(piece, end="", flush=True)

reply = bot.answer("Do you deliver?")          # Reply(text=..., answered=True, language="en", ...)

AsyncClient has the same methods for async code. To use an incdai Node, pass its HTTPS origin: Client("https://node.example", "your-site").

Real-time voice

import asyncio
from incdai import LiveSession

async def main():
    async with LiveSession("https://api.incdai.incpritech.com", "your-site") as live:
        # send 16-bit PCM, mono, 16 kHz frames with: await live.send_audio(frame)
        async for event in live.events():
            if event["type"] == "transcript": print("you:", event["text"])
            elif event["type"] == "token": print(event["text"], end="", flush=True)
            elif event["type"] == "audio": ...   # 16-bit PCM, mono, 24 kHz

asyncio.run(main())

Command line

incdai ask "What are your prices?" --site your-site
incdai talk --site your-site --wake "hey incdai"     # hands-free voice in the terminal
incdai config --site your-site

INCDAI_SITE and INCDAI_API can be set instead of --site and --api.

Protocol: github.com/Stark-Priver/incdai/protocol · Docs: incdai.incpritech.com/docs

Licence

PolyForm Perimeter 1.0.1 © 2026 INCPRITECH. Selling, rebranding or hosting a competing incdai product requires a written commercial licence: info@incpritech.com.

Metadata

Release files for incdai 0.6.1

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

Source distribution (sdist)

Source distribution for incdai 0.6.1
File Size Uploaded
incdai-0.6.1.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for incdai 0.6.1
File Interpreter ABI Platform
incdai-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / incdai-0.6.1.tar.gz

Download URL incdai-0.6.1.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bd8cc873b1a0c3fa404e1e9f062f4bbd6357c39cb2691ec2d96addbe6049beb6
BLAKE2b-256 checksum
How to use checksums
e1016cf3619c9e11ff59d6ac62ef80663b24f4b06c3d76d071cdc858e0fcb4b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.4","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / incdai-0.6.1-py3-none-any.whl

Download URL incdai-0.6.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ac387bab056867e288921cbe0f617f6126bb39ee80cbafc0df55ca7a6fcd56d
BLAKE2b-256 checksum
How to use checksums
1c1f3db46d8fa918959b181f477fd729a13cec25cb42887857e323e27f8a37b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.4","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.6.1 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