Sansa-MP
A talking AI "friend" bot with timecode-driven spontaneous chatter. Part of the MProcs suite.
____ __ __ ____
/ ___| | \/ || _ \
\___ \ __ _ _ __ ___ __ _ | |\/| || |_) |
___) | / _` || '_ \ / __| / _` | ____ | | | || __/
|____/ | (_| || | | || (__ | (_| ||____||_| |_||_|
\__,_||_| |_| \___| \__,_|
What it does
- Talks like a close human friend (persona seeded deterministically from a meta-value), powered by the DeepSeek chat API.
- Decides on its own when to jump in and chat: an algorithm reads the live clock's decimals through a seeded gate, so the rhythm of when it talks is decided purely by the timecode decimals.
- It pauses while you type: any current speech is cut off mid-word and no new remarks start; once your input is empty again (idle a couple of seconds), it resumes talking on its own.
- Voice output via the piper neural voice (amy), falling back to espeak.
Install
pip install sansa-mp
First run checks/installs what it needs interactively:
python packages (piper-tts, requests), the piper CLI + alsa-utils
(apt) and the amy voice model (~63 MB download).
Usage
sansa-mp
- On first run you paste your DeepSeek API key once; it is saved to
~/.config/friendbot/deepseek_api_key(or set theDEEPSEEK_API_KEYenvironment variable). Typekanytime to change it.
| Command | Action |
|---|---|
v + Enter |
voice on/off |
k / key |
set DeepSeek API key |
exit / quit / bye |
stop the bot |
Credits
Sansa-MP is part of the MProcs suite.
License
MIT
Metadata
Release files for sansa-mp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sansa_mp-0.1.0.tar.gz | 11.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sansa_mp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.1 kB
Release files / sansa_mp-0.1.0.tar.gz
| Download URL | sansa_mp-0.1.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2a67557ab62292af3873faf57eac10fa96646e5b52f810bbc2e09a2d1156118
|
|
BLAKE2b-256 checksum How to use checksums |
ddc718574fd81e9e21b342547d764d6d67a041c3a873cb177c574e1474e991bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / sansa_mp-0.1.0-py3-none-any.whl
| Download URL | sansa_mp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a272144658e186d5af1a27dcf970b0ca0f07324277f5a8abdacaa22bf277625
|
|
BLAKE2b-256 checksum How to use checksums |
770de065dc7f521748dd909474331e54c8d7696ec2bfdf44c511d55621712e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for sansa-mp 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.