Your Next Coding Session Starts in a Browser
~/worktrees/acme/web/auth-flow
You
Build the password reset flow. Use the attached design and run the tests.
reset-flow.pngClaude Code
I’ll check your auth routes and project instructions, then build the form to match your design.
✓Read src/auth/ and AGENTS.md
✓Edit reset-form.tsx, send-reset.ts
✓Run pnpm test · Tests passed
The reset flow is ready, with tests passing. Want me to open a pull request?
FILES
acme / web
auth-flow
src/auth
reset-form.tsx
send-reset.ts
auth.test.ts
AGENTS.md
Your private VM
Ubuntu 24.04
Full SSH access
Your tools and files stay here between sessions.
The useful part of a coding session is the work: explaining the change, trying an approach, reading the diff. Reinstalling dependencies on another computer is rarely the part you were looking forward to.
Layerbase Workspaces gives your project a place to stay. Your repositories, coding tools, and terminal live on a private Linux machine. You open your browser to work with them. When you change computers, you reconnect to that machine instead of assembling the environment again.
Here is a small workflow to try: give an agent a design for a password reset screen, let it implement the change on a feature branch, and review the result. The example repository below is fictional; use a development project of your own.
Set up once, then start with the task
Create a workspace from the dashboard, choose its size and location, and review the monthly price before checkout. Setup usually takes 5 to 8 minutes. Workspaces is currently in beta under the early adopter terms.
When the workspace is ready, connect the Layerbase GitHub App and select your repository. Choose a supported coding agent in the dashboard, install it, and complete its sign-in flow. Installation puts the tool on the machine; sign-in connects your provider account.
Your workspace subscription covers the machine. You bring your own agent subscription or API key, and the provider's usage limits and charges still apply. The workspace page lists current sizes and prices.
Open Terminal. You now have a shell on the workspace without configuring a local terminal or adding an SSH key. Node.js, pnpm, Docker, and Git are already available; install any additional dependencies your project needs.
Give the agent a branch and some ground rules
On the Repositories tab, set the project's production branch and, if you use one, its staging branch. These settings tell supported agents where feature work starts and where pull requests should go. Add shared workspace instructions for the conventions you want them to use.
For our example project, a useful task would be:
In acme/web, create a feature worktree for the password reset screen.
Read the project instructions and existing authentication flow first.
Use the attached design, add the missing form states, and run the relevant tests.
Show me the diff before opening a pull request.A separate worktree gives the task its own working directory. That is helpful when another session is working on a different branch. Shared services and the repository's history still need coordination, so keep tasks scoped and review changes before merging.
Put the design next to the work
Drag a screenshot onto the browser terminal, or paste an image. The terminal uploads it to the workspace and inserts its path, so you can point your agent at the actual file. The terminal guide lists supported file types and limits.
Open the file explorer alongside the terminal to browse the repository, preview an image, or read a file the agent changed. You can make a quick text edit there too. For a larger review, push the branch and use your normal pull request tools, or connect your remote editor over SSH.
That makes a browser session useful beyond typing prompts. You can bring in context, see the files, run commands, and check the result in one place.
Close the tab. Come back to the session.
The terminal session lives on the workspace. Closing your browser or disconnecting your laptop does not stop it while the machine keeps running. Open the workspace from another computer and reconnect to the session.
The important distinction is that the environment persists, not that the agent can work forever without you. It may finish, fail, reach a provider limit, or wait for permission. Rebooting or stopping the workspace interrupts running processes. Check the output when you return, and keep important work committed and pushed.
For a second task, open another terminal session and use a separate worktree. Name sessions after their tasks so you know where to return.
Review, then ship through your normal workflow
Ask the agent to summarize its changes and show the tests it ran. Read the diff, try the relevant behavior, and open a pull request when you are satisfied. Workspace branch instructions give the agent guidance; your review and repository protections still matter.
The workspace is your development machine. Deploy the application to the hosting environment you use for production. If the project needs a managed database, Layerbase databases have a free tier with no credit card required. Buying a workspace is optional and does not change that.
Keep backups of anything you cannot recreate. Workspace billing renews monthly until you cancel, and stopping the machine does not pause it. Export files before paid access ends; workspace files may be permanently deleted afterward.
The next session is the payoff. Open the browser, return to your repository, and start with the next change. Your tools and project setup are already there.
Explore Workspaces, or follow the getting-started guide to set up your first one.
Keep reading
- Introducing Layerbase Workspaces: Your Coding Workspace, Ready in the BrowserYour repos, coding agents, and tools together in a browser workspace. Start a task, close the tab, and return to the same running development machine.
- GitHub Codespaces Alternatives for Persistent Development EnvironmentsCompare Layerbase Workspaces, Coder, Ona, and a DIY VPS by what persists, who operates the environment, and how you pay. Codespaces may still be the right choice.
- How to Run Claude Code on a VPS With Your Existing SubscriptionInstall Claude Code on a Layerbase Workspace, sign in with your own account, and run it in a persistent browser terminal. Keep machine costs and model billing separate.
- How to Run OpenAI Codex CLI on a Remote ServerRun the Codex CLI on a Linux server with your ChatGPT account. Sign in with a device code, clone your repo into a worktree, and come back to the same session later.