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:
- To add a curated tool, such as
dockerorpython, follow Install a devtool. - To add an operating system package or an npm package, follow Add a package.
- To have each new workstation clone your project, follow
Clone a repository onto a workstation.
rl codethen opens that folder without--path.
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:
- Add the label your organization uses to choose its cloud account, such as
cloud: gcp. - Add
requirements: ["provider:gcp"]to theWorkstation, orawsorazure. - Replace
providerConfigwith the cloud’s own sizing.
A running cloud workstation costs money
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
- Create a front-end workstation applies the front-end stack.
- Package installation and devtools and tool configuration cover the lines you add to change a stack.