engram
by kalmardani
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENGRAM_DB | No | Path of the SQLite file (defaults to the data dir). | |
| ENGRAM_AUTH | No | Authentication method. Fits the provider by default (api-key, oauth, subscription, none). | |
| ENGRAM_MODEL | No | Model id, required for openai and anthropic providers. | |
| ENGRAM_RERANK | No | off, or model to let the chat model reorder the top 20 search results. | off |
| ENGRAM_DISABLE | No | Set to 1 to turn engram off; hooks return at once. | |
| ENGRAM_PROJECT | No | Pin the project (defaults to the git root of the cwd). | |
| OPENAI_API_KEY | No | API key for OpenAI compatible endpoints (used by default for the openai provider and embeddings). | |
| ENGRAM_COMPRESS | No | Compression mode: background (detached worker), inline (inside the hook), or off (engram work later). | background |
| ENGRAM_DATA_DIR | No | Override the per user data dir. | |
| ENGRAM_PROVIDER | No | Chat provider for notes and summaries. | none |
| ENGRAM_EMBED_DIM | No | Embedding dimension. | |
| ANTHROPIC_API_KEY | No | API key for the Anthropic Messages API (used by default for the anthropic provider). | |
| ENGRAM_CONFIG_DIR | No | Override the per user config dir. | |
| ENGRAM_EMBED_AUTH | No | Embedding auth method. | api-key |
| ENGRAM_SKIP_TOOLS | No | Tools that are never recorded, comma separated. | |
| ENGRAM_API_KEY_ENV | No | Name of the env var that holds the key (defaults to OPENAI_API_KEY or ANTHROPIC_API_KEY). | |
| ENGRAM_EMBED_MODEL | No | Embedding model id. | |
| ENGRAM_OAUTH_GRANT | No | OAuth grant type. | |
| ENGRAM_OAUTH_SCOPE | No | OAuth scope. | |
| ENGRAM_INDEX_BUDGET | No | Hard token budget of the session start index. | 250 |
| ENGRAM_MAX_AGE_DAYS | No | Retention in days; 0 keeps everything. | 90 |
| ENGRAM_EMBED_BASE_URL | No | Embedding endpoint base URL. | |
| ENGRAM_FAKE_RESPONSES | No | Tests only; scripted answers for the fake provider. | |
| ENGRAM_OAUTH_AUTH_URL | No | OAuth authorization URL. | |
| ENGRAM_EMBED_MIN_SCORE | No | Cosine below this is not a vector match. | 0.2 |
| ENGRAM_HOOK_TIMEOUT_MS | No | Hard deadline of one hook in milliseconds. | 4000 |
| ENGRAM_OAUTH_CLIENT_ID | No | OAuth client ID. | |
| ENGRAM_OAUTH_TOKEN_URL | No | OAuth token URL. | |
| ENGRAM_OPENAI_BASE_URL | No | Base URL for any OpenAI compatible chat completions endpoint. | |
| ENGRAM_MCP_ALL_PROJECTS | No | Set to 1 to let MCP clients search every project. | |
| ENGRAM_OAUTH_DEVICE_URL | No | OAuth device authorization URL. | |
| ENGRAM_EMBED_API_KEY_ENV | No | Name of the env var that holds the embedding API key. | OPENAI_API_KEY |
| ENGRAM_COMPRESS_MIN_CHARS | No | Smaller events keep their heuristic note. | 400 |
| ENGRAM_OAUTH_CLIENT_SECRET | No | OAuth client secret. | |
| ENGRAM_RECENCY_HALF_LIFE_DAYS | No | Prefer newer notes in search. | 0 |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues