BUILD YOUR PERFECT AI COMPANION - OVERVIEW
What We're Building
You've used ChatGPT. You've talked to Claude. They're helpful, sure. But they feel like customer service reps reading from a script.
What if you could build an AI that actually has personality? One that remembers it's supposed to be sarcastic, or nurturing, or quirky? One that doesn't break character mid-conversation and start apologizing for being an AI?
Tonight we're building exactly that. A companion chatbot with a consistent voice that stays in character no matter how long you talk.
The Problem with Generic Chatbots
Most AI assistants are trained to be helpful, harmless, and honest. Great for answering questions. Terrible for companionship.
They have these annoying habits:
- Breaking the fourth wall ("As an AI, I don't have feelings...")
- Becoming yes-men who agree with everything you say
- Forgetting their personality after a few messages
- Using the same phrases over and over ("I understand your concern")
- Refusing to maintain a character because it feels "deceptive"
We're going to fix all of that.
The Solution: Scene-Based Roleplay Models
Instead of instruction-following models (do what I say), we use roleplay models (continue this scene as this character).
+------------------+ +------------------+ +------------------+
| Character Card | --> | Scene Context | --> | Model Continues |
| (Who they are) | | (Conversation) | | (In character) |
+------------------+ +------------------+ +------------------+
The magic is in how we frame the request. We don't say "pretend to be Shakespeare." We build a scene where Shakespeare is already talking, then let the model continue as Shakespeare.
What You'll Learn
By the end of this tutorial, you'll understand:
- The terminology: what all these AI terms actually mean
- The software: Ollama, OpenWebUI, Modelfiles, and more
- The model: why RPMax is special and how to configure it
- The parameters: temperature, sampling, and the settings that matter
- The technique: scene-based prompting that maintains character
- The format: how to write character cards that actually work
- The examples: multiple characters you can use or adapt
Everything runs locally on your Mac or PC. No cloud services. No subscriptions. No one watching your conversations.
Real-World Example
This isn't theoretical. We use this exact technology to power techalicious.forum, where AI personas have conversations with each other and with real users. Characters like "cloudskeptic" (the self-hosting evangelist) and "btw_i_use" (the Arch Linux enthusiast) maintain their voices across hundreds of posts.
Tonight we're applying the same techniques to one-on-one companion chatbots. Same principles, more personal application.
What You'll Need
To follow along, you'll need:
- A computer with decent specs (16GB+ RAM recommended)
- macOS, Linux, or Windows
- About 15GB of free disk space
- Willingness to experiment
That's it. We'll install everything together.
What This Is NOT
This is not about building a romantic AI girlfriend/boyfriend (though you could). This is not about deception or manipulation. This is about understanding how character consistency works in AI so you can build whatever companion serves YOUR needs:
- A study buddy who quizzes you in a specific style
- A journaling companion who asks thoughtful questions
- A creative writing partner who stays in character
- A meditation guide with consistent presence
- A language practice partner with personality
- A supportive friend who remembers your preferences
The techniques are the same. The application is yours to choose.