46 lines
931 B
Markdown
46 lines
931 B
Markdown
# New Agent Onboarding Template
|
|
|
|
## 1) Create agent lane
|
|
|
|
```bash
|
|
cd /Users/lingyuzeng/project/collective-memory-repo
|
|
scripts/add-agent.sh <agent-id>
|
|
```
|
|
|
|
Example:
|
|
|
|
```bash
|
|
scripts/add-agent.sh kimi-helper
|
|
```
|
|
|
|
## 2) (Optional) Auto update OpenClaw qmd paths
|
|
|
|
```bash
|
|
scripts/add-agent.sh <agent-id> --openclaw-config ~/.openclaw/openclaw.json
|
|
```
|
|
|
|
## 3) Commit and push
|
|
|
|
```bash
|
|
git add agents/<agent-id>
|
|
git commit -m "feat(agent): add <agent-id> memory lane"
|
|
git push
|
|
```
|
|
|
|
## 4) Verify memory-gateway visibility
|
|
|
|
```bash
|
|
curl -fsS http://100.64.0.45:8787/health
|
|
printf '{"branch":"main","require_latest":true}' \
|
|
| curl -fsS -H 'content-type: application/json' -d @- \
|
|
http://100.64.0.45:8787/memory/status
|
|
```
|
|
|
|
## 5) Query smoke test
|
|
|
|
```bash
|
|
printf '{"query":"<agent-id>","branch":"main","require_latest":true,"top_k":3}' \
|
|
| curl -fsS -H 'content-type: application/json' -d @- \
|
|
http://100.64.0.45:8787/memory/search
|
|
```
|