Skip to main content
Glama
DSH Memory Protocol

DSH Memory Protocol

by Arypal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSH_HOMENoHost data directory.~/.dsh
MEMORY_MODEL_PATHNoDirectory containing the embedding model (must contain model.onnx). Auto-detected if unset; without it semantic search degrades to BM25.
MEMORY_MOOD_STATENoOptional path to a JSON mood-state file used to weight memories.
IMPORTANCE_API_KEYNoAPI key for distill and LLM importance scoring (OpenAI-compatible, defaults to DeepSeek).
MEMORY_SKILL_PYTHONNoPython interpreter to use. Auto-detects python3, then python, then py.
MEMORY_SKILL_DB_PATHNoPath to the memory database. If explicitly set, it is always respected.<DSH_HOME>/memory/memory.db
MEMORY_SKIP_BOOTSTRAPNoSet to '1' to disable the missing-tool bootstrap self-check.
MEMORY_IMPORTANCE_GATENoSet to 'llm' to have the LLM score importance on each ingest turn.rule
MEMORY_PROTOCOL_BACKENDNoSet to 'installed' to force use of the memory_skill package from site-packages for troubleshooting.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources