LYGO Second Brain
Local LLM wiki aligned with LYGO: markdown vault, Ollama inference, git anchoring, optional stack manifest.
When to use
- User asks for second brain, LLM wiki, vault ingest, Obsidian + Ollama, or cites Biophase7
lygo-second-brain.zip - Compounding notes from
raw/→permanent/→wiki/with retrieval (embed_index.py/search.py) - Consensus before saving contentious claims (
consensus.py)
When not to use
- Cloud-only Kimi/Claude as primary (optional fallback only)
- Autonomous overnight
/dreamv1 (not shipped — build after ingest+index stable) - Auto
git push, ClawHub publish, or kernel egg plant without consent
Setup
npx clawhub@latest install deepseekoracle/lygo-second-brain
export LYGO_STACK_ROOT=/absolute/path/to/lygo-protocol-stack
export LYGO_VAULT_ROOT=$LYGO_STACK_ROOT/lygo_second_brain/vault
python tools/install_lygo_second_brain.py
ollama pull llama3.2 && ollama pull nomic-embed-text
Commands (agents)
| Intent | Command |
|---|---|
| Ingest | python tools/lygo_second_brain.py ingest vault/raw/file.md |
| Index | python tools/lygo_second_brain.py index |
| Search | python tools/lygo_second_brain.py search "topic" |
| Consensus | python tools/lygo_second_brain.py consensus "question?" |
| Wiki | python tools/lygo_second_brain.py wiki "topic" |
| Self-check | python scripts/self_check.py (from skill mirror) |
Direct scripts: $LYGO_STACK_ROOT/lygo_second_brain/scripts/
LYGO lattice (honest)
- Integrity: file read + size cap on ingest (not content entropy scoring)
- Memory: git commits + optional
data/second_brain/manifest.jsonl - Consensus: 2+ Ollama models, cosine similarity on answers
- Optional:
lygo-kernel-egg-planterfor permaweb pins (user consent)
Skill chain
lygo-protocol-stack-operator → lygo-second-brain → lyra-brain / book-brain → lygo-kernel-egg-planter (optional)
Maintainer
npx clawhub@latest publish "…/clawhub/mirrors/lygo-second-brain" --slug lygo-second-brain --name "LYGO Second Brain"
Δ9Φ963 — local vault, verify, then compound.
