8000 GitHub - getminga/minga: A programmable workbench where text is the interface. Native macOS and terminal editor on the Erlang VM for code and parallel AI agents. · GitHub
[go: up one dir, main page]

Skip to content
getmingaPublic
8000

About

A programmable workbench where text is the interface. Native macOS and terminal editor on the Erlang VM for code and parallel AI agents.

Topics

Resources

Contributing

Stars

34 stars

Watchers

0 watching

Forks

Latest commit

 

History

5,561 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minga: a programmable workbench where text is the interface

Website · Learn · Why Minga · Architecture · Extending · API Docs

Minga

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.

Try it in 60 seconds

macOS (Apple Silicon, signed and notarized Homebrew prereleases):

brew install --cask getminga/minga/minga-mac && open -a Minga

Linux (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 minga

Get 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.

Explore the site

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.

Why the Erlang VM matters for code + agents

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 .git and node_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 --headless on a Linux devbox and attach via minga attach ssh://devbox/work/app over Erlang distribution with a shared cookie; agent sessions and staged drafts survive laptop sleep without copying source locally.
  • Deterministic safety guardrails. Gate tools with PreToolUse shell hooks, run crash-isolated stdio MCP servers (mcp_<server>__*), and plug in internal LLM routes (MingaAgent.InferenceRoute).

Configure and extend in plain Elixir

~/.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])
end

Wrap 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.

Documentation map

Read in this order:

  1. Get Started: install Minga, connect a model, and review your first staged edit.
  2. Learn: hands-on lessons that pick up where Get Started ends.
  3. Reference, by task: look up what you need when you need it. The reference index lists every published doc.

Working on Minga itself? Contributing is the index for contributor docs: testing, performance gates, releasing, and the step-by-step recipes.

License & acknowledgements

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.

About

A programmable workbench where text is the interface. Native macOS and terminal editor on the Erlang VM for code and parallel AI agents.

Topics

Resources

Contributing

Stars

34 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages

0