Website · Learn · Why Minga · Architecture · Extending · API Docs
A programmable workbench where text is the interface.
Minga is a native macOS and terminal code editor built on Elixir and the Erlang VM (BEAM) for editing code alongside parallel AI agents. Your open files, language servers, extensions, MCP servers, and agent sessions each run in isolated BEAM processes behind thin native frontends: a Swift and Metal desktop app on macOS and a Go/Bubble Tea client in the terminal.
Status: Pre-release, building toward v0.1.0 (roadmap & release gates · ADR-0006 · ADR-0004). Zero files are ever written to your Git repo; try it alongside your current editor with zero lock-in.
macOS (Apple Silicon, signed and notarized Homebrew prereleases):
brew install --cask getminga/minga/minga-mac && open -a MingaLinux (Arch and Omarchy, Ubuntu 24.04+, Debian 13+, Fedora; x86_64 and ARM64): add Minga's signed package repository first, using the commands in Get Started. Then install with your package manager:
sudo apt install minga # or: sudo dnf install minga, sudo pacman -Syu mingaGet Started is the one place install steps live. It has the repository setup and signing key for each distribution, the terminal client for macOS, and the source build for older Linux and Intel Macs.
Press Space in Normal mode to open mnemonic menus (SPC f f find file, SPC b b switch buffer, SPC s p project search, SPC a v agent view, SPC a a tasks). The key reference lists what the keys do, by where you are. Get Started continues from there: connect a model and review your first staged edit.
Try Minga's ideas in your browser on mingacode.dev:
| Page | What you can try |
|---|---|
| Learn | Four short lessons, one job each: find a command when you forget its key, see which lines are yours and which are Minga's, bring one setting from your old editor, and test a hook before you leave an agent working alone. Lessons 01 and 02 teach the v0.1.0 design, which is not in today's build yet. |
| Architecture | See why a slow language server does not freeze your typing, and step through how an approved edit waits for you. |
| Lesson 03 | Pick Neovim, Emacs or VS Code and read the same setting as one line of Minga config. |
When parallel agents stream output, run tools, and query LSP and MCP servers beside your editor, shared plugin heaps and single-threaded scripting loops are where stalls and cascading crashes show up. Minga runs each subsystem in its own Erlang VM process to isolate latency and failures, trading away single-binary startup speed.
- Preemptive scheduling and per-process GC. Buffers, LSPs, hooks, extensions, MCP servers, and agents run in separate BEAM processes with separate heaps, so background work never freezes typing.
- Staged agent edits. Agent file tools require a full-read revision token and stage changes off disk with crash-safe drafts (
~/.local/share/minga/staged_drafts), syntax-highlighted review, and three-way merge (SPC a p); LSP inspects published open buffers and shell runs execute in a temp copy skipping.gitandnode_modules. - Native macOS and terminal parity. Swift + Metal draws macOS, Go + Bubble Tea draws the terminal (packaged for macOS, Arch/Omarchy, Ubuntu, Debian, and Fedora), and Zig runs 50 tree-sitter grammars in a separate OS port.
- Headless agent durability over SSH. Run
minga --headlesson a Linux devbox and attach viaminga attach ssh://devbox/work/appover Erlang distribution with a shared cookie; agent sessions and staged drafts survive laptop sleep without copying source locally. - Deterministic safety guardrails. Gate tools with
PreToolUseshell hooks, run crash-isolated stdio MCP servers (mcp_<server>__*), and plug in internal LLM routes (MingaAgent.InferenceRoute).
~/.config/minga/config.exs uses the same Elixir runtime as the core, validates option types, and reloads live with SPC h r:
use Minga.Config
set :theme, :catppuccin_frappe
set :line_numbers, :hybrid
set :tab_width, 2
for_filetype :go, tab_width: 4, indent_with: :tabs
on :after_save, fn _buf, path ->
if String.ends_with?(path, ".ex"), do: System.cmd("mix", ["format", path])
endWrap built-in commands with advise, graduate to supervised Hex/Git/local packages via minga_sdk, compile custom tree-sitter grammars on demand, or switch to desktop shortcuts with set :editing_model, :cua.
Read in this order:
- Get Started: install Minga, connect a model, and review your first staged edit.
- Learn: hands-on lessons that pick up where Get Started ends.
- Reference, by task: look up what you need when you need it. The reference index lists every published doc.
- Use Minga: Configuration · Projects · Model Selection · Key reference
- Run agents unattended: Hooks · MCP Servers · Remote Agents
- Extend Minga: Extension API
- How it works: Architecture · Buffer-Aware Agents · Session Recovery · Keymap Scopes · Port Protocol · GUI Protocol · Go TUI Renderer
- Design and decisions: Design System · Architecture Decisions (ADRs)
Working on Minga itself? Contributing is the index for contributor docs: testing, performance gates, releasing, and the step-by-step recipes.
MIT licensed. Thank you to Henrik Lissner and all contributors to Doom Emacs, whose mnemonic leader-key UX inspired Minga's command grammar.
Created by Justin Smestad. Built in Colorado.