For AI agents
Start a stack, wait for readiness, inspect errors, stream lifecycle events, and restart a process — without scraping terminal tabs or guessing if a build silently crashed.
ai-native process manager
Zero-config project detection. Daemon-backed process control. Cross-service
log search, port cleanup, health checks, and a terminal UI built for humans
and coding agents — no YAML, no Procfile, no Compose for dev.
v0.x · MIT · production targets: macOS & Linux on arm64 / amd64
quick start
Three commands gets you from clean checkout to a running stack with structured output a coding agent can consume.
One script, signed binaries, no package manager required.
Auto-detects 86 frameworks across 14 ecosystems. Pick processes interactively.
Headless mode returns JSON when every service is ready. Drop into CI or an agent loop.
command reference
Inspection commands and mutation results are JSON-first, with bounded reads for agent loops. The full reference lives in docs/cli.md.
stackplay |
Start the daemon and open the TUI. |
stackplay up --json |
Start headlessly and return process state as JSON. |
stackplay ps --json |
Status, PID, CPU, memory, ports, uptime, and last failure. |
stackplay health --json |
An ok / issues verdict for the whole stack. |
stackplay logs api --no-follow --json |
Bounded log read that won’t hang an agent loop. |
stackplay search "error" --json --max-hits 50 |
Search every managed process at once. |
stackplay trace "payment" --json |
Merge-sorted timeline across processes. |
stackplay ports :3000 --json |
Inspect listening ports — daemon optional. |
stackplay watch --level error --ndjson |
Typed lifecycle and log events for agents. |
stackplay restart api --dry-run --json |
Preview a restart without applying it. |
configuration
stackplay auto-detects common frameworks and monorepos. A checked-in
stackplay.yaml gives a team a stable, shared process contract
when defaults aren’t enough.
procs:
api:
shell: "npm run dev"
cwd: "./services/api"
env:
PORT: "4000"
autorestart: true
ports: [4000]
web:
shell: "npm run dev"
cwd: "./apps/web"
deps: [api]
ports: [3000]
settings:
scrollback: 20000
theme: midnight
made for agents
JSON-first for reads and mutations, bounded by default, push-based when you need it. No more
silence is not success
failures from agents tailing dev servers.
Start a stack, wait for readiness, inspect errors, stream lifecycle events, and restart a process — without scraping terminal tabs or guessing if a build silently crashed.
Stop juggling five dev servers across five terminal tabs, manually tailing logs, guessing which stale process owns port 3000, or letting an agent wait forever on silent output.
finis