The local sandbox
control plane.
Give every project a dedicated loopback IP and stable .localhost hostnames, then inspect runtime state, logs, traffic, resource metrics, and agent workflows from one native control surface.
Public source · Containers optional · macOS 13+

One IP per project.
Zero port conflicts.
Loopbox assigns a dedicated loopback address to every project on boot. Each service gets a stable .localhost hostname, persisted in /etc/hosts — browser-isolated, stable across reboots.
- Host-based HTTP routing
- gRPC h2c and TCP passthrough
- Browser storage isolated per hostname
- Stable across machine reboots


Your entire stack.
One command.
A persistent supervisor starts, monitors, and restarts every service in your project. Crash detection, per-service log capture, resource metrics, and env file injection are built in.
- Crash detection and automatic restart
- Per-service log stream capture
- CPU, memory, process, and container stats
- Persistent integrated terminal sessions
- Env file discovery and injection
- Vite intelligence with automatic bind flags
Give your AI agent
eyes on the runtime.
Loopbox runs a local HTTP API at 127.0.0.1:39393. Codex, Cursor, Claude, or any custom tool can list projects, tail logs, inspect resource trends, send service input, create and update sandbox configs, and control service lifecycle via agent-api.json.
- List projects, Doctor output, and service state
- Read persisted CPU and memory samples
- Create and update projects (no delete endpoint)
- Tail live log streams
- Start, stop, restart, and send input to services
- Native Codex page with Loopbox MCP tools

The new way to manage localhost.
Same port numbers, zero conflict.
Run :5173 in a dozen projects at once. Each lives on its own loopback IP — there's nothing to remember, juggle, or document.
Never restart things by hand.
The built-in supervisor detects crashes and restarts automatically. Your environment stays running while you focus on writing code.
Your AI already knows the state.
Codex, Cursor, and Claude can read running services, logs, traffic, Doctor output, and resource trends directly, with controlled runtime mutations.
All features in the public build.
See all plans →
Service Metrics
Persist CPU, memory, process counts, and Docker stats while Loopbox or the headless Agent API is running.
Learn more →
Codex Agents
Run Codex inside Loopbox with built-in MCP tools for sandbox summaries, logs, resources, and approval-gated mutations.
Learn more →
Container Management
Bind Docker containers to your sandbox IP. Same port, different sandboxes — multiple databases running simultaneously without conflict.
Learn more →
Traffic Inspector
Capture HTTP and gRPC requests flowing through a sandbox with redaction, retention controls, and HAR export.
Learn more →Changelog
v0.3.2
Adds resource metrics, native Codex Agents with Loopbox MCP tools, service input, Agent API Doctor/resources endpoints, and Docker runtime hardening.
View release →v0.3.1
Public release line now ships every feature in one app binary with simpler commercial-license copy.
View release →v0.3.0
Windows experimental support, public release tooling, and platform-aware setup flows were added to the public repo.
View release →v0.1.3
Agent API flow expanded with project create/update support, plus Agent API Audit logging for full request/response inspection.
View release →v0.1.2
Public release line stabilized with repository cleanup and private EE adapter separation work.
View release →Loopbox is an independent project focused on native macOS developer tooling.
Built in Rust using the Dioxus framework. Free for personal use; commercial use requires a paid license agreement.

[global] domain_suffix = "localhost" ip_base = "127.0.0." [projects.myapp] dir = "/Users/you/dev/myapp" ip = "127.0.0.2" [[projects.myapp.services]] name = "frontend" command = "pnpm dev" [[projects.myapp.services.ports]] port = 5173 protocol = "http1"
One file.
Total definition.
Drop config.toml in ~/.config/loopbox/. Services, ports, and routing — declared once, version-controlled, reproducible across machines.