sha256:f1c81a412d0695a53c96b347763222a2a115376ad2a176fbba9b93666f2c0596
Last pushed
about 1 month by ajeetraina777
Type
Sandbox Kit
Manifest digest
sha256:f1c81a412d0695a53c96b347763222a2a115376ad2a176fbba9b93666f2c0596
schemaVersion: "2"
kind: mixin
name: mem0
version: 1.0.0
displayName: Mem0 (Docker Model Runner)
description: Adds the Mem0 memory layer (mem0ai) to an agent, wired to a local Docker Model Runner for both the LLM and the embedder. No cloud credentials, no external vector database.
sourceURL: https://github.com/ajeetraina/sbx-mem0-kits
licenses:
- Apache-2.0
agentInstructions:
content: |
## Mem0 memory layer (Docker Model Runner)
The mem0ai package is installed and wired to a local Docker Model Runner
(config at ~/.mem0/config.json), so Memory.from_config(...) add/search works
with no cloud keys or external vector database.
permissions:
network:
allow:
- pypi.org
- files.pythonhosted.org
- raw.githubusercontent.com
- github.com
- release-assets.githubusercontent.com
environment:
variables:
MEM0_TELEMETRY: "false"
NO_PROXY: localhost,127.0.0.1,host.docker.internal
OPENAI_API_KEY: dmr
OPENAI_BASE_URL: http://host.docker.internal:12434/engines/v1
no_proxy: localhost,127.0.0.1,host.docker.internal
setup:
install:
- command: pip install --break-system-packages 'mem0ai[nlp]==2.0.5' click
user: "1000"
description: Install Mem0 with NLP extras (spaCy lemmatization) plus click
- command: PIP_BREAK_SYSTEM_PACKAGES=1 python3 -m spacy download en_core_web_sm
user: "1000"
description: Download spaCy English model
files:
- path: /home/agent/.mem0/config.json
content: |
{
"vector_store": {
"provider": "qdrant",
"config": {
"collection_name": "mem0",
"path": "/home/agent/.mem0/qdrant",
"on_disk": true,
"embedding_model_dims": 1024
}
},
"llm": {
"provider": "openai",
"config": {
"model": "ai/gemma3",
"openai_base_url": "http://host.docker.internal:12434/engines/v1",
"api_key": "dmr"
}
},
"embedder": {
"provider": "openai",
"config": {
"model": "ai/mxbai-embed-large",
"openai_base_url": "http://host.docker.internal:12434/engines/v1",
"api_key": "dmr",
"embedding_dims": 1024
}
}
}
mode: "0644"
onlyIfMissing: true
description: Mem0 config wired to Docker Model Runner