Pi Transcript Summary
Launches Pi when Tuple transcription completes and asks it to summarize the completed transcript.
Launches Pi when Tuple transcription completes and asks it to summarize the completed transcript.
The trigger writes a launch-pi-summary.command wrapper next to the transcript files and opens it in your preferred terminal. The wrapper runs as #!/bin/zsh -li, so pi resolves from the same interactive shell environment you get in a new terminal. Nothing is hard-coded: Pi uses whichever provider and model you have configured as your default.
Pi starts in the transcription directory with a focused summary prompt. It reads the whole call by running Tuple's bundled watcher (tuple-call-watcher.py --catchup, shipped with this trigger), produces a concise summary with decisions, action items, and open questions, then stays available for transcript-backed follow-up questions.
Prerequisites
- macOS
- Pi installed so
piworks in a new terminal, with a provider authenticated (pi, then/login) python3(the bundled watcher needs it; install withxcode-select --install)- Tuple transcription enabled for the call
Installation
Drop this directory into your Tuple triggers folder:
~/.tuple/triggers/pi-transcript-summary/
The trigger fires when call transcription completes.
How it works
When call-transcription-complete fires, Tuple provides TUPLE_TRIGGER_CALL_ARTIFACTS_DIRECTORY, the directory containing the completed transcription artifacts. This trigger:
- Copies the fixed
tuple-call-watcher.pyand writespi-summary-prompt.mdinto that directory. - Writes an executable
launch-pi-summary.commandwrapper into that directory. - Opens it in your preferred terminal via
open(Ghostty → iTerm → Alacritty → Terminal; setPREFERRED_TERMto choose). No AppleScript, so it triggers no macOS accessibility prompt. - The wrapper starts a login interactive zsh shell, changes into the transcription directory, and runs
pi "$(cat pi-summary-prompt.md)".
For local script testing without opening a terminal, set PI_TRANSCRIPT_SUMMARY_DRY_RUN=1.