AI-native engineer for the Brainbase Conversational Platform. Give your AI coding tools the power to design, deploy, and manage conversational agents.
<p align="center"> <img src="assets/mega-sprite.svg" width="160" alt="Mega" /> </p> <h1 align="center">Mega</h1> <p align="center"> <strong>Your AI teammate for the Brainbase Conversational Platform.</strong><br/> Describe what you want. Mega builds it, deploys it, and manages it. </p> <p align="center"> <a href="https://docs.usebrainbase.com/mega">Docs</a> · <a href="docs/based.md">Based Reference</a> · <a href="examples/">Examples</a> </p> --- ## What is Mega? Mega gives AI coding tools — Claude Code, Cursor, Codex, or anything that reads files — deep knowledge of the Brainbase platform. It's not a CLI, not an SDK, not an agent framework. It's a repo full of context that makes your AI tool an expert Brainbase engineer. You say what you need. Mega knows the rest. **Write flows** — from business requirements, PDFs, spreadsheets, or a conversation. **Deploy anywhere** — voice, chat, SMS, WhatsApp, API. One flow, many channels. **Scale** — templatize a working flow and deploy it across dozens of instances. **Debug** — pull logs, find where callers get stuck, fix the prompt, redeploy. ## Quick start ```bash git clone https://github.com/BrainbaseHQ/mega.git cd mega cp .env.example .env # add your Brainbase API key ``` Open `mega/` in your AI tool. It auto-configures: | Tool | Config | What Mega gives it | |-|-|-| | Claude Code | `CLAUDE.md` | Full platform context, Based reference, workflow patterns | | Cursor | `.cursorrules` | Based syntax, platform conventions | | Codex | `AGENTS.md` | Agent instructions for autonomous operation | Then just talk to it: ``` "Here's our customer support playbook [attach PDF]. Write a Based flow for inbound voice calls that routes to sales, service, or parts based on caller intent." ``` ``` "Deploy the booking agent to these 40 phone numbers [attach spreadsheet]. Use the dealership name and hours from each row." ``` ``` "Pull logs from deploy_abc123. Where are callers getting stuck? Fix i
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.