June 19, 2025
Using HammerAI’s Lorebook: How to Build Consistent and Deep AI Characters
When it comes to AI storytelling and character interaction, consistency is everything. If your AI character forgets they’re a knight halfway through a quest or flips their personality mid-conversation, the illusion breaks.
That’s where HammerAI’s Lorebook comes in — a feature that stores detailed facts, personalities, relationships, and world elements to keep your AI characters believable across every interaction.
This guide explains what the Lorebook is, how it works, and how to use it to build smarter, more consistent AI characters.
What the Lorebook Can Do
Lorebook Entries
Stores structured character or world information like personality, history, goals, and facts that influence AI responses.
Trigger Words
Each entry activates when certain keywords or phrases are mentioned during a conversation.
Memory and Context
Entries help the AI remember past events and stay consistent over time.
Custom Configuration
You can tweak settings like proximity range, visibility, and activation rules. It’s flexible for writers, roleplayers, or worldbuilders.
Character Depth
Add backstory, emotional traits, relationships, or even political details to make your characters more grounded.
Multi-Character Support
Manage an entire cast of characters across one world, each with their own entries and triggers.
Why Use the Lorebook
Without a Lorebook, AI characters can drift or forget important details. The Lorebook acts like an anchor that helps them recall:
• Character quirks, catchphrases, and emotional triggers
• Relationships, alliances, and rivalries
• Ongoing quests or lore timelines
• Hidden details you don’t want to repeat every time
HammerAI lets you control how deep or flexible each character’s memory is, making storytelling and roleplay feel smarter and more immersive.
How to Use the Lorebook
1. Open the Lorebook Panel
In any chat, click the Lorebook tab. You’ll see a list of entries or an empty space if you’re just starting.
2. Create a New Entry
Each entry includes:
- Title (for example: “Seraphina the Warrior Princess”)
- Keyword Trigger (for example: “Seraphina,” “Princess,” “Swordmaster”)
- Body Text
“Seraphina is the 28-year-old warrior princess of Elaris, trained in celestial sword arts. She hides her vulnerability behind stoicism and fiercely protects her younger brother, Kalen.”
3. Set Activation Settings
Decide whether the AI can “see” the entry, how far back it scans for triggers, and whether it applies globally or to specific characters.
4. Edit and Expand Over Time
As your story grows, you can update entries to reflect emotional changes, new memories, or lore developments.
Pro Tips
• Write entries in third-person, like a wiki page
• Avoid repeating info across entries
• Add multiple triggers to make sure entries activate when they should
• For relationship details, link entries by name — for example, “Kalen” knows he’s Seraphina’s brother
Lorebook and Character Cards
Character cards define personality and tone. The Lorebook provides memory and world context. When used together, they make your AI characters feel like they belong in a living, evolving world that remembers everything.
Final Thoughts
HammerAI’s Lorebook is more than a note-taking tool. It’s a memory system that turns chat into storytelling. Whether you’re building a fantasy epic, running an RPG, or just want characters that make sense, the Lorebook helps your creations feel truly alive.
Start using it with your own characters or import one from the community to see it in action.
You can download HammerAI Desktop to try the Lorebook yourself, or visit the community Discord for templates and prebuilt lore entries.