Skip to main content

Memory & Knowledge Base

CraftyAI features an advanced memory system that allows it to hold natural conversations and learn specific information about your server.

Conversation Memory​

CraftyAI maintains a short-term memory of recent chat messages per player. This means you can ask follow-up questions without repeating context.

Example:

Player: Where do I find Blaze rods? Crafty: Blaze rods are dropped by Blazes, which are found in Nether Fortresses! Player: How do I get to one? Crafty: To get to a Nether Fortress, you'll need to build a Nether Portal using obsidian and explore the Nether until you find the dark brick structures.

:::note Private Conversations If you want to have a conversation with the AI without other players seeing it, use the /ask <question> command. Private conversations have their own isolated memory context. :::

Teaching the AI (Knowledge Base)​

Server administrators can teach CraftyAI custom information, rules, and lore using the /crafty learn command. The AI stores this information permanently in its RAG (Retrieval-Augmented Generation) vector database.

Syntax:

/crafty learn <Question/Topic> | <Answer/Information>

Examples:

/crafty learn What are the server rules? | 1. No griefing. 2. Be respectful. 3. No hacking.

/crafty learn Where is the server shop? | The shop is located at coordinates X: 100, Z: -50 in the overworld.

When a player asks a question related to what the AI has learned, the AI will retrieve that knowledge and formulate a natural response based on it.

Memory Tiers​

The amount of custom knowledge (memories) your server can store depends on your subscription tier. To keep the database optimized, CraftyAI automatically runs a background "Compactor" that merges multiple related facts into single, dense memory blocks.

TierMax Compacted MemoriesUncompacted Buffer
Free520
Starter5020
Pro25020
Enterprise1,00020

You can check your current memory usage using the /my-sessions command in the Discord bot.