agentmemory-config
Installation
SKILL.md
agentmemory reads configuration from the environment and from ~/.agentmemory/.env (one KEY=value per line, no export prefix). Restart the server after changing it.
Quick start
Enable richer memory and set a provider key in ~/.agentmemory/.env:
ANTHROPIC_API_KEY=sk-ant-...
AGENTMEMORY_AUTO_COMPRESS=true
AGENTMEMORY_INJECT_CONTEXT=true
Defaults worth knowing
- No API key is required. Without one, agentmemory runs zero-LLM with BM25 plus local embeddings.
- Token-spending features ship OFF on purpose:
AGENTMEMORY_AUTO_COMPRESS(LLM summaries) andAGENTMEMORY_INJECT_CONTEXT(auto context injection) both cost tokens proportional to tool-use frequency. - Tool visibility:
AGENTMEMORY_TOOLS=all(default) orcorefor the lean set. - Auth: set
AGENTMEMORY_SECRETto requireAuthorization: Beareron the REST API.