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.
Deep dive into mag's sovereign service stack.
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.
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.
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.