Digital Twin
The chat in the corner of this page: an agent that answers as me, negotiates meeting times, and checks with me on Telegram before anything is booked.
3 agentsTelegram approvalsServer-side memory
- OpenAI Agents SDK
- FastAPI
- Upstash Redis
- Telegram
- Vercel
Full breakdownHide breakdown
A visitor-facing agent grounded in my resume and in this site's own content, built on the OpenAI Agents SDK. Three agents split the work: the Twin talks to visitors and can use a small set of tools; a Triage agent reads the conversation and decides whether it is worth pinging me; an owner-desk agent interprets my plain-language Telegram replies. Agents judge, and deterministic code performs every side effect, so the model can never book, message or reveal anything by itself. When a visitor wants to meet, the twin collects their free slots (or asks for mine), I answer on Telegram in natural language, and my reply is pushed back into their chat, all in IST. The backend is FastAPI on Vercel, which is stateless, so history, meeting state and the visitor outbox live in Upstash Redis, and Telegram arrives through a webhook. Server-issued signed session tokens, per-IP and per-session rate limits, turn and length caps, and server-side history keep the public surface small and the conversation hard to jailbreak. The chat itself is a dependency-free Shadow-DOM widget that inherits this site's theme.