Skip to main content

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 the DEEPSEEK_API_KEY environment variable). Type k anytime 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sansa_mp-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sansa_mp-0.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sansa_mp-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for sansa_mp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a2a67557ab62292af3873faf57eac10fa96646e5b52f810bbc2e09a2d1156118
MD5 90dbdb0a99881fdb14d0a059237df53e
BLAKE2b-256 ddc718574fd81e9e21b342547d764d6d67a041c3a873cb177c574e1474e991bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sansa_mp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for sansa_mp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a272144658e186d5af1a27dcf970b0ca0f07324277f5a8abdacaa22bf277625
MD5 aa4644ed3b581e514dd143cc525416f5
BLAKE2b-256 770de065dc7f521748dd909474331e54c8d7696ec2bfdf44c511d55621712e8b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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