How Knowledge Bases differ from memory
- Conversational memory
- Knowledge Bases
- Written automatically from conversation turns
- Evolves continuously as you work
- Can be edited, archived, or deleted
- Reflects your current knowledge and history
- Searched by the Context Engine on every turn
Use cases
Internal documentation
Import engineering docs, architecture guides, or onboarding materials so your AI can answer questions directly from source.
Policies and rules
Load compliance policies, coding standards, or security guidelines that your AI should always have available.
Runbooks
Store operational procedures and incident response playbooks for reliable, consistent retrieval.
Source material
Import external reference data — vendor docs, specifications, or exported content — for fast semantic lookup.
Scope-aware privacy
Knowledge Bases are isolated by tenant and scope. When you create a Knowledge Base, you can assign it a scope — a workspace, client identifier, or agent lane. Queries only return results from Knowledge Bases that match the caller’s tenant and scope. This means you can maintain separate Knowledge Bases for different clients or environments without any risk of cross-contamination. A query from one workspace never surfaces content from another.Importing content
There are two import paths depending on the volume of content you’re adding.- Standard import
- Bulk insert
Use
crystal_import_knowledge or POST /api/knowledge-bases/:id/import for normal ingest. Embedding and graph backfill are scheduled immediately after import.Background enrichment
After any import — standard or bulk — Memory Crystal schedules embedding generation and graph backfill as background jobs. Large Knowledge Bases don’t require you to wait for the import request to complete enrichment. The content becomes queryable as chunks are processed, and graph connections are built progressively.Freshly imported chunks may not be immediately available for semantic search until their embeddings are generated. For large imports, allow a few minutes for the background jobs to complete.
Querying a Knowledge Base
Usecrystal_query_knowledge_base to search a specific Knowledge Base by ID. The tool returns relevant source chunks and reference answers based on your query.
crystal_list_knowledge_bases.
For full usage details and available options, see the Knowledge Bases tools reference.