For the complete documentation index, see llms.txt. A markdown version of this page is at /workstations/packages-tools-settings/stacks/index.md.

Stacks

A stack is a ready-made workstation for one kind of work, with the tools a developer expects and your coding agent already installed.

A stack is a ready-made workstation for one kind of work, with the tools a developer expects and your coding agent already installed. Each stack has one file for each agent in our public examples repository. You apply a file straight from its URL, and it runs on your own computer with no account needed.

Stack files

A stack file is an ordinary workstation file, applied as workstation basics describes. The files in one stack differ only in the agent they install, the workstation’s name and its agent label. Some stacks also have a separate file that attaches to every workstation with a given label, so several stacks can share one set of additions.

Change a stack

To change a stack, fork the examples repository, or copy one file, and edit it. These pages show the lines to add:

A source clones once. A private HTTPS source needs credentialRef: {name: github-pat, key: token}, and an SSH URL uses the forwarded key.

Then apply your copy from its own raw URL, and give that URL to your team so everyone gets the same workstation. A second way to add things is a separate file that attaches to every workstation with a label. Several stacks can then share one set of additions.

Run a stack in a cloud

These files run on your own computer, with no cloud account needed. To run the same stack in a cloud, change three things in your copy:

  1. Add the label your organization uses to choose its cloud account, such as cloud: gcp.
  2. Add requirements: ["provider:gcp"] to the Workstation, or aws or azure.
  3. Replace providerConfig with the cloud’s own sizing.

A running cloud workstation costs money

Add an idle policy, as Stop a workstation when it’s idle shows, so the workstation stops when nobody is using it.

The dltHub GCP example makes these changes, and Cloud accounts covers connecting your cloud account, once per organization.

If you add an egress block, a host destination needs an Edge on any cloud. So does a host deny entry, and on AWS so does any deny entry. rl apply rejects a strict or open workstation if your namespace declares none. Enforcement by provider says which provider needs what.

Next steps