Skip to main content

Àkàndé logo

Àkàndé

A self-hosted, provider-agnostic voice assistant that delivers structured executive briefings via voice or text from 11 LLM providers.

Build Registry Docs OpenSSF Scorecard License: Apache-2.0 OR MIT Python >= 3.11

Àkàndé Demo


Contents

Getting started

The Àkàndé ecosystem

Library reference

Operational


Install

As a Python library

[dependencies]
akande = "^0.0.11"
# Core install : provider SDKs and mic capture are optional extras
pip install akande

# Full kit : every provider + microphone + MCP
pip install "akande[all,mic,mcp]"

From source

git clone https://github.com/sebastienrousseau/akande
cd akande
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

Requirements

Requirement Supported Version Details
Python >= 3.11 (tested on 3.11, 3.12, 3.13, 3.14) Core runtime environment
PortAudio >= 19 (optional) Required for microphone audio input (akande[mic])
FFmpeg Any modern release (optional) Required for MP3 / non-WAV audio transcoding
Platforms Linux (x86_64, aarch64), macOS (Intel, Apple Silicon), Windows Platform-agnostic Python package

Quick Start

import asyncio
import os

from akande.akande import Akande
from akande.providers.registry import get_provider

os.environ["LLM_PROVIDER"] = (
    "ollama"  # or openai, anthropic, google, claude_cli, etc.
)


async def main() -> None:
    provider = get_provider()
    assistant = Akande(openai_service=provider)
    response = await assistant.generate_response(
        "Provide a morning executive briefing on market trends."
    )
    print(response)


asyncio.run(main())

This runs the end-to-end Àkàndé pipeline: intent classification, safety wrapping, provider execution, and optional speech synthesis.


The Àkàndé ecosystem

Àkàndé provides a complete voice-first executive briefing stack across command-line, graphical terminal, REST, and protocol interfaces:

Component Purpose Use case
akande.pipeline Core orchestration pipeline Intent classification, safety envelopes, tool dispatch
akande.server REST and SSE streaming server Web-based clients and HTTP streaming integrations
akande.tui Bubble Tea interactive terminal UI Full-screen interactive terminal workflow
akande.mcp Model Context Protocol client and server Exposing Àkàndé tools to Claude Desktop, Cursor, Continue

Capabilities at a glance

Area Capability Status
Providers 11 LLM providers (OpenAI, Anthropic, Google, Claude CLI, Mistral, Cohere, etc.) Production
Speech-to-Text SpeechRecognition and Faster-Whisper backends Production
Text-to-Speech gTTS and local Kokoro-82M ONNX offline synthesis Production
Safety & Audit Input sanitization, safety envelopes, cryptographically verifiable PDF audits Production
Compliance EU AI Act Article 50 transparency and AudioSeal audio watermarking Production

Ecosystem comparison

Project Self-Hosted Multi-Provider Voice STT/TTS Article 50 Audit
Àkàndé Yes 11 providers Yes (Native) Yes (Cryptographic)
Open-WebUI Yes Yes Partial No
LocalAI Yes Local only Yes No

See docs/COMPARISON.md for the evidence and complete matrix.


Benchmarks

Scenario Result Environment
Pipeline dispatch overhead < 1.2 ms Apple Silicon M3 / Python 3.13
Watermark verification latency < 18 ms Apple Silicon M3 / 1s audio
Audio sanitization & safety wrapping < 0.3 ms Ubuntu 24.04 / Python 3.12

See docs/BENCHMARKS.md for methodology and full results.


Features

  • 11 LLM Providers : Switch between OpenAI, Anthropic, Google Gemini, Claude Code CLI, Mistral, Cohere, Groq, Ollama, LM Studio, Azure, and Codex CLI.
  • Safety Envelope : Strict transcript sanitization, control character stripping, length clamping, and <user_input> boundary envelopes.
  • SSRF Prevention : Built-in host validation restricting loopbacks, private RFC 1918 subnets, link-local addresses, and cloud metadata services.
  • Regulatory Transparency : Full EU AI Act Article 50 compliance with machine-readable audit manifests and AudioSeal watermarking.

Configuration

Set configuration through environment variables or .env files:

# Provider selection
export LLM_PROVIDER=openai  # anthropic, google, ollama, claude_cli, etc.

# Operational profile
export AKANDE_PROFILE=eu    # eu (strict compliance) or default

# Audio configuration
export AKANDE_TTS=kokoro    # gtts or kokoro
export AKANDE_STT=sr        # sr or faster_whisper

Examples

Runnable examples demonstrating features:


When not to use Àkàndé

  • Raw conversational chatbot : Àkàndé is optimized for structured, factual executive briefings and action synthesis rather than open-ended chit-chat.
  • Ultra-low-latency telephony : Real-time sub-100ms voice agents require specialized WebRTC infrastructure; Àkàndé targets structured turn-taking.

Development

uv venv
uv pip install -e ".[all,dev]" mcp
uv run --extra dev pytest
uv run --extra dev ruff check .

All contributions must pass the verification gates (pytest with >= 95% coverage, ruff, mypy, bandit, pip-audit).


Security

Àkàndé enforces security best practices across input validation, network tools, and credential handling:

  • Private IP and SSRF rejection on external fetch tools.
  • Strict input sanitization and delimiter escaping on speech transcripts.
  • Cryptographically signed audit manifests with SHA-256 sidecars.

Report vulnerabilities according to SECURITY.md.


Documentation


Stability guarantees

Àkàndé adheres to strict Semantic Versioning:

  • Patch releases (0.0.x -> 0.0.y) : Backwards-compatible bug fixes and security patches.
  • Breaking changes : Never introduced in patch releases. Deprecations documented at least one minor iteration in advance.

License

Dual-licensed under Apache-2.0 OR MIT at your option:

Metadata

Release files for akande 0.0.11

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

Source distribution (sdist)

Source distribution for akande 0.0.11
File Size Uploaded Provenance Actions
akande-0.0.11.tar.gz 213.6 kB With provenance Details for akande-0.0.11.tar.gz

Built distribution (wheel)

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

Total release size: 394.0 kB

Release files / akande-0.0.11.tar.gz

Download URL akande-0.0.11.tar.gz
Size 213.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3ebbdb961a0858630be5fe645c1187ba6b36ea79d5a9a02d06841676d5ccba45
BLAKE2b-256 checksum
How to use checksums
c9106df6de627e8c28262b57b927f0994c3a1faebf6bdb8482b68475f02b8236
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / akande-0.0.11-py3-none-any.whl

Download URL akande-0.0.11-py3-none-any.whl
Size 180.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8843bf3facbc6b38bc71c5db65348cb036b09567ff844e09844f13c1de3565ff
BLAKE2b-256 checksum
How to use checksums
8236aa98f8474821148df9c900da0afbc6ece455aff18082b75ac91b4daa1f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for akande 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for akande-0.0.11.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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