zeroclaw/docs/reference
khhjoe 853df8c9c8
feat(memory): add mem0 (OpenMemory) backend integration (#3965)
* feat(memory): add mem0 (OpenMemory) backend integration

- Implement Mem0Memory struct with full Memory trait
- Add history() audit trail, recall_filtered() with time/metadata filters
- Add store_procedural() for conversation trace extraction
- Add ProceduralMessage type to Memory trait with default no-op
- Feature-gated behind `memory-mem0` flag
- 9 unit tests covering edge cases

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* style: apply cargo fmt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(memory): add extraction_prompt config, deploy scripts, and timing instrumentation

- Add `extraction_prompt` field to `Mem0Config` for custom LLM fact
  extraction prompts (e.g. Cantonese/Chinese content), with
  `MEM0_EXTRACTION_PROMPT` env var fallback
- Pass `custom_instructions` in mem0 store requests so the server
  uses the client-supplied prompt over its default
- Add timing instrumentation to channel message pipeline
  (mem_recall_ms, elapsed_before_llm_ms, llm_call_ms, total_ms)
- Add `deploy/mem0/` with self-hosted mem0 + reranker GPU server
  scripts, fully configurable via environment variables
- Update config reference docs (EN, zh-CN, VI) with `[memory.mem0]`
  subsection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

# Conflicts:
#	src/channels/mod.rs

* chore: remove accidentally staged worktree from index

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:30:42 +03:00
..
api feat(memory): add mem0 (OpenMemory) backend integration (#3965) 2026-03-24 15:30:42 +03:00
cli fix(docs): remove stale onboarding flags after CLI changes (#3516) 2026-03-24 15:16:01 +03:00
sop docs: restructure docs/ into topic-based directory layout 2026-03-09 22:25:20 -04:00
README.md docs: update all internal links to match topic-based directory layout 2026-03-09 23:09:09 -04:00

Reference Catalogs

Structured reference index for commands, providers, channels, config, and integration guides.

Core References

Provider & Integration Extensions

Usage

Use this collection when you need precise CLI/config details or provider integration patterns rather than step-by-step tutorials.

When adding a new reference/integration doc, make sure it is linked in both ../SUMMARY.md and ../maintainers/docs-inventory.md.