This guide assumes you’ve already completed the installation and setup wizard. If you haven’t, run
npx mega-brain-ai setup first.Overview
Mega Brain transforms expert materials into structured knowledge through a 5-phase processing pipeline. In this guide, you’ll:- Ingest your first material (video, PDF, or transcript)
- Process it through the JARVIS pipeline
- View the generated knowledge artifacts
- Check your system status
Step 1: Ingest Your First Material
Mega Brain accepts any expert material - videos, PDFs, transcripts, podcasts, or training courses. Let’s start with a YouTube video.Using Claude Code
Open your Mega Brain project in Claude Code and use the/ingest slash command:
Run the ingest command
In the Claude Code chat, type:Replace
EXAMPLE_ID with your actual YouTube video ID.Alternative: Ingest Local Files
You can also ingest PDFs, Word documents, or text files:Materials are automatically organized by author in the
inbox/ directory. JARVIS extracts metadata like title, author, and date from the source.Step 2: Process with JARVIS
Now that your material is ingested, run it through the 5-phase processing pipeline:Understand the pipeline
Each phase transforms your content:
| Phase | Purpose | Output |
|---|---|---|
| Chunking | Break content into semantic segments | artifacts/chunks/ |
| Resolution | Identify people, concepts, entities | artifacts/insights/ |
| Extraction | Extract frameworks and heuristics | artifacts/insights/ |
| Synthesis | Consolidate narratives by theme | artifacts/narratives/ |
| Compilation | Generate dossiers and playbooks | knowledge/ |
Step 3: Explore Your Knowledge Base
After processing, your knowledge base contains structured artifacts:View System Status
Check the health of your Mega Brain system:Dossiers
Expert-focused compilations containing all knowledge from a specific person.Location:
knowledge/dossiers/persons/Playbooks
Theme-based compilations organized by topic (sales, marketing, operations).Location:
knowledge/playbooks/DNA Schemas
5-layer cognitive models extracted from expert materials.Location:
knowledge/dna/Insights
Individual extracted learnings with source traceability.Location:
artifacts/insights/Step 4: Extract DNA (Optional)
For a deeper understanding of an expert’s thinking, extract their cognitive DNA:DNA extraction works best with 3-5+ materials from the same expert. With only one material, the DNA will be limited but still useful.
The 5 DNA Layers
L1 - Philosophies
Core beliefs and worldviewExample: “Value is created in the gap between cost and perceived benefit”
L2 - Mental Models
Thinking and decision frameworksExample: “The Value Equation (Dream Outcome + Perceived Likelihood - Time Delay - Effort & Sacrifice)”
L3 - Heuristics
Practical rules and decision shortcutsExample: “Always sell the result, not the mechanism”
Step 5: Query Your Knowledge
Once you have processed materials, you can query your knowledge base:Ask an Expert Agent
Query a mind-clone agent that thinks like the expert:Run a Conclave Session
Get multi-perspective analysis from your council of advisors:Common Workflows
Batch Ingest Multiple Materials
Process multiple materials from the same expert:Build a Multi-Expert Knowledge Base
Diversify your knowledge with multiple experts:Save and Resume Sessions
Troubleshooting
Ingestion Failed
If/ingest fails:
- Check your OpenAI API key in
.env - Verify the URL is accessible
- Check the logs in
logs/sessions/
Processing Stuck
If/process-jarvis hangs:
- Check Claude Code is still responding
- Review
logs/sessions/for error messages - Try processing again with
/process-jarvis
No Insights Extracted
If the pipeline completes but extracts no insights:- Check material quality - ensure the content is substantive
- Review the source in
inbox/- verify it was transcribed correctly - Try different material - some sources work better than others
Next Steps
Configuration Guide
Configure additional API keys for enhanced features like semantic search and voice interaction
Available Commands
Explore all available slash commands and CLI tools
DNA Schema Guide
Deep dive into the 5-layer DNA extraction system
Agent System
Learn about Cargo Agents (CRO, CFO, CMO, COO) and Mind Clones
Pro Tip: The more materials you ingest from the same expert, the richer your DNA extraction becomes. Aim for 3-5 materials per expert for optimal results.
