Skip to main content

Prerequisites

Before installing Mega Brain, ensure you have the following installed on your system:

Node.js

Version 18.0.0 or higherDownload from nodejs.org

Python

Version 3.10 or higherDownload from python.org

Claude Code

Max or Pro plan requiredThe core runtime for Mega Brain

OpenAI API Key

Required for transcriptionGet your key

System Requirements

Mega Brain uses Claude Code as its core runtime. Make sure you have an active Claude Code Max or Pro subscription before proceeding.

Installation Methods

Install Mega Brain globally using npm:
1

Install via npm

Run the installation command:
Or use npx to run without installing:
2

Run the setup wizard

The setup wizard will automatically launch on first use:
This interactive wizard will:
  • Check for Python 3.10+ and Node.js 18+
  • Install Python dependencies (PyYAML)
  • Prompt you to configure API keys
  • Validate your API connections
  • Generate your .env file
3

Verify installation

Check your system status:
Expected output:

Local Development Install

For contributors or users who want to modify the source code:
1

Clone the repository

2

Install dependencies

3

Install Python dependencies

Or with Python 3:
4

Run setup

Post-Installation Setup

Verify Python Installation

The setup wizard automatically detects Python. If you need to verify manually:
Python is required for hooks and intelligence scripts. The minimum version is 3.10, but 3.11+ is recommended for better performance.

Verify Node.js Installation

Directory Structure

After installation, your Mega Brain directory will look like this:

Available Packages

Mega Brain comes in different editions based on the layer system:

Layer 1 - Community

Free & Open SourceCore engine, templates, hooks, skills, CLI tools, and agent templates.Perfect for building your own knowledge system from scratch.

Layer 2 - Pro

Premium EditionEverything in Community plus:
  • Pre-populated knowledge base
  • Mind clone agents
  • Full pipeline processing
  • Conclave multi-agent system
Requires MoneyClub membership.

Layer 3 - Personal

Your DataYour personal materials, sessions, and environment configuration.Always stays local and never leaves your machine.

Upgrading Editions

To upgrade from Community to Pro:
You’ll be prompted to validate your MoneyClub email.

Troubleshooting

Python Not Found

If the setup wizard can’t find Python:
  1. Ensure Python 3.10+ is installed from python.org
  2. Add Python to your system PATH
  3. Try using python3 instead of python
  4. Restart your terminal after installation

Node Version Too Old

If your Node.js version is below 18:

Permission Errors on npm Install

If you get EACCES errors:

Python Dependencies Failed

If pip installation fails:

Next Steps

Quick Start Guide

Learn how to ingest your first material and process it through the pipeline

Configuration

Configure API keys and customize Mega Brain for your workflow