sha256:49f5840df0f4439be53cf5ad8dda0678fd8d2d9c2fc9c1ae1c8b11196d34193f
Last pushed
7 days by ryantaylor31937
Type
Sandbox Kit
Manifest digest
sha256:49f5840df0f4439be53cf5ad8dda0678fd8d2d9c2fc9c1ae1c8b11196d34193f
schemaVersion: "2"
kind: sandbox
name: memory-host
version: 0.1.0
displayName: Agent memory host
description: Long-lived sandbox running TencentDB Agent Memory's memory-core on port 8420 for every agent in this account
sandbox:
image: docker.io/ryantaylor31937/memory-host-image:0.1.0@sha256:86bfb0f787afc60bea1524efbe4a890d359e77409618da338f66b3ce1f3a267b
entrypoint:
- bash
command:
default:
- -l
interactive:
- -l
resources:
cpu: 2
memory: 4096m
agentInstructions:
filename: AGENTS.md
content: |
This sandbox is the account's agent memory host. memory-core answers on
port 8420. Status is in /home/agent/.memory/status and the log in
/home/agent/.memory/startup.log. Never print /home/agent/.memory/api-key.
permissions:
network:
allow:
- hub.docker.com
- registry-1.docker.io
- auth.docker.io
- index.docker.io
- production.cloudfront.docker.com
- api.openai.com
- '*.sbx.sandboxes-cloud.docker.com'
ports:
- container: 8420
protocol: tcp
name: memory-api
credentials:
- service: openai
description: OpenAI-compatible endpoint for L1 to L3 extraction and embeddings
apiKey:
name: TDAI_LLM_API_KEY
proxyManaged: true
inject:
- domain: api.openai.com
header: Authorization
format: Bearer %s
setup:
startup:
- command:
- /home/agent/tools/memory-host-startup.sh
user: "1000"
background: true
description: Wait for the gateway key, restore the latest Hub snapshot on a fresh disk, start memory-core on this sandbox's engine, write status
files:
- path: /home/agent/.memory/config.env
content: |
TDAI_INSTANCE_ID=memory
TDAI_LLM_BASE_URL=https://api.openai.com/v1
TDAI_LLM_MODEL=gpt-4o-mini
MEMORY_EMBEDDING_MODEL=text-embedding-3-small
MEMORY_EMBEDDING_DIMS=1536
MEMORY_SCOPE=personal
# Verified on Hub 2026-10-15: index digest of agentmemory/memory-core:latest
MEMORY_CORE_IMAGE=docker.io/agentmemory/memory-core@sha256:b37fa9f2e1e4993ab69e2b4522ec5897f075a7031e01e31fed080acdcaf96c98
mode: "0600"
description: Values the startup and snapshot scripts source. No Hub account here. HUB_NAMESPACE and HUB_USER come from the sandbox environment at runtime