Back to projects

Persona Chat

Real-time persona-based AI chat.

Persona Chat

Technical implementation

I used Next.js for the application shell and routing, the AI SDK for streaming chat responses, and PostgreSQL to persist conversation history and persona data. The real work was in making the system feel responsive while keeping the personalities coherent across messages. I spent time refining how prompts were structured, how sessions were stored, and how the UI handled streaming updates so the app felt alive instead of waiting in awkward pauses between turns.

What I learned

Building Persona Chat taught me that personality in software only works when the fundamentals are solid. If response timing is clumsy or the interface feels uncertain, even a well-crafted persona starts to feel fake. I came away with a better understanding of how much polish matters in AI products, especially when the product promise is emotional rather than purely functional. It also pushed me to think more carefully about consistency, because users notice tone shifts immediately.