Captain makes travel planning actually usable via Telegram
The most interesting part of this setup isn't the chat interface, but the integration of a visual workspace. Most AI agents are "black boxes" where you ask for something and hope the output is correct. By providing a dedicated space to review and manually edit the travel information the agent finds, it solves the trust problem. You can let the AI do the heavy lifting of searching for flights and drafting itineraries, but you retain the final say via direct manipulation of the data.
If you're looking to build something similar, this is a great real-world example of an AI workflow that combines three distinct interaction layers:
- Conversational Interface: The Telegram bot handles the intake and quick queries.
- Durable Workflows: The agent can monitor flight prices over time rather than just providing a one-off snapshot.
- Visual State Management: The workspace acts as the "source of truth" that the user can override.
From a technical standpoint, this is a solid deep dive into how to move past simple prompt engineering and into actual agentic behavior. The ability to "watch" for the right time to book indicates the use of background tasks or cron-like triggers tied to the LLM's goal-setting, which is far more useful than a standard chatbot.
For those trying to build their own LLM agent, the takeaway here is the "specialist" layer. Rather than forcing one model to be perfect at everything, splitting the workload between a coordinator (Sonnet) and task-specific models reduces latency and increases accuracy. It turns the AI from a fancy search engine into a functional tool that manages a stateful process.
The combination of voice transcription and a visual dashboard makes this feel like a complete product rather than just a wrapper. It bridges the gap between the ease of chatting and the precision of a travel booking engine.