소스 정보
- 저장소
- arm2arm/AstroAgentAssistant
- 최근 소스 활동
- 2026년 8월 26일 12:28
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill tencentdb-agent-memory-integration명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | tencentdb-agent-memory-integration |
| title | TencentDB Agent Memory deployment and Hermes proxy routing |
| description | TencentDB deploy, asset creation, and Hermes proxy wiring. |
| author | Arman Khalatyan & Hermi |
| date | 2026-08-06T00:00:00.000Z |
| tags | ["docker","llm-middleware","proxy-routing","memory-infrastructure","tencentdb"] |
Three Docker containers on a user-created network (tdai-memory-stack):
| Container | Port | Service | Auth gate |
|---|---|---|---|
tdai-memory-core | 8420 | SQLite memory store, L0→L3 pipeline | x-tdai-user-key header only |
tdai-memory-hub | 8125 | Admin panel (SPA), user/asset management | Bearer token via panel login |
tdai-proxy | 8096 | LLM request proxy with memory injection | Bearer + x-team-id + x-agent-id + x-task-id + x-conversation-id |
| Knowledge API | 8424 | Wiki/codegraph tools endpoint | Internal only |
Proxy intercepts LLM calls, retrieves matching memory (L2/L3 persona + skills), injects into system prompt, then forwards to upstream.
MEMORY_LLM_* (distillation) AND PROXY_UPSTREAM_* (user inference). Test upstream directly first — dead API key causes 401 that looks like proxy failure.-p 127.0.0.1:PORT:PORTgit clone https://github.com/TencentCloud/TencentDB-Agent-Memory.git /path/to/deploy
cd deploy/deploy/global-images
cp .env.example .env
# Edit .env — fill MEMORY_LLM_* and PROXY_UPSTREAM_* sections
./verify.sh # dry-run + LLM probe (use --skip-llm to skip)
./start-all.sh # pulls images, creates docker network, boots 3 containers
On first boot: init-admin creates admin user, generates random sk-mem-**** key in .admin-key. Key is reused across restarts if volume survives.
Their REST API is undocumented. No OpenAPI spec, no Swagger. auth/verify requires POST with JSON body {"user_key":"..."} and Content-Type: application/json. Python urllib fails (empty body, wrong method); curl inside container matches the startup script environment:
ADMIN_KEY=$(cat deploy/global-images/.admin-key)
docker exec tdai-memory-core sh -c "
curl -s -k -X POST http://localhost:8420/v3/meta/auth/verify \
-H 'x-tdai-service-id: default' \
-H 'Content-Type: application/json' \
-d '{\"user_key\":\"'"$ADMIN_KEY"'\"}'"
Returns user_id — needed for team/agent/task creation.
Order is strict: Team first, then Agent, then Task. All require admin user_id.
⚠️ Task create uses different field names: needs title AND creator_user_id (not name/owner_user_id like Team/Agent). Mixing these up → 400 validation error.
# Team — returns data.team_id
POST /v3/meta/team/create {"name":"TeamName","owner_user_id":"USER_ID"}
# Agent — returns data.agent_id
POST /v3/meta/agent/create {"team_id":"TEAM_ID","name":"AgentName","owner_user_id":"USER_ID"}
# Task — returns data.task_id (note: title + creator_user_id, NOT name/owner_user_id)
POST /v3/meta/task/create {"team_id":"TID","agent_id":"AGID","creator_user_id":"UID","title":"TaskTitle"}
All curl calls inside docker exec with x-tdai-user-key, x-tdai-service-id, Content-Type headers.
Add to ~/.hermes/config.yaml under providers::
tencentdb-proxy:
api: http://127.0.0.1:8096/hermes/default
api_key: "sk-mem-..."
default_model: YOUR_MODEL
name: tencentdb-proxy
models: [YOUR_MODEL]
extra_headers:
x-team-id: team-xxxxxx
x-agent-id: agt-xxxxxx
x-task-id: task-xxxxxx
x-conversation-id: my-session-id
⚠️ Config change requires gateway restart which kills the current session — back up config first and plan to finish in a new session.
curl http://localhost:8420/health | python3 -m json.tool # pipeline stats
curl http://localhost:8125/health # panel
curl http://localhost:8096/health # proxy + upstream status
docker ps # container state
cd /path/to/deploy/deploy/global-images
./stop-all.sh # stops containers, preserves volumes + admin key
./stop-all.sh --purge # nukes volumes, admin key, generated proxy config
Restore ~/.hermes/config.yaml from backup (e.g., .config.bak.pre-tencentdb).