whatisgithub

What is olivia?

matthewjmandel/olivia — explained in plain English

Analysis updated 2026-05-18

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

In one sentence

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

What do people build with it?

USE CASE 1

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

USE CASE 2

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

USE CASE 3

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

USE CASE 4

Maintain a rolling conversation history for continuity across a chat session

What is it built with?

C#Discord.NETOpenAIGoogle GeminiLM Studio

How does it compare?

matthewjmandel/oliviasmokeserverquilt/op-auto-clicker-4.1imohammedyasin/steam-tools
Stars879376
LanguageC#C#C#
Setup difficultymoderateeasymoderate
Complexity3/51/52/5
Audiencedevelopergeneralgeneral

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

How do you get it running?

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.

So what is it?

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.

Copy-paste 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

What 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.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.