find meaning in the story of your life

Main Character

Journal with RAG Memory

what it is

Main Character is a journal that remembers. You write entries in your own words. A companion reads along, keeps track of the people, places, projects and recurring themes you mention, and can talk with you about what you wrote last week or last year.

RAG memory means retrieval, not recall. When you write or ask a question, the journal pulls the earlier entries that matter and hands them to the companion as context. What it knows about you is what you wrote.

write

Entries and conversation. Write an entry, or talk it through in chat. Nothing said in chat becomes an entry unless you make it one.

read back

Search by meaning or by exact text. Browse the people and places in your life, the categories your entries fall into, patterns the companion has noticed, and your dreams as their own record.

keep

Your key, your budget, your data. Bring your own API key, set a spending ceiling per session, and export the whole journal whenever you want.

how it works

  1. You write.

    Entries are saved on your machine. Saving costs nothing; Claude is only called when you ask for a reply.

  2. It looks back before it answers.

    Before each reply, the journal searches your past entries on your own machine, both by meaning and by exact words. The companion gets what the search found: about a dozen passages, a few summaries, and anyone you named. It never reads the whole journal, which is why it can tell you when you wrote something even when it doesn’t have your exact words.

  3. Closing a chapter makes it memory.

    When you close a chapter, the text is indexed locally. A background pass then tags it, picks out people, places and projects, and updates the summaries. It also drafts a new life summary for you to review; that draft never replaces yours on its own.

Search, indexing and export run on your machine at no cost. Every Claude call goes through your spend caps.

read the full technical write-up

try the demo

Talk with the companion about a sample journal before you write your own.

start writing your story

Main Character runs on your own machine. Get the code, bring your Claude API key, and write your first entry.