Files
zeekay aad2b6998c brain: scaffold the canonical Hanzo Brain monorepo
The single binary brain that compounds knowledge across every channel,
every agent, every runtime.

Drop markdown into ~/.hanzo/workspace/. Edges auto-extract (zero LLM).
Facts queryable via MCP. One SQLite file at ~/.hanzo/brain/brain.db.
Same file readable by every Hanzo runtime — TS, Python, Rust, Go.

Packages
- brain          meta-pack registering memory + graph-links + recipes
- memory         pluggable BrainStore (SQLite default; FTS5 hybrid search)
- graph-links    zero-LLM typed-edge extractor (6 edge types)
- recipes-brain  YAML daily-life automations (email flagship)

Sister runtimes
- TS canonical   ships in @hanzo/bot (this monorepo is the source)
- Python         hanzo-memory (graph_links + recipes ports)
- Rust           hanzoai/mcp::brain crate
- Go             hanzoai/bot-go (single static binary)

Canonical paths
- ~/.hanzo/brain/brain.db     the brain
- ~/.hanzo/workspace/         markdown source — auto-ingested
- ~/.hanzo/recipes/           user-authored YAML recipes
- ~/.hanzo/config.toml        per-machine config
- ~/.hanzo/cache/             embedding cache, tool-output cache
- ~/.hanzo/logs/              structured logs

A brain.db written by ANY runtime is byte-identical to one written by
every other. Same schema, same FTS5 setup, same pages / edges / facts
shape.

Pluggable backends — same BrainStore contract everywhere:
sqlite (default) · qdrant · meilisearch · zapdb · replicate · vfs · postgres.
2026-05-11 10:33:33 -07:00

22 lines
1.0 KiB
Plaintext

MIT License
Copyright (c) 2026 Hanzo AI Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.