DEPL_2026.05.30

Portfolio Agent

Streaming chat agent — FastAPI + LangGraph + Anthropic

This is the agent answering questions about the portfolio in the panel below. A Nuxt/Nitro route proxies each message to a FastAPI service on a Hetzner VPS, which runs the turn through a LangGraph state graph backed by Anthropic's Claude (Haiku) and streams tokens back to the browser over Server-Sent Events.

Redis does the unglamorous work: a sliding-window rate limit and a daily token budget gate every request before it reaches the model, and an AsyncRedisSaver checkpointer persists each conversation by thread id so the graph resumes context across messages.

Loading interactive demo…

Agent Tools

set_theme
Purpose
Restyle the whole UI from a seven-colour palette the model chooses — every shade in the interface is derived from those seeds.
Effect
Emits a theme directive; the page recolours instantly, independent of the light/dark setting.
tailor_portfolio
Purpose
Reorder and emphasise the skills panel and rebuild the downloadable CV around this visitor's stated role or interest.
Effect
Emits a tailor directive; the right panel reorders and the CV regenerates from the same selection.
The model calls these mid-conversation; each effect streams back as an SSE directive and applies live, without a page reload.