Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENGRAM_DB | No | SQLite database path | ~/.engram/memory.db |
| ENGRAM_EMBEDDING_URL | No | Ollama base URL for embeddings | http://localhost:11434 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| remember | Store a memory entry for a session. Embeddings and graph extraction happen automatically. |
| recall | Retrieve relevant memories via semantic search (falls back to keyword). Searches working + long_term tiers. Pass userId to blend in cross-session user facts. |
| history | Get recent conversation history for a session in chronological order. |
| forget | Delete session memories. Delete all, one by ID, or entries before a date. |
| stats | Memory statistics for a session — total, by role, by tier (working/long_term/archived), graph counts. |
| consolidate | Consolidate old working memories into dense long-term summaries via LLM. Archives originals. |
| graph | Query the knowledge graph for an entity — returns relationships and source memories. Requires ENGRAM_GRAPH=1. |
| remember_user | Store a user-scoped memory that persists across all sessions. Use for preferences, identity, long-term facts. |
| recall_user | Recall user-scoped memories — works from any session context. |
| forget_user | Delete user-scoped memories. |
| consolidate_user | Consolidate user-scoped working memories into long-term summaries. |
| user_stats | Memory statistics for a user — total, by role, by tier. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |