Bastion deploys isolated Linux VMs for parallel coding agents
Bastion is a self-hostable tool that spins up isolated Linux VMs for background coding agents, eliminating runtime conflicts when running multiple agents in parallel.
Score breakdown
Bastion removes the environment-conflict bottleneck that prevents running multiple coding agents simultaneously by giving each agent its own fully isolated VM, enabling true parallel agent workflows on self-hosted infrastructure.
- 01Each coding agent runs in a separate Linux VM, giving it full control over its file system and background processes.
- 02Multiple agents can run in parallel with zero runtime conflicts between them.
- 03Environments are defined and initialized using schema-validated JSON templates.
Bastion is a tool for deploying virtual computers purpose-built for coding agents. Its core design principle is isolation: each coding agent runs inside a dedicated Linux VM, giving it complete control over its own file system, background processes, and dev environment — preventing the runtime conflicts that arise when multiple agents share the same host.
The tool also includes a multiplexer and a proxy for reaching services running inside environments.
Environments are defined using schema-validated JSON templates rather than manual configuration. A template specifies the agent (including its working directory, auth credentials, and model — the example in the source uses `openai/gpt-5.5`), as well as `init` and `start` actions such as cloning a repo, installing dependencies with Bun, and launching a dev server. Once a template is registered via `bastion templates create`, individual environments are deployed with `bastion env create`, tagged for tracking (e.g., by issue number), and accessed directly through OpenCode or SSH using `bastion opencode` and `bastion ssh` commands. The tool also includes a multiplexer and a proxy for reaching services running inside environments.
Bastion is self-hostable on any Linux system with KVM support, from a local workstation to cloud VMs like AWS EC2. The project is available on GitHub and installable via a one-line `curl` script.
Key facts
- 01Each coding agent runs in a separate Linux VM, giving it full control over its file system and background processes.
- 02Multiple agents can run in parallel with zero runtime conflicts between them.
- 03Environments are defined and initialized using schema-validated JSON templates.
- 04The CLI supports commands like `bastion templates create`, `bastion env create`, `bastion opencode`, and `bastion ssh`.
- 05Bastion can be self-hosted on any Linux system with KVM support, including AWS EC2 instances.
- 06The example template in the source configures an agent using the model `openai/gpt-5.5`.
- 07Installation is available via a one-line curl script from bastion.computer.
Topics
Summary and scoring are generated automatically from the original article. We always link back to the publisher and never republish images or paywalled content. Last processed Jun 14, 2026 · 09:08 UTC. How this works →