Standalone Architecture
Deep dive into mag's sovereign service stack.
Platform Components
Mag is built as a set of modular, sovereign services designed to run independently or together. It leverages robust, standard open-source tools for database, networking, and caching.
Core Services
The stack is composed of a Next.js 15 app for the UI and API, a Go-based daemon for handling custom SSH/Git authentication, a Redis instance for job queuing, and a PostgreSQL database for state storage.
Local Container Registry
To bypass external registry limitations and charges, Mag operates an integrated private Docker registry container. Compiled images are pushed and pulled locally over a high-speed secure interface.