Mind clones are AI agents that reason like specific experts, grounded in their actual materials. This guide shows you how to extract DNA and create high-fidelity expert agents.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/thiagofinch/mega-brain/llms.txt
Use this file to discover all available pages before exploring further.
What is DNA Extraction?
DNA extraction analyzes all processed materials from an expert and extracts their cognitive patterns across 5 knowledge layers:For best results, process 3-5 materials from the same expert before DNA extraction.
Prerequisites
Before extracting DNA:Required Artifacts
Required Artifacts
✓ Processed Materials
- At least 1 material processed through pipeline
- Recommended: 3-5 materials for rich DNA
knowledge/dossiers/persons/DOSSIER-[PERSON].md
- Insights in
INSIGHTS-STATE.jsonfor the person
- Chunks in
CHUNKS-STATE.jsonwith chunk_ids
Extraction Command
Basic Extraction
- Successful Extraction
- Insufficient Data
DNA Layer Examples
Layer 3: Heuristics (Most Valuable)
Weight Calculation System
How Weights Are Calculated
How Weights Are Calculated
Base weight: 0.50Bonuses:Usage threshold:
- +0.15 → Direct quote with chunk_id
- +0.15 → Appears in 2+ different sources
- +0.10 → Has numeric threshold
- +0.10 → Appears in 3+ sources
- +0.05 → Found in NARRATIVES context
- +0.05 → Uses prescriptive language
- -0.20 → Inferred (not direct quote)
- -0.15 → Contradicts another item
- -0.10 → Ambiguous context
- Items with weight < 0.70 are NOT used in agent responses
- Only high-confidence knowledge is actionable
Creating the Agent
After DNA extraction, the agent files are automatically created:Agent Structure
Querying the Mind Clone
Once created, interact with the expert:DNA Quality Metrics
- High Quality DNA
- Medium Quality DNA
- Low Quality DNA
Indicators:
- ✓ 15+ items extracted
- ✓ 5+ heuristics with numeric thresholds
- ✓ Average weight ≥ 0.70
- ✓ 80%+ items have chunk_ids
- ✓ Multiple sources (3+)
- ✓ Low contradiction rate
Viewing DNA
Visualize the extracted DNA:- All 5 layers with item counts
- Weight distribution
- Source coverage
- Chunk_id traceability
- Contradiction warnings
- Quality score
Updating DNA
As you process more materials, DNA enriches automatically:Auto-Update Check
Pipeline Phase 8.1.8 automatically:
- Checks DNA density (items per layer)
- If density ≥ 3/5 layers AND DNA exists → UPDATE
- If density ≥ 3/5 layers AND DNA missing → CREATE
Best Practices
Start with Quality
Process 3-5 high-quality materials before extraction
Verify Heuristics
Focus on Layer 3 - heuristics are most actionable
Check Chunk IDs
Ensure 100% traceability to sources
Review Weights
Items < 0.70 won’t be used by agents
Next Steps
Use the Mind Clone
Learn how to query and interact with created agents
Multi-Agent Deliberation
Combine multiple expert perspectives in Conclave sessions
