Paper Stan
A portfolio guide with bounded AI answers and local animation
An interactive paper-doll guide that answers project questions using this portfolio’s public content.
The product
Paper Stan is the small interactive guide in this website’s full edition. Visitors can explore the portfolio, interact with the character, and ask about the projects on the page. The character combines a local animation director with an optional server-side AI dialogue endpoint.
Keeping answers tied to the portfolio
The dialogue code selects relevant projects from the same content data used by the website. It limits request size and conversation history, asks for a structured response, and validates the reply before returning it. Some follow-up questions can use a local continuation without calling a model.
The endpoint includes per-IP limits and a daily inference limit. These are approximate safeguards backed by Cloudflare KV. The feature also has fallback replies for unavailable or invalid model responses.
A deliberate boundary
Movement, expression, and dialogue have separate responsibilities. The animation director can keep the character responsive without making an AI request for every interaction. Public portfolio facts provide the context for questions; the guide is not intended to invent project results or act as a general research assistant.