← Presentation home · Part 1 of 18

Build Your Perfect Ai Companion - Overview

Part 1 · Build Your Perfect Ai Companion - Overview

No slide image for this part. Notes below.

← All parts Next →

Deep dive

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:

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 technique: scene-based prompting that maintains character
- 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:

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:

The techniques are the same. The application is yours to choose.