Agents
Index
Voice requests from Pebble, an acknowledgement through Pushover, and an agent conversation in Telegram.
Try the mechanism
Follow a saved transcript through acknowledgement, agent handoff and the place where you can reply.
The example uses synthetic inputs to isolate this behavior. It does not operate the underlying app.
The webhook saves or queues the transcript, acknowledges receipt, then routes the work to the named agent. Hermes receives it through its gateway. Codex runs through Takopi and responds in the Mythos Telegram conversation.
Inside the implementation
self.store.add_job(job)
self.notify(job.spoken, priority=0)
prompt = remainder if named else (strip_new_task_prefix(transcript) if intent == "new" else transcript)
threading.Thread(target=self._run_job, args=(job.id, prompt, intent, backend, trigger, director), daemon=True).start()Implementation decisions
- Separate receipt of a transcript from completion of its task.
- Let the selected agent own the Telegram reply and follow-up.
- Keep a job record across the handoff.
Built with
Python · Pushover · Telegram · exe.dev · Takopi