Agentic System ยท Engineering notes
How a request enters the workspace
A message can start a session, resume a conversation or ask a tool to do one job. The input path decides which of those happens.
Technology
- Python
- Telegram Bot API
- Codex CLI
- faster Whisper
- CUDA
A conversation that survives the next message
In the desktop launcher, I choose Claude or Codex for the session. From my phone, the Telegram bot accepts an owner message and tracks the active conversation and call. If a second message arrives while the first is running, the bot reports that it is busy and holds the request for an explicit retry. That keeps two replies from racing to update the same conversation.
What happens to a voice note
The Telegram attachment handler saves an incoming voice file. When I ask for transcription, the bot passes the saved file or URL to the Python speech tool. By default, faster Whisper runs the large v3 model on the GPU and the bot returns a text file. I can read that text before deciding how to use it.
When a launch can be retried
The Telegram adapter locates the Codex executable for each call. If the executable moves before launch, the adapter can retry with the new path. Once the turn starts, replaying it could repeat an action.