Skip to main content
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:
  1. Ingest your first material (video, PDF, or transcript)
  2. Process it through the JARVIS pipeline
  3. View the generated knowledge artifacts
  4. Check your system status
Make sure your OPENAI_API_KEY is configured in .env before proceeding. Video and audio ingestion requires OpenAI’s Whisper API for transcription.

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:
1

Open Claude Code

Launch Claude Code and open your Mega Brain project directory.
2

Run the ingest command

In the Claude Code chat, type:
Replace EXAMPLE_ID with your actual YouTube video ID.
3

Review the output

JARVIS will download and process the transcription:

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:
1

Launch the pipeline

In Claude Code, execute:
2

Monitor the phases

JARVIS processes your material through 5 phases:
3

Understand the pipeline

Each phase transforms your content:

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:
Expected output:

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.
Expected output:

The 5 DNA Layers

1

L1 - Philosophies

Core beliefs and worldviewExample: “Value is created in the gap between cost and perceived benefit”
2

L2 - Mental Models

Thinking and decision frameworksExample: “The Value Equation (Dream Outcome + Perceived Likelihood - Time Delay - Effort & Sacrifice)”
3

L3 - Heuristics

Practical rules and decision shortcutsExample: “Always sell the result, not the mechanism”
4

L4 - Frameworks

Structured methodologiesExample: “The Grand Slam Offer Framework”
5

L5 - Methodologies

Step-by-step implementationsExample: “7-Step Offer Creation Process”

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:
Expected output:

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:
  1. Check your OpenAI API key in .env
  2. Verify the URL is accessible
  3. Check the logs in logs/sessions/

Processing Stuck

If /process-jarvis hangs:
  1. Check Claude Code is still responding
  2. Review logs/sessions/ for error messages
  3. Try processing again with /process-jarvis

No Insights Extracted

If the pipeline completes but extracts no insights:
  1. Check material quality - ensure the content is substantive
  2. Review the source in inbox/ - verify it was transcribed correctly
  3. 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.