Thanks for your interest in TencentDB Agent Memory! This document covers
the shared contribution flow for every open-source module in this repo
(MemoryCore / MemoryPanel / MemoryKnowledge / MemoryProxy + SDK). For
module-specific dev instructions, see that module's own CONTRIBUTING.md
(when present) or README.md.
- Report bugs: GitHub Issues — describe the symptom, reproduction steps, env
- Feature requests: Issues — describe the use case and the outcome you want
- Docs: fix typos, expand examples, clarify explanations
- Code: fix a bug, land a feature, improve performance
tdai-memory-openclaw-plugin/
├── MemoryCore/ # Memory kernel (Gateway, 4-layer pipeline, Skill extraction)
├── MemoryPanel/ # Team memory control panel
├── MemoryKnowledge/ # Knowledge service (Wiki + CodeGraph)
├── MemoryProxy/ # LLM request proxy for coding agents
├── sdk/memory-core/ # Official TypeScript / Python SDKs
├── deploy/ # Image build & local deploy scripts
│ ├── global-images/ # One-command local stack
│ ├── dockerhub/ # Docker Hub publish recipe
│ └── panel-knowledge-combined/ # memory-hub image build
├── INSTALL.md / INSTALL_CN.md
├── CHANGELOG.md
└── README.md / README_CN.md
Module stacks differ slightly; common baseline:
- Node.js ≥ 22.16.0 (
MemoryCore/MemoryPanel/MemoryKnowledge/MemoryProxyall run on Node 22) - npm or pnpm (lockfiles vary per module)
- Python ≥ 3.9 (for
sdk/memory-core/pythonor v2→v3 migration scripts) - Docker (for building images or running the local three-in-one stack)
The simplest inner loop: run the full stack in Docker, then patch the target module locally.
git clone https://github.com/Tencent/TencentDB-Agent-Memory.git
cd TencentDB-Agent-Memory/deploy/global-images
cp .env.example .env && $EDITOR .env
./start-all.shThen work in the module source. Each module's README.md explains how to run
it standalone (usually cd <module> && npm install && npm run dev).
- Fork the repo
- Cut a feature branch off
masteror the latestdevelop_*branchgit checkout -b fix/xxx-issue
- Make your changes, run the relevant tests
cd <module> npm test # or pnpm test
- Commit using Conventional Commits + DCO sign-off (see below)
- Push and open a PR against
develop_server_teamormaster(follow the maintainer's latest guidance) - Get through CI + review, then merge
We use Conventional Commits:
<type>(<scope>): <subject>
<body>
Signed-off-by: Your Name <your-email@example.com>
| type | meaning |
|---|---|
feat |
New feature |
fix |
Bug fix |
perf |
Performance optimization |
refactor |
Refactor (no behaviour change) |
docs |
Docs |
test |
Tests |
chore |
Build / deps / tooling |
style |
Formatting only |
revert |
Revert |
Use a module or subsystem name: memory-core / panel / knowledge /
proxy / sdk-ts / sdk-py / deploy / docs.
feat(memory-core): add batch insert for L1 records
fix(proxy): sessionInit form retry when kernel returns 429
docs(sdk-ts): update v3 constructor examples
- TypeScript: follow existing style; add comments explaining why, not what
- Python: PEP 8 with type annotations
- Naming: prefer English, be descriptive
- Import order: Node/Python builtins → third-party → project internals
- Tests: add tests with new features; fix a bug with a regression test first
Every commit must carry a DCO sign-off:
git commit -s -m "feat(memory-core): ..."Commits without a Signed-off-by: trailer will not be merged. To make it
automatic:
git config user.name "Your Name"
git config user.email "your-email@example.com"If you discover a security vulnerability, do not open a public issue. Please email agentmemory@tencent.com; we'll respond promptly.
By submitting a contribution you agree that it will be licensed under the project's MIT License.
Thanks again! If you're unsure about any step, open a "question" Issue and we'll help.