seren-psycheion
The console and face workshop for a SerenSoma body: watch it and feel how it's touched, make its faces in Face Studio, and run the faces' build-ups (a touch kept up tips the face over). It needs no robot to make faces: install it, open the viewer's Faces tab, draw, share.
pip install seren-psycheion
seren-psycheion # http://127.0.0.1:7429/viewer; Face Studio is its Faces tab (/viewer#faces)
seren-psycheion face build my_face # the face builder, no server (init | preview | build)
seren-psycheion --describe # one line of JSON, for installers
Faces live in faces_dir (~/seren-psycheion/faces by default), one folder per face. Art comes in with
Face Studio's Upload files… (PNGs, a PixlPunkt .pxp, sounds as Ogg Opus); a face goes out to share as
one .zip (Export) and comes back in with Import .zip…. The face format is SerenSoma's
docs/custom-faces.md.
Configure
Copy seren-psycheion.yaml.sample to
~/seren-psycheion/seren-psycheion.yaml (or point --config or
$SEREN_PSYCHEION_CONFIG at it):
soma:
robot:
url: http://192.0.2.21:8080
token_file: ~/seren-soma/state/control_token
voice:
url: http://127.0.0.1:7480
token_file: ~/seren-soma/state/token
The body's tokens are pointers: token_file, token_env (an environment
variable's name) or token_keyring (service/username in the OS keychain).
token: inline is the escape hatch. Psycheion makes every call to the body
itself; the page never sees these.
Exposure
Psycheion binds to loopback. It can change a robot's lights and read what a
hand did, so a wider bind with no server.bearer_token_env refuses to start
(Meninges' enforce_server), and says how to fix it.
Routes
GET /viewer |
The console, and Face Studio in its Faces tab. A tab can be linked to: /viewer#faces. |
GET /api/soma |
The robot's status and the voice server's status and settings, each with why it didn't answer if it didn't. |
POST /api/soma/robot/settings |
dimmer, volume (0 to 100), brightness (5 to 100); saved on the robot. |
POST /api/soma/voice/settings |
Any part of the voice server's settings (night, work hours, the dead-air timer). |
GET /api/soma/touch?after=N |
The touch feed since event N, and the hand that's down. |
GET /api/buildups |
The face's build-ups: each one's meter, when it last fired, why the last one that filled didn't. |
POST /api/buildups |
{"enabled": true or false}, until Psycheion restarts (buildups.enabled in the config is where it starts). |
POST /api/buildups/<name>/test |
Fire one by hand, whatever the hours. Not with a call open. |
GET /studio |
Where Face Studio used to be: sends you on to the Faces tab. Its data is under /api/studio/ (faces, saves, uploads, .zip export and import, sending to the robot). |
Everything under /api needs the bearer when one is set. Face Studio's stylesheet, script and images
(/studio/...) are public to the bearer check, because a <link> or an <img> can't send a header; the images
check a session cookie the page gets with the bearer instead (HttpOnly, SameSite=Strict, never the bearer itself).
Build-ups are the face's own (buildups: in its face.yaml); the robot carries them and Psycheion runs them
from the voice server's touch feed. Never in the house's work hours (the voice server's settings), never with a
call open.
Metadata
Release files for seren-psycheion 1.4.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 | Actions |
|---|---|---|---|---|
| seren_psycheion-1.4.0.tar.gz | 126.1 kB | With provenance | Details for seren_psycheion-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seren_psycheion-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for seren_psycheion-1.4.0-py3-none-any.whl |
Total release size: 242.9 kB
Release files / seren_psycheion-1.4.0.tar.gz
| Download URL | seren_psycheion-1.4.0.tar.gz |
|---|---|
| Size | 126.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ef899d5a2f20425c4c5a718c5c1b30fffecaf398dcc937ae45e827db572b131
|
|
BLAKE2b-256 checksum How to use checksums |
d218a47b17a5f04075e13afade2d160d5236b1fc10897bdbe82d2e4f8e67aac0
|
| 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 Nov 15, 2026.
Transparency logRelease files / seren_psycheion-1.4.0-py3-none-any.whl
| Download URL | seren_psycheion-1.4.0-py3-none-any.whl |
|---|---|
| Size | 116.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39c404d3e794f7fcf31f6de2a547ffd95030aa39d02bd49fa1805042548ff89e
|
|
BLAKE2b-256 checksum How to use checksums |
22059f53b0bbc31be7e7baab9622752f0971c8f20ef5afd60fff722979a67954
|
| 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 Nov 15, 2026.
Transparency logSecurity for seren-psycheion 1.4.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for seren_psycheion-1.4.0.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 Nov 15, 2026.
Transparency logA 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.