gitwtfhub

wtf is olivia?

matthewjmandel/olivia — explained in plain English

Analysis updated 2026-05-18

87C#Audience · developerComplexity · 3/5Setup · moderate

TL;DR

A C# Discord bot framework for building a memorial AI grounded in one real person's memories and voice.

Mindmap

mindmap
  root((Olivia))
    What it does
      Reconstructs a person's voice as an AI persona
      Injects a character document as system prompt
      Runs as a Discord bot
    Tech stack
      C#
      Discord.NET
      Pluggable AI backends
    Use cases
      Build a memorial AI for a loved one
      Ground a language model in real memories
      Chat with continuity across sessions
    Audience
      People building memorial AI projects
      Developers adapting the framework

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Build a Discord bot that responds in the voice of a specific real person

REASON 2

Compile a memory corpus of photos, transcripts, and quotes into a character document

REASON 3

Switch between AI providers like OpenAI, Gemini, or a local model at startup

REASON 4

Maintain a rolling conversation history for continuity across a chat session

What's in the stack?

C#Discord.NETOpenAIGoogle GeminiLM Studio

How it stacks up

matthewjmandel/oliviafernandokernelsroms/lsfg-gitsmokeserverquilt/op-auto-clicker-4.1
Stars878493
LanguageC#C#C#
Setup difficultymoderatemoderateeasy
Complexity3/52/51/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 1h+

Requires a Discord bot token and at least one configured AI provider (cloud API key or local model).

The README does not state a license.

Wtf does this do

Olivia is a memorial AI built to preserve and reconstruct the personality of a specific person who has died. It is not a general chatbot but rather a deeply personal project where one person's voice, memories, and way of being in the world were compiled into a language model persona. The raw material, called the memory corpus, includes annotated photobooks covering years of her life, video transcripts with notes on her speech patterns and emotional cues, personal quotes and messages she wrote, and analysis of the films she loved and what she said about them. This material was distilled into a detailed character document describing her voice, humor, references, and emotional profile. That document is injected as a system prompt on every conversation, directing the underlying language model to respond within that character space. Technically it is a C# Discord bot built on Discord.NET, with a pluggable backend system that supports seven different AI providers including OpenAI, Google Gemini, OpenRouter, and local inference tools like LM Studio and Oobabooga. A backend detection system at startup automatically selects the first available provider, preferring local models by default to keep conversations private. The project maintains a rolling conversation history so Olivia can respond with continuity across a chat session. Someone would use or adapt this framework if they are building a memorial AI for a person who has passed away and want a structured approach to grounding a language model in the artifacts of a real human life.

Yoink these prompts

Prompt 1
Walk me through building a memory corpus and character document like Olivia uses
Prompt 2
Explain how the pluggable backend system in this repo detects and selects an AI provider
Prompt 3
Show me how to adapt the Discord.NET bot in this repo for a different persona
Prompt 4
Help me set up local inference with LM Studio as the backend for this project

Frequently asked questions

wtf is olivia?

A C# Discord bot framework for building a memorial AI grounded in one real person's memories and voice.

What language is olivia written in?

Mainly C#. The stack also includes C#, Discord.NET, OpenAI.

What license does olivia use?

The README does not state a license.

How hard is olivia to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is olivia for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.