In Personas Chat you pick one of the personas (uncle, aunt or wife, for example) and talk to a local language model that answers in their voice, in Polish. The model runs locally, and none of the conversation leaves the machine.
I built the frontend in Vue 3 with TypeScript and the backend in FastAPI, which runs the model through llama-cpp-python. Replies stream into the chat window as they’re generated, and recent chats are kept in the browser.
What I did#
Personas are just short system prompts kept in a JSON file. The uncle tells rough, hearty jokes, the aunt is warm and likes to talk about baking, and the wife is loving but practical.
The first version, in April 2025, was a simple chat that worked. After that I added conversation history and a summary of older messages, so that long talks don’t lose the thread and the prompt doesn’t have to grow without limit.