Skip to main content

kotoba-companion

An AI companion you talk to out loud. She has an anime face that lip-syncs and changes expression, real-time two-way voice, and a full agent underneath that runs on your machine: she searches the web, remembers across sessions, runs code and shell commands behind an approval gate, and manages a file library.

A browser, a terminal and a Discord bot are three front doors onto one engine — one database, one memory, one file library.

Install

pip install "kotoba-companion[server,voice,cli,web,mcp]"
kotoba setup
kotoba serve

The web interface ships already built inside the package, so running it needs no Node. Leaving web out does not disable reading pages — it sends the addresses she reads to a public reader service instead of fetching them here, which is rarely what somebody self-hosting wants.

The Discord bot is one extra more, since it pulls a voice stack most people running the browser app never load:

pip install "kotoba-companion[discord]"

kotoba setup asks for the keys and stores them encrypted: an OpenAI or xAI key for the brain, and an ElevenLabs key if you want her to speak. Python 3.11 or newer.

kotoba doctor explains anything that is missing, in the order that decides it.

Source, issues and documentation: https://github.com/rodhnin/kotoba-companion · MIT licence.

Metadata

Release files for kotoba-companion 0.10.0

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

Source distribution (sdist)

Source distribution for kotoba-companion 0.10.0
File Size Uploaded
kotoba_companion-0.10.0.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for kotoba-companion 0.10.0
File Interpreter ABI Platform
kotoba_companion-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 MB

Release files / kotoba_companion-0.10.0.tar.gz

Download URL kotoba_companion-0.10.0.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
edc9fe17b41ee4bb4849942f2204baca097895ea5480690b315432d22e651500
BLAKE2b-256 checksum
How to use checksums
8b52ee2b9ecc0c33a86999837a69a06642030aac87b8fcee57a8831c431c76cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 10, 2026.

Transparency log

Release files / kotoba_companion-0.10.0-py3-none-any.whl

Download URL kotoba_companion-0.10.0-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
94508dd069df7937f67cf22962a8dd075a06b13ef42b21433e2d5a51d5243d21
BLAKE2b-256 checksum
How to use checksums
025256e6263024f1b1cd8b2a002b5e5e87d9f61085bc2448ab0ea4ef98494e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 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