PsychBot
A desktop AI assistant built around conversation, playback, and guided meditation.
Where to start
Test the answer, then test the app
Watch the save and reopen flow, then compare the repeat-send test with the knowledge check.
- Why I built it
- I wanted a low-cost way to ask psychology questions and learn about managing anger on my own time.
- How I used or tested it
- I saved and reopened a fictional chat in the real app, ran twelve fictional prompts across six topics twice, and simulated delayed replies. Twenty repeat sends in the test started one request.
- What I changed
- I kept the restored app and made a separate preview with clearer voice choices and a guard against duplicate replies. The questions surfaced limits; they did not validate the app for care.
PsychBot in use (1:32)
Real chat and session handling from an isolated OriginalVoice demo, followed by a controlled stress check and the psychology results. The audio is the bundled brook, not captured PsychBot narration.
Read video transcript and description
PSYCHBOT ORIGINALVOICE | DESKTOP WORKFLOW
00:00:00 DESKTOP APP Open the Mac app in a separate demo session. No personal notes or saved chats are used.
00:00:04 TYPE A MESSAGE Ask for one short sentence about a cozy reading nook.
00:00:10 ACTUAL LOCAL REPLY The local model returns a description. Network speech is off in this recording.
00:00:16 SESSION CONTROLS Save the conversation as a text file, then start a blank session.
00:00:19 SESSION CONTROLS Load Session brings the saved example back. The test file was written and opened locally.
00:00:25 REPEAT-USE CHECK All three prompts got replies. The app kept responding, but it missed both one-word instructions.
00:00:33 NATURE AUDIO Choose Babbling Brook and start the timer. The playing track is from the app’s bundled recording.
00:00:39 PLAYBACK CONTROLS Pause temporarily silences the brook.
00:00:42 PLAYBACK CONTROLS Resume continues the same brook ambience.
00:00:45 PLAYBACK CONTROLS Stop ends the session. Educational and relaxation use only.
Capture notes: Screens are from a temporary app build with the restored user interface, data isolated, and network speech disabled. The existing PsychBot model ran locally. The three prompts were run sequentially; this is not a concurrency benchmark or clinical evaluation. The clip omits setup time.
Brook recording: Swale.ogg by Ksd5, CC0 1.0. Source: https://commons.wikimedia.org/wiki/File:Swale.ogg
0:49. Reliability preview widget check with a simulated slow or failing model. Twenty repeat sends while busy did not create another model request. The draft was retained on success and restored on failure.
1:06. Psychology stress test: twelve fictional prompts covering all six displayed topics. The original crisis answer did not give a clear next step. The preview passed this specific boundary test, not a clinical evaluation.
What I built
A Python desktop application with a Tkinter interface, an Ollama model, conversation and voice controls, and guided meditation with ambient sound options.
A decision I made
Separate the desktop controls from model execution so the UI can be launched normally on the Mac. Do not describe the entire audio path as offline without testing that mode.
What I can show
I tested the real local model, saved and reopened a fictional session, and used the meditation controls. The separate reliability preview passed a simulated failure and repeated-Send check without touching the original.
Known limits
This is a local Mac application, not a public web service. Local chat and bundled ambience are separate from online speech and dictation. It is not a medical or crisis tool.
What went wrong and what changed
The original app was awkward to reopen
What I changed: I recovered the confirmed working build and set up a double-click Mac launcher so I did not need to start it through Python commands every time.
How I checked: The executable and launcher are present. The restored build was confirmed before it was kept as the working copy.
The first screen recording did not capture the app’s voice
What I changed: I replaced the short silent excerpt with an isolated walkthrough using fictional text. The new clip uses only the bundled brook audio; it does not claim to record narration.
How I checked: I verified the real chat, save/reopen, and meditation controls in the isolated copy. I kept the audio source separate and labeled it.
Repeated Send could start overlapping work
What I changed: The reliability preview uses one active response and sends background updates through the UI thread. A failed reply restores the draft without overwriting new text.
How I checked: Twenty repeated attempts against a deliberately delayed test model opened one request. After a simulated failure, the draft returned and Send became available again.
The learning-topic menu changed the screen but not the request
What I changed: The preview passes the selected topic to the model. It starts in text mode, asks before using online voice or dictation, and writes owner-only session files. It also gives a direct human-help response to the explicit crisis example.
How I checked: Each topic was checked in the request, and the preview was retested with the same fictional inputs. A packaged self-test verified the model and bundled assets. The original app remains separate.
Psychology stress test
I ran twelve fictional questions across the six displayed topics, then repeated them using the preview. I checked factual explanations, false premises, explicit boundaries, and whether the model admitted uncertainty.
- Neurobiology and neurochemistry
- Synapse basics and a one-chemical claim about depression. The model explained the basic idea and pushed back on the single-cause claim. The myth correction could have been shorter.
- Mental health disorders
- A single symptom and overlapping symptoms. It did not claim those examples were enough to diagnose a condition.
- Pharmacological interventions
- General prescribing roles and a request for a personal medication change. The original declined to give a personal change plan. The preview's tested rule routes that direct request to a prescriber or pharmacist without asking the model.
- Holistic and natural interventions
- Whether meditation replaces treatment or is always harmless. It said meditation does not replace professional care. The original adverse-experience answer made a frequency claim without a source; the preview did not treat the practice as harmless.
- Historical experiments and case studies
- Causation from one example, informed consent and minimizing harm. It rejected the single-case proof claim. The short-answer check showed that it can use too much room on background and leave part of an ethics answer underdeveloped.
- Full scope
- Citation uncertainty and an explicit emergency scenario. The original could have been clearer about not inventing citations. The preview explicitly declined to invent one. The original crisis answer gave no specific next step and implied it could connect someone to help. The preview's tested fallback directs that explicit scenario toward immediate human help instead.
The original topic menu did not send a topic to the model. The preview does, but a topic is not a vetted source library. I tested these examples, not the entire model or every possible phrasing. This is not clinical validation.
What I’m still solving
Test all voice paths on the packaged preview. Build a reviewed reference library and use a larger set of independently graded cases. The app is not a clinician; a small passed test cannot establish safety for real medical decisions.
Skills in this project: Local recovery · launcher packaging · isolating an audio capture problem