Built with Rust

Your AI coding agent.
Built in Rust.

Native performance with minimal memory footprint. A single binary that uses ~4MB RAM — compared to 1.6GB+ for Node.js-based agents. No VM, no runtime, no garbage collector overhead.

magang — ~/projects/my-app
Why Rust

A single binary. No runtime.

Magang compiles to a native executable. No Node.js, no Python, no JVM. Just Rust.

~4MB Memory

Magang uses around 4MB RAM at idle. Node.js-based agents like Claude Code need 1.6GB+. That's 400x less memory on the same machine.

Native Speed

Compiled to machine code with zero runtime overhead. Cold start in milliseconds, not seconds. No JIT warmup, no GC pauses.

Single Binary

No dependencies, no node_modules, no virtual environments. One file, anywhere. Copy it to any machine and it just works.

Memory Safe

Rust's ownership model guarantees no segfaults, no buffer overflows, no data races. The compiler catches bugs before runtime.

Everything you need in a coding agent

Magang handles the full development workflow — from reading code to running tests, all from your terminal.

File Editing

Read, create, and edit files with surgical precision. Supports diffs and multi-file operations.

Rich TUI Interface

btop-inspired terminal UI built with ratatui. Markdown rendering, scrollable chat, and system stats at a glance.

Shell Execution

Run commands, install packages, manage processes. Full shell access with output streaming.

Git Operations

Create commits, manage branches, review diffs, and handle merge conflicts through natural language.

MCP Server Support

Extend capabilities with Model Context Protocol servers. Connect tools and data sources seamlessly.

Auto Compaction

Intelligent session compaction at 200k tokens keeps context relevant without losing important details.

Built with serious tools

Rust-native performance with a carefully chosen stack for reliability and speed.

Rust
ratatui
tokio
reqwest
serde
OpenAI API
MCP Protocol
crossterm

Ready to code faster?

Open source, written in Rust, and ready for your workflow.