studio.v2.4.16

Your whole studio on one server.

One server, one script, one DNS record. Studio puts your team's Laravel projects in one place: each person's own Claude Code writes, plans and ships the code, and administrators decide, project by project, who sees and approves what. Previews, repositories, infrastructure, passwords and backups are all there too, and all you need is a browser.

Claude does the work. Your team decides. Human-in-the-loop, always.

What's new in 2.0

Studio becomes a place for the whole team. Administrators decide who sees what, project by project; each person works on a project with the role they have there; a project is a hub with its repository, its servers and its passwords next to the chat. The agent gets a browser and sandboxes, and Studio drives the clouds the servers run on. The full list is in CHANGELOG.md.

New in 2.4.6 to 2.4.16

Files on the SSH page
A session switches between Terminal and Files: the file manager of a project, on the server, over SFTP with your own key or password. See SSH terminal.
Doc and Db in the right pane
The README as a page, and the database client on your workspace's database, the project site's or the project's connections. The tabs read Doc, Preview, Git, Terminal, Files, Db. See The right pane.
Fewer switches, more room (2.4.7)
The terminal's Remote shows only on a project with SSH connections, as Db's does with database connections; in a short pane the Db client scrolls to the last row.
The Terminal after an update (2.4.8)
A workspace's shell no longer depends on the release its bridge started in: it opens even after an update removed that release.
Public addresses (2.4.9)
A project's own addresses, the team's, are always behind the login; its site can get a public address on a client's domain, public or behind the browser's sign-in, per project. See Settings → Server.
PHP with the October 2026 fixes (2.4.10)
PHP 8.3.36, 8.4.27 and 8.5.12 fix CVE-2026-109618 and CVE-2026-109619, remote code execution without authentication. The update brings every older PHP on the server to its newest package and restarts what runs on it, without waiting for the nightly server update. See The server itself.
PHP 8.5 by default, from sury.org (2.4.11)
Every server gets PHP 8.5, which runs Studio and which new projects start on; 8.4 and 8.3 are added from Administration → System when a project needs them. Every PHP comes from packages.sury.org, on Ubuntu 24.04 and 26.04 alike, and the fixes arrive as soon as they are published. See PHP versions.
Vite+ 1.3.0 (2.4.12)
The asset build moves to Vite+ 1.3.0, with Vitest 5.0.5, the release with the fix for Vitest 5's dev servers serving .env and keys. No server was exposed: earlier releases built with Vitest 4, and Studio runs no Vitest server.
Subscriptions on sury.org's PHP (2.4.13)
Adding or removing a Claude or Cursor subscription works again: PHP-FPM's own sandbox kept Studio's root helper from writing in /etc. A subscription the server cannot sign out now stays, with the reason, instead of an error page.
Uploads up to 512 MB (2.4.14)
The drive, the file managers and the imports of Databases take files up to 512 MB: an SQL dump of that size imports from your computer or your drive. See Databases.
SSH sessions that stay open (2.4.15)
Leave the SSH page for another one, or reload it: the terminals come back as they were, with what they wrote meanwhile, for half an hour. A database opens again on the table, filters and order you left. See SSH terminal.
A Cipi app's cipi.yml (2.4.16)
The app's cipi.yml tab shows what applying the file of the live release would change, applies it as a job with what it did, and turns auto-apply after every deploy on or off. Needs Cipi 5.6.4 and a token with yml-view and yml-manage. See A Cipi app in a project.
SSH groups (2.4.14)
The SSH page's connections go in groups of your own with a colour, as the databases', with a chip per group to show it alone and a search by name, host, project or group. See SSH terminal.

The team works in projects

A role per project
A person is an administrator, who sees and runs everything, or a member with a role on each project: a developer here may be the PM there and a client elsewhere. The chat, the presets, the MCP servers, the shared passwords, folders and SSH connections and the attached infrastructure all read it. See A role per project.
The project is a hub
Tabs on a row of their own under its header: Workspace, Repository (pull requests, issues, branches, pipelines and releases, with your own account), Infrastructure, Access and, for administrators, Settings, now a page of its own. See The project's tabs.
A key for every project
Studio makes it from the name and six random characters (api-9usaf9). It names the site, the previews, the Linux user and the databases, and never changes; the name is free, so two clients may both have an "API". See A project.
Home
An inbox across every project: conversations that ask something, failed or finished since you last looked; failed workspaces and sites; what waits on each git account. New people get the three steps that make Studio work for them. See Home & the menu.
Infrastructure attached to projects
A Droplet, a server, a zone, a Cipi app or a Boogle project goes into a project's Infrastructure tab, with the roles that see it, the roles that act on it and the actions they may run. Members never see the account behind it. See Attached to projects.
Navigation
The menu keeps its groups: Studio (Home, Projects), Infrastructure, Tools (Git, SSH terminal, Password manager, Drive) and Administration. See The menu.

Accounts and git

Settings → Accounts
Your Claude, Git and SSH keys in one page, three tabs. Add, check and remove your git accounts there, as many as you work with. See Your accounts.
Every git host, always
GitHub, GitLab, Bitbucket Cloud and Azure DevOps are all there for everyone, and a project may live on any of them. A workspace commits with your account on the host of its repository, with that account's name and email. See The git hosts.
Service accounts
The team's own tokens, in Administration → Connectors → Git hosting, create repositories, register webhooks and deploy the sites, and keep doing it when an administrator leaves. See Service accounts.
Tools → Git
One dashboard across all your git accounts: pull requests waiting for your review, issues, notifications, repositories with their branches, pipelines and releases. Review, merge, create. See Git.
Several Claude accounts
Subscriptions, each signed in with Claude Code's own claude auth login in your home on the server, and API keys, side by side; one is your default. The account goes with every message, so a change needs no restart. See Claude accounts.
Groups of projects
Your own groups (Personal, Work, Clients…), each with the Claude account and the git account its projects use; a project may pick others. See Groups of projects.

The agent sees, delegates and works apart

A browser for the agent
A headless Chromium on the server, signed in to the preview as you: Claude opens pages, takes screenshots, reads the console and the failed requests. See The agent's browser.
Screenshots in the chat
Images in tool results show as thumbnails under their call, full size on a click, served only to who may read the conversation.
Subagents as cards
Each subagent is a card with its status, steps, time, screenshots and report; those started together sit side by side. Studio adds code-reviewer and browser-qa. See Subagents.
Conversations in a sandbox
A git worktree of your workspace on its own branch, with a copy of the database and a preview of its own. Several run at once; merge the one you keep, or push its branch. See Sandboxes.
A more readable Changes tab
Each file with an icon for its kind, its name in the colour of what happened to it, and the lines it adds and removes. See Changes, history & branches.

Infrastructure

Connectors
AWS, DigitalOcean, Hetzner Cloud, Cloudflare, Cipi, Boogle, Hackly and Johnny, driven through their APIs, each with any number of accounts: servers, DNS, firewalls, volumes, databases, apps, deploys, exceptions and security findings. For administrators. See Connectors.
Safe by default
Credentials are checked against the provider and stored encrypted; the pages ask for the password again; every action is logged with who did it. Every connector starts off.

Upgrading from 1.1 needs nothing by hand. The update migrates: every membership keeps the role its person had, existing projects keep their keys and their hosts, and the Claude account and git token each person had become their first accounts in Settings → Accounts. It installs Playwright MCP and its Chromium, and gives every bridge its new variables (installer/upgrades/2.0.0.sh). Worth doing once it is live: add a service account and choose it in each project's Settings → General, then attach each project's servers and zones from the connectors' pages.

One server, one script

A fresh Ubuntu 24.04 or 26.04 VPS, a domain, an account on GitHub, GitLab, Bitbucket or Azure DevOps. The installer asks five questions and does the rest.

On the VPS, as root
  1. wget -qO- https://raw.githubusercontent.com/andreapollastri/studio/refs/heads/main/installer/install.sh | sudo bash
  1. The domain. You type it, for example dev.example.com. The script shows the one DNS record to create: *.dev.example.com → A → your server's IP.
  2. The check. It resolves a random name under the wildcard and studio.<domain> through a public resolver and waits until both point at the server. You can skip and fix DNS later; certificates are issued on demand when hosts resolve.
  3. The first administrator. Name and email. The password is generated: the summary shows it, with the dashboard's address and the email, in a yellow box before anything is installed, and again at the end. Save it then; nothing shows it later. Studio has no public sign-up and no social login: accounts are created here and in the dashboard, and people sign in with a password.
  4. Your git host. GitHub, GitLab (gitlab.com or your own), Bitbucket Cloud or Azure DevOps (with its organization): the host of your first token. It does not tie Studio to it: all four, the same forges Larapilot integrates with, are there for everyone, and a project may live on any of them. See The git hosts.
  5. Your token there. With the instructions on screen you create it; the script verifies it with the host and stores it as your first git account. It can create repositories and deploy project sites. Every other person adds their own later; the team's service accounts are added in the dashboard.

Then it installs the newest release of Studio, the latest published vX.Y.Z tag (the head of the main branch only while no release is published; the first release then replaces it), with what it needs: Caddy, PHP 8.5 (8.4 and 8.3 on request), Composer, Node, Claude Code, the CLI of your git host (gh, glab or the Azure CLI), MariaDB, PostgreSQL and redis. Ten minutes later:

Open the dashboard
  1. https://studio.<domain>

Sign in, turn on two-factor authentication, add your Claude account in Settings → Accounts. Add the team's service account in Administration → Connectors → Git hosting if you have one, create the first project in Administration → Projects, invite the team in Administration → People and give each person a role on it. From then on Studio updates itself every night to the newest release; see Updates.

Requires: Ubuntu 24.04 or 26.04 LTS (with sudo or Ubuntu 26.04's sudo-rs), amd64 or arm64, 4 GB of memory or more · a domain with a wildcard record · a git account per person on the host of their projects · a Claude subscription or an Anthropic API key per person who chats, each person's own · Laravel projects with Larapilot (Studio installs it, with Laravel Boost, in the repositories it creates). Running Claude Code for a team on your server is covered by Anthropic's Commercial Terms, which the operator of the installation accepts: see Anthropic's terms.

What it installs

installer/install.sh turns a bare Ubuntu into the whole thing, and the same steps (in installer/lib/system.sh) run again at every update, so a release can bring what it needs. What apt prints goes to /var/log/studio-install.log; when a package fails, the installer shows the end of it. Run on a server where Studio is installed, the script starts the updater instead of asking questions; after an installation that stopped halfway it starts again from the questions. Beta testers install the head of the main branch instead of the newest release, and keep following it (see Updates):

Beta testers only
  1. wget -qO- https://raw.githubusercontent.com/andreapollastri/studio/refs/heads/main/installer/install.sh | sudo STUDIO_CHANNEL=beta bash
PieceRole
CaddyHTTPS for every host under the domain, with certificates issued on demand: before issuing one, Caddy asks Studio whether the host is known. No DNS API token, no per-host certbot runs.
PHP 8.5From packages.sury.org, on Ubuntu 24.04 and 26.04 alike, with the usual extensions and PHP-FPM. It runs Studio, and new projects start on it; 8.4 and 8.3 are added from Administration → System (see PHP versions). Each project picks among those installed; a pool per site and per workspace runs as its own user. The versions come from the release's installer/requirements.env (PHP_VERSIONS for every server, PHP_OPTIONAL on request), so a later release can add one. sury.org is Ondřej Surý's repository, the same maintainer and packages as ppa:ondrej/php, but it publishes first: on the security release of 21 October 2026 it had the fixed builds while the PPA was still building them, and it served Ubuntu 26.04 before the PPA did. A server that had the PPA or Ubuntu's own PHP moves to sury.org on its next update, and its PHP packages with it. Only where neither sury.org nor the PPA serves the Ubuntu release does PHP come from Ubuntu's archive, which carries one PHP alone. The same file names the first patch of each branch with the security fixes Studio asks for (PHP_FIXED): an update brings an older PHP to its newest package and restarts what runs on it.
Composer, Node 22, Claude CodeWhat a Laravel project and the agent need. Claude Code is installed once, system-wide; each workspace runs it with its own login, and every update of Studio brings the newest one.
The git hosts' CLIsgh for GitHub, glab for GitLab, the Azure CLI with the azure-devops extension for Azure DevOps; nothing for Bitbucket, whose REST API Larapilot calls directly. The installer puts in the one of the first token's host; another is installed the first time a workspace on its host needs it. The agents open pull requests with it.
Playwright MCP, ChromiumThe agent's browser: Playwright MCP at the version pinned in installer/requirements.env, its headless Chromium in /usr/local/lib/studio/browsers, and an AppArmor profile so Chromium keeps its own sandbox on Ubuntu 24.04 and later.
MariaDB, PostgreSQL, redisEach project picks an engine; every site and every workspace gets a database and a user of its own. Redis is shared with a prefix per site.
StudioThe newest release tag (or, for beta testers, the head of main) in /opt/studio/releases/<build>, with /opt/studio/current pointing at it and the .env and storage shared in /opt/studio/shared; built, migrated, served at studio.<domain>; a queue worker, a scheduler and Reverb as systemd services.
studio-adminThe privileged helper in /usr/local/sbin: the only thing the studio user may run as root, through sudo, for a fixed list of commands. Everything on the server is done through it.
studio-updateThe updater in /usr/local/sbin, run by root: nightly by a systemd timer, on demand from Administration → System. See Updates.
studio-recoverRoot's tool in /usr/local/sbin, mode 0700: resets the main administrator from an SSH session when every account is locked out, and edits and reloads Studio's .env (outgoing email). Nothing in Studio calls it. See Locked out.
studio-domainRoot's tool in /usr/local/sbin, mode 0700: the domain's DNS, its move to another domain, and the certificates. See Domain & visibility.
ufw, fail2banPorts 22, 80 and 443 open; brute force on SSH banned.

Where things land

/opt/studio/ current → releases/<build> the live build of Studio releases/<build>/ the last three: v2.0.0, or main-1a2b3c4 on the beta channel; owned by the studio user shared/.env, shared/storage/ what every release shares /etc/studio/ studio.env the domain, paths, Studio's PHP, the repository, AUTO_UPDATE, UPDATE_CHANNEL, SYSTEM_UPDATE, SYSTEM_REBOOT; root only update-signers optional: SSH keys allowed to sign release tags projects/<key>.env the deploy token and database password of a site workspaces/<user>--<key>.env one person's tokens for one workspace, readable by their Linux user only templates/ Caddy, PHP-FPM and systemd templates the helper renders /srv/studio/projects/<key>/app a project site: user prj-<key> /srv/studio/workspaces/<user>/<key> a workspace: user ws-<user>, home /home/ws-<user> /srv/studio/workspaces/<user>/.sandboxes/<key>/c<id> a conversation's sandbox: a worktree of that workspace /usr/local/lib/studio/browsers the Chromium of the agent's browser /etc/caddy/sites/*.caddy one host matcher per site and per workspace /etc/php/<ver>/fpm/pool.d/studio-*.conf /etc/systemd/system/studio-*.service Studio's queue, Reverb and scheduler; a bridge per workspace; queue workers per site and preview (Horizon, Reverb, Pulse when on) /etc/cron.d/studio-* schedule:run every minute, per site and per preview /var/lib/studio-update/state.json the updater's state and last log, read by the System page /var/lib/studio-update/repo.git a blob-less mirror of the repository: tags, main and which commit contains which /var/backups/studio/ the database dump taken before each update (the last five) /var/log/studio-install.log what apt printed during the installation and the updates /var/log/studio-update.log every update, in full

DNS and certificates

One wildcard record is enough: *.<domain> → the server. When a browser asks for maria-shop.<domain> for the first time, Caddy calls http://127.0.0.1:8081/api/tls/ask?domain=…; Studio answers 200 for its own host, a project key or a workspace preview it knows, and Caddy issues the certificate. Any other name under the domain shows Studio's welcome page; it gets a certificate too, but only for a few new names a day (STUDIO_WELCOME_CERTIFICATES_PER_DAY, default 3), so that strangers typing random names cannot use up the Let's Encrypt limits the real hosts need. Past that, an unknown name gets no certificate at all.

Trying it on your Mac first?

Studio runs without the server pieces: the local driver points every workspace at one bridge on your machine, driving the claude you already use. composer setup, an admin, composer run dev, then the bridge inside any Laravel project with Larapilot. The demo seeder gives you an agency with five projects (two of them called "API"), four people with a role on each, and a live conversation. See Local development.

Five words

Everything in Studio is one of these.

Project

A Laravel repository with Larapilot installed, on any of the four git hosts, its deploy branch, the PHP version and database it needs, the staging site where the deploy branch runs, and the people on it, each with a role there: PM, developer or client. An administrator creates it and Studio gives it a key (shop-k2mx7p) that names its hosts and its place on the server. Its page has tabs for the workspace, the repository, the infrastructure and the access of the person's role, and for administrators its settings. Studio itself never commits to the repository: people and their agents do, with their own accounts.

Workspace

One clone per person × project on the server, under a Linux user of that person: the repository on the deploy branch, dependencies installed, a database of its own copied from the project site, Claude Code running with that person's credential, the bridge. Served at <user>-<key>.<domain>. A PM has one just like a developer: the skills that write the PRD or approve a story need a checkout to commit to.

Conversation

A Claude Code session inside the workspace, kept by Studio with its transcript and its session id, so it resumes days later with its memory. Several conversations can live in one workspace; each is a separate session. A conversation may also run in a sandbox: a copy of the workspace on its own branch, with its own database and preview.

Bridge

A small Node service inside the workspace. Studio sends it the person's message; it drives claude in stream-json mode, posts every event back to Studio, and holds a permission question until the person answers it. Zero dependencies, one process per conversation, released after an idle period.

Project site

The deploy branch, served by the same server at <key>.<domain>. Studio creates it when the project is created, registers a push webhook on its git host, and redeploys it on every push to the deploy branch. Its Larapilot dashboard is what the PM watches; its API feeds the Board; its database seeds new workspaces.

Where things live

PlaceWhat runs thereWhat is stored there
BrowserStudio's interface: Home, the projects with their tabs, the chat, and next to it the preview, the changes and the history, a terminal and an editor; the tools; the administrationNothing but the session cookie
The serverCaddy, Studio (Laravel 13 + Reverb), PHP-FPM pools, MariaDB and PostgreSQL, redis; one Linux user per person for their workspaces, one per project for its site; a bridge service per workspaceAccounts, projects, transcripts, permission decisions, encrypted tokens; the clones, the databases, each person's Claude login in their home
OutsideThe git hosts: GitHub, GitLab, Bitbucket Cloud and Azure DevOps (repositories, pull requests, the push webhook); Anthropic (Claude Code with each person's subscription or key); the clouds and services of the connectorsCode, the tokens each person created, the servers

A request, from words to a pull request

Maria is the PM of Shop Acme. Here is one afternoon, screen by screen.

Maria's Projects page: a card per project with her role there and the state of her workspace
Projects. Maria sees the projects she is on, her role on each and the state of her workspace there. Opening one creates the workspace the first time, a clone and a build in about two minutes; after that it is a click.
The chat with Maria's request and Claude's answer: a story written and planned
Ask in plain words. "The client wants to filter orders by date range. Can we have it by Friday?" Claude reads the PRD and the backlog through the Larapilot skills, writes story US-014, plans it, and answers with an estimate. The commands it ran are folded into one row each; Details opens them.
A permission card asking to run php artisan migrate:fresh --seed, with Allow, Always allow and Deny buttons, the preview of the branch on the right
Approve what matters. Implementation starts on a branch. Tests, linters and the asset build run on their own; before wiping the workspace database, Claude asks. Allow lets it run once, Always allow for good on this project; the preview on the right shows the new filter on her own branch.
The Git tab showing the branch, modified files and the diff
See the change. The Git tab reads the working tree of the workspace: branch, files, diff. Its History and Branches views show the commit graph; the Files tab opens the same files in an editor.

When the story is reviewed and merged on the deploy branch, the git host calls Studio's webhook and the project site at shop-acme.<domain> pulls, builds and migrates. Its Larapilot dashboard at /larapilot shows the backlog as it is now, to the people of the project once they are logged in to Studio.

What happened underneath

One message
browser→ Studio→ bridge→ claude -p --output-format stream-json

Studio records the message, marks the conversation as working, and hands the text to the bridge of that workspace together with the address and token to call back. The bridge writes one line on the agent's stdin.

Every event
claude→ bridge→ POST /api/bridge/events→ Reverb→ browser

Text, tool calls, results and permission questions come back as small batches. Studio stores them and broadcasts them to the open chat: the text as it is typed grows in the browser, a stored event asks the page for one refresh. Without a websocket the page polls instead.

Maria — The client wants to filter orders by date range in the back office. Can we have it by Friday?

Claude — Yes. There is no story for this yet, so I'm adding it as a product request and planning it. US-014 · Date range filter on the orders list. Two tasks, half a day.

Maria — Perfect, go ahead.

Claude — Working on feature/US-014-date-filter. Before rebuilding the assets for the preview I'm asking you: Allow / Deny.

Four roles, one interface

A role decides whether a person can chat on a project and how much Claude may do before asking. An administrator is one everywhere; everyone else has a role per project.

RoleCanPermission preset
AdministratorEverything, on every project, without being a member: the projects and their Settings tab, members and roles, people, service accounts; a workspace on every project; the infrastructure connectors, whose pages no other role seesacceptEdits
PMOn the projects where they are PM: chat, approve; preview, changes and history, terminal and files of their own workspace; the Repository tab; what is shared with the project's PMsdefault: Claude asks before edits and before commands it may not run on its own
DeveloperThe same as a PM, with the developer's preset: implement, test, open pull requests; and the project's SSH connectionsacceptEdits: edits run, commands still ask
ClientLook: the project site as preview, its Larapilot dashboard, and what is shared with the project's clients in its Access and Infrastructure tabs; no chat, no workspace, no repository—

A role per project

A person is either an administrator, who sees and runs everything on every project, or a member, whose role is the project's: a developer on one project may be the PM of another and a client on a third. An administrator sets it in the project's Settings → Members & roles, or in the form of a new project. The role on the person (Administration → People, column Access) says only Administrator or Member · <role> by default: the role a new membership starts with. Changing it leaves the roles on each project as they are.

Luca's Projects page: project cards, Developer on Shop Acme and PM on Loyalty
One person, several roles. Luca's projects: he develops Shop Acme, Supplier Portal and the two APIs, and he is the PM of Loyalty. Each card says his role there, and the chat, the presets and the tabs follow it.

Everything that belongs to a project reads the role on that project:

  • the chat and the workspace, for PMs and developers, and the project's Repository tab with them;
  • the permission preset a new conversation starts with, and the modes it may switch to;
  • the project's MCP servers, given by role;
  • passwords, drive folders and SSH connections shared with the project by role;
  • the infrastructure attached to the project: who sees it and who acts on it.

The SSH terminal opens to administrators, to developers by default, and to whoever is a developer on at least one project; a project's SSH connections open only to its developers. A change of role counts from the person's next click. Memberships from before roles were per project kept the role their person had.

Presets map to Claude Code's --permission-mode and are set per role in config/studio.php. A conversation starts with the preset of the person's role on the project; Model & mode switches it among the modes that role may use (all four for administrators, PMs and developers). Larapilot's skills and the repository's own are typed as slash commands; see Skills & Claude's questions.

One Claude per person. Every conversation drives the Claude Code signed in with that person's own plan or key, inside that person's workspace, billed to that person. Studio never holds a shared Anthropic account behind the interface, and a subscription is never shared between people: that is what Anthropic's terms require and what keeps usage and cost attributable.

The git hosts

Projects live on GitHub, GitLab, Bitbucket Cloud or Azure DevOps, the same remote forges Larapilot integrates with. All four are always there: a project's repository may live on any of them, and a team on several at once. Every person adds their own accounts in Settings → Accounts → Git, as many as they work with (see Git accounts); administrators add the team's service accounts.

ProviderRepositoriesA new one goes toThe agent's toolsPush webhook
GitHubhttps://github.com/owner/repoYour account or an organizationgh, with GH_TOKENRepository webhook, HMAC signature
GitLabhttps://gitlab.com/group/sub/repo, or your own GitLabYour namespace or a group / subgroupglab, with GITLAB_TOKEN (and GITLAB_HOST when self-managed)Project hook on the deploy branch, secret token
Bitbucket Cloudhttps://bitbucket.org/workspace/repoA workspace, or one of its projectsLarapilot's REST client, with BITBUCKET_ACCESS_TOKEN; no CLIRepository webhook on repo:push, HMAC signature
Azure DevOpshttps://dev.azure.com/org/project/_git/repoA project of the organizationaz repos (Azure CLI + azure-devops), with AZURE_DEVOPS_EXT_PATService hook on git.push, secret header

The installer asks for the host of the first administrator's token, with the address of a self-managed GitLab or the Azure DevOps organization, checks the token there (it becomes their first account) and installs that host's CLI; the CLI of another host is installed the first time a workspace on it needs it. In every workspace the token of the person's account on the repository's host is in the environment three ways: for git, through the askpass helper and with the user name the provider expects (x-access-token, oauth2, x-bitbucket-api-token-auth); for the CLI; and for Larapilot's integration. A repository Studio creates gets that integration turned on in its first commit (larapilot:settings-set --gitlab=YES and so on); in an existing repository the team turns it on once and commits .larapilot/config.yaml.

Service accounts

A project site is cloned, given its push webhook and deployed with one git account. An administrator's own token works, but it goes when they leave. In Administration → Connectors → Git hosting administrators keep the team's own tokens instead: a bot user, a project or group access token. Service accounts create repositories, register the webhooks and deploy the sites, whoever the administrator is. They are offered first in the new-project form and in the project's Settings → General → Deployed with. Nobody commits with them: people work with their own accounts. A service account that deploys projects cannot be removed until those projects use another one. Its token needs the administrators' scopes below.

GitHub

Organizations. A new repository goes to your account or to an organization you belong to; the form lists the organizations your token can see, and creating a repository there needs the right to do so in that organization. Organizations that restrict fine-grained tokens approve them in Organization settings → Personal access tokens. With SAML single sign-on, a classic token must be authorized for the organization (Configure SSO next to the token).

  1. Where. GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token.
  2. Resource owner. The organization that owns the projects, or your account. A fine-grained token reaches one owner: when projects live in several organizations, use a classic token with repo, read:org and admin:repo_hook.
  3. Repository access. The repositories of the projects, or all of them; administrators who create repositories need all of them.
  4. Permissions, everyone. Contents read and write, Pull requests read and write, Metadata read.
  5. Permissions, administrators. Also Administration read and write (new repositories) and Webhooks read and write (the deploy webhook).

GitLab

Groups. A new repository goes to your personal namespace or to a group or subgroup where you are at least Developer and the group lets that role create projects; the form lists those groups by their full path. A self-managed GitLab is the address given with the account (https://git.example.com; the installer's STUDIO_GIT_URL for the first administrator's), and the agent's glab gets it as GITLAB_HOST. Registering the deploy webhook needs the Maintainer role on the repository.

  1. Where. On your GitLab: avatar → Edit profile → Access tokens → Add new token.
  2. Scope. api: clone and push, merge requests through glab and Larapilot, and for administrators the new repositories and the webhook. read_repository and write_repository alone let git work, not merge requests.
  3. Expiration. GitLab asks for a date. Replace the token in Studio before it expires.
  4. Copy it into Settings → Accounts → Git → Add an account → GitLab. It starts with glpat-.

Bitbucket Cloud

Workspaces and projects. A Bitbucket repository belongs to a workspace and to one of its projects. The form lists the workspaces you belong to and their projects: a workspace alone puts the repository in its oldest project, a project puts it there. Creating repositories needs a workspace role that allows it; registering the webhook needs admin rights on the repository.

  1. Where. id.atlassian.com → Account settings → Security → Create and manage API tokens → Create API token with scopes → Bitbucket. API tokens replace app passwords: git signs in with the token as x-bitbucket-api-token-auth, the REST API with the token as a bearer.
  2. Scopes, everyone. read:user, read:workspace, read:repository, write:repository, read:pullrequest, write:pullrequest (each ends in :bitbucket).
  3. Scopes, administrators. Also read:project, admin:repository (new repositories), read:webhook, write:webhook and delete:webhook (the deploy webhook).
  4. Expiration. Up to a year. Replace the token in Studio before it expires.

Azure DevOps

Organization and projects. An Azure DevOps account belongs to one organization, given with the account (https://dev.azure.com/acme; acme.visualstudio.com addresses work too; the installer's STUDIO_GIT_URL for the first administrator's). Another organization is another account. Repositories live in the organization's projects: the form lists them, and a new repository follows the visibility of its project. A project's address must be in the organization of the account that creates or deploys it. Creating repositories needs the Create repository permission on the project; registering the push service hook needs Project Administrator.

  1. Where. https://dev.azure.com/<organization> → User settings → Personal access tokens → New Token.
  2. Organization. This Studio's, or all accessible organizations.
  3. Scopes, everyone. Custom defined → Code → Read & write.
  4. Scopes, administrators. Code → Read, write & manage, and Project and Team → Read.
  5. Expiration. At most a year, or less when the organization's policy says so.

The login on Azure DevOps is the account's e-mail address; the handle is its first part (maria.rossi@acme.com → maria-rossi).

A project

New project in Administration → Projects. Saving it gives the project its key, clones the repository, creates its database, serves it at <key>.<domain> and registers the push webhook on the git host that redeploys it on every push. Everything else about it is on its own Settings tab.

Administration → Projects: each project with its name and key, repository and deploy account badge, site status and team; two projects named API with different keys
Administration → Projects. Every project with its name and key (the two called "API" are told apart by theirs), its repository and stack, the account that deploys it (service · Agency deploy bot in green, a person's own token in amber), the site's state and last deployed commit, and how many members and attached resources it has. Deploy redeploys by hand; the webhook does it on push. Settings opens the project's Settings tab.
The New project form: name with the note on the generated key, git account select with the service account first, repository, deploy branch, PHP, database, members and their roles
New project. A name, the git account that deploys it (the team's service accounts first, then yours), the repository, branch and stack, and each person's role on it. There is no key to type: the form says how Studio makes one.
FieldUsed for
NameWhat people read. Free text: two projects may share it, such as an "API" for two clients.
KeyNot a field: Studio makes it from the name, cut short, a dash and six random characters without 0, o, 1, l or i (api-9usaf9). It names the site (api-9usaf9.<domain>), the previews (maria-api-9usaf9.<domain>), the Linux user, the databases and the folders, and never changes. Projects from before 2.0 keep the key they had.
Git accountThe account that creates or reads the repository, registers the push webhook and deploys the site, on any host: a service account of the team, offered first, or one of yours.
RepositoryAn existing one, or Create it now (below). The HTTPS address of a repository on the host of the chosen account: https://github.com/owner/repo, https://gitlab.com/group/repo (or your GitLab), https://bitbucket.org/workspace/repo, https://dev.azure.com/org/project/_git/repo. Cloned with that account for the site, with each member's own account on that host for their workspace.
Deploy branchWhat the site runs and what workspaces start from. A push to it deploys the site.
PHP, DatabaseA PHP version installed on the server: 8.5, which new projects start on, or 8.4 and 8.3 where an administrator added them and MariaDB or PostgreSQL, for the site and for every workspace of the project.
Members & rolesFor each person, Not on the project or their role on it: PM, developer or client. Administrators see every project without being members.

The rest is on the project's own Settings tab, for administrators (p/<key>/settings; Settings in the list leads there). Name, repository, the account it is deployed with, branch and stack, members and roles, server, access, agent and MCP servers are changed there; see Project settings.

Or let Studio create the repository

The New project form with Create it now selected: owner, repository name and private, under the git account
Create it now. Pick where it goes, a name and whether it is private. Studio creates the empty repository on the git host with the account chosen; the server installs the latest Laravel, Laravel Boost and Larapilot, commits, pushes the deploy branch, then provisions the site as for any other project.

Where a new repository can go depends on the host: the account or one of its organizations on GitHub, its namespace or a group on GitLab, a workspace or one of its projects on Bitbucket, a project of the organization on Azure DevOps. The chosen account's token needs the right to create repositories there; the scopes are in The git hosts. What lands in the new repository: composer create-project laravel/laravel at its current release; laravel/boost and andreapollastri/larapilot as dev dependencies, with larapilot:install and boost:install run (Boost is always there: if its install fails, the project stops with the reason instead of going on without it), Larapilot listed in boost.json and boost:update run so its /larapilot-* skills and guidelines are published in .claude/skills and CLAUDE.md; Larapilot's integration for the host turned on in .larapilot/config.yaml; and one commit on the deploy branch (plus main when the deploy branch is another name).

What an existing repository must have

  • Larapilot installed and larapilot:install run, so the skills, the .larapilot/ workspace, the dashboard and the API exist; Larapilot brings Laravel Boost with it, and boost:install gives the agent Boost's guidelines and MCP server. Boost publishes a package's skills only when boost.json lists it under "packages": with andreapollastri/larapilot there and boost:update run, the /larapilot-* skills land in .claude/skills; commit them. Without Larapilot the site still deploys, but there is no dashboard and the chat has no skills to call.
  • A .env.example. The server copies it and sets the application URL, the database, redis and the Larapilot API token; everything else you put there is kept.
  • Optionally a .mcp.json at the root for MCP servers every workspace should have, with secrets as ${ENV} references, and custom skills under .larapilot/skills/.

People

Accounts are created by an administrator and used with a password. No public sign-up, no single sign-on.

Administration → People: name, email, access selector, git and Claude badges, projects with their roles
Administration → People. Access is a dropdown: Administrator, or Member · <role> by default. Projects lists each project with the person's role there; a click opens its Members & roles. The badges say who has added git and Claude accounts and who turned on two-factor authentication.
The New user dialog: name, email, access and an optional handle
New user. Name, email and access; the handle is optional and comes from the login of their first git account, or their email.
  1. Create the account. Name, email, access: Administrator, or Member with the role their memberships start with (see Roles). Studio shows a one-time initial password; share it once, it is never shown again.
  2. They sign in with email and password, change it, and turn on two-factor in Settings → Security: an authenticator app or a passkey.
  3. They add their accounts: git and Claude in Settings → Accounts (My accounts in the user menu). Until there is an account on the host of a project's repository and a Claude account, the project opens on a page that says so instead of a chat. Their Home lists what is missing.
  4. They get on projects. An administrator puts them on a project, with their role there, in the project's Settings → Members & roles or when creating it. Studio shows the projects they are on; the first open builds the workspace.
The login page: email, password, the invite-only notice
Sign in. Email and password, nothing else.

Your accounts

Each person brings their own accounts, as many as they work with, stored encrypted and handed only to their own workspaces. Settings → Accounts (My accounts in the user menu; the old address settings/connections redirects there) has three tabs: Claude, Git and SSH keys. Groups of projects say which accounts each project uses.

Claude accounts

Settings → Accounts, Claude tab: subscriptions and an API key, one marked default, with their state
Settings → Accounts → Claude. Every subscription and API key, which one is the default, and whether each is signed in.

Subscriptions and API keys, side by side; one is your default. For a Claude Pro, Max or Team plan, Add a Claude account → Subscription opens a terminal with Claude Code's own claude auth login, running as you in your home on the server, in a folder of its own for that account (~/.claude for the first, ~/.claude-<name> for the others; they share your sessions, agents and skills). Open Anthropic's sign-in page, approve with the Claude account of that plan, and paste the code into the terminal, where Claude Code waits for it: Studio is the terminal and nothing more, it has no field of its own for the code and never sees or keeps the login. Anthropic does not let a platform collect, store or forward claude.ai credentials, which is why Studio takes no setup-token; signing in to the unmodified Claude Code where a platform hosts it is what its terms allow. With an Anthropic Console account, add the API key: Studio keeps it encrypted and sends it with each message of the projects that use it. The login folders and the kept keys are denied to the agent itself.

The account goes with every message: changing it needs no restart, and a conversation resumes where it was on the new account. The status bar of the chat says which account the next message runs on and why; a subscription shows its plan's usage, as Claude Code itself reports it, kept per account.

Anthropic's terms

Studio runs the unmodified Claude Code that Anthropic publishes, and nothing stands between the person, that binary and Anthropic: the way Anthropic's Legal and compliance page allows Claude Code on a hosted platform. What that asks of everyone involved:

  • Whoever runs a Studio for a team accepts Anthropic's Commercial Terms of Service. Preinstalling or running Claude Code in a product or service of yours, hosted sandboxes included, is covered by them. The author of Studio is not a party to it: the operator of each installation is.
  • Each person authenticates with their own credentials, and their use is billed to them: a subscription signed in to Claude Code in their own home, or an API key of their own Console account (or one their organisation's Console hands them). Studio never pays for, resells or brokers Claude on anyone's behalf: it holds no subscription, accepts no setup-token, and keeps a key only to hand it to that person's own Claude Code.
  • A subscription is personal. One Pro or Max plan used by several people through Studio would be both brokering and a breach of Anthropic's consumer terms. For a team, a Claude Team or Enterprise plan (a seat per person) or API keys are the natural choice; the limits of Pro and Max assume ordinary individual use, and parallel sandboxes, subagents and autopilot spend them fast.
  • Nothing in Claude Code is modified or restricted. Both of its sign-in methods stay available, the server updates it from npm as Anthropic publishes it, and the login in every ~/.claude* folder is read by the CLI alone: denied to the agent, never read, copied or logged by Studio, its bridge or its helper. Studio asks the CLI (claude auth status) whether someone is signed in, and that is all it knows.
  • Studio is an independent project, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic, PBC, named here to say what Studio runs.

This is not legal advice: for an installation others will use, read the page above and, in doubt, ask Anthropic.

Git accounts

Settings → Accounts, Git tab: git accounts with their host, login and commit identity
Settings → Accounts → Git. Each account with its host, its login, the name and email its commits carry, and the state of its token.

Add an account: the host (GitHub, GitLab, Bitbucket Cloud or Azure DevOps), a name and the token, with the scopes in The git hosts (and the address of a self-managed GitLab or of the Azure DevOps organization). Checked, edited and removed there too; Tools → Git opens them all in one dashboard. Add as many as you work with: a personal GitHub, the company's Azure DevOps organization, a client's self-managed GitLab, another GitHub for work. Each one keeps its token and the identity its commits carry: the name and email the provider gives (or the address it accepts for commits), which you can change, so the company account commits as you@company.com and the personal one with your own address. Studio verifies the token and reads the login; the first account's login also gives your handle, once: your previews are <handle>-<key>.<domain> and your Linux user on the server is ws-<handle>, whatever accounts come and go.

A workspace works with your account on the host of the project's repository: the one chosen for the project, else the one of its group, else your account on that host. Git pushes and the host's CLI opens pull requests as that account, and the clone's git config user.name / user.email is its identity. The CLI of a host is installed on the server the first time a workspace needs it. The token never sits in a file git can read: an askpass helper hands it to git from the environment, with the user name the host expects.

SSH keys

Settings → Accounts, SSH keys tab: keys with their type and public half
Settings → Accounts → SSH keys. Your keys, with the public half to copy to a server.

The keys the SSH terminal opens your connections with, and those of the projects where you are a developer. New key generates an Ed25519 or RSA key, or imports one you already use; the public half is there to copy to the server. Removing a key asks first, and says how many connections use it. Keys are stored encrypted and reach only the SSH gateway.

Groups of projects

On Projects, New group: Personal, Open source, Work, Clients… Each person's groups are their own, in the order they give them; a project moves in with Move to group in its menu. A group picks the Claude account its projects run on and the git account they push with; a git account applies only to the projects whose repository lives on its host, the others keep the account on theirs. A project may pick its own accounts (Accounts for this project), only for you: the other members work on it with theirs. Every card shows what the project runs on, and why (chosen for the project, from the group, your default, your account on that host).

Changing a git account (its token, or which one a project or group uses) restarts the bridge of the workspaces it moves, and only those; a running conversation picks up where it was. Removing an account stops what depends on it: no account on a project's host, no workspace there; no Claude account, no chat.

The project site

<key>.<domain> is the deploy branch, running on the same server. It is the project's staging, its dashboard and the source of every workspace's data.

  1. Creation. When the project is saved, the helper creates a Linux user, clones the deploy branch with the account that deploys it (a service account or an administrator's token), creates the database, writes the .env with APP_ENV=staging and a fresh LARAPILOT_API_TOKEN, runs Composer (dev dependencies included: the site is a staging environment, and Larapilot and Boost are dev dependencies whose dashboard and API it serves), npm, migrations, a PHP-FPM pool, a Caddy host and a queue worker. Studio registers a push webhook on the repository.
  2. Every push to the deploy branch reaches /api/git/webhook/<key> with the project's secret: an HMAC signature from GitHub and Bitbucket, the secret token in a header from GitLab and Azure DevOps. Studio queues a deploy: fetch, reset to the branch, build, migrate, restart the worker. Deploy in Administration → Projects does the same by hand.
  3. The Larapilot dashboard is /larapilot on that host, behind the Studio login like every other address of the project. The PM's bookmark.
  4. New workspaces copy the site's database (a dump and a restore, MariaDB or PostgreSQL), so a person starts from realistic data. Without a site database, migrations run instead.
A client's view of the project: no chat, the project site as preview
A client's view. No workspace, no chat: the project site in the preview pane.

Deploys are a reset to the branch and a rebuild in place, not atomic releases: a failed migration leaves the site on the previous code, a failed build may leave it mid-way for a moment. It is a staging site, kept simple on purpose. For production use the pipeline your project already has.

Project settings

What the project is, who works on it and as what, what the server runs for it, who may open its hosts, what the agent gets and which MCP servers its chats get. The Settings tab of a project, for administrators (p/<key>/settings; Settings in Administration → Projects leads there), has six sections: General, Members & roles, Server, Who opens the hosts, Agent and MCP servers. Each saves on its own. Server, Who opens the hosts and Agent are applied to the site and to every workspace preview; MCP servers are saved one by one (see MCP servers).

General

The General section of a project's Settings tab: the key, name, repository, the Deployed with account, branch, PHP and database
Settings → General. The six sections on the left, under the project's key; Deployed with picks the account that deploys the site.

The name, the repository's address, the account it is Deployed with (a service account, or an administrator's own token on the repository's host), the deploy branch, PHP and the database. The address must be on the host of the deploying account. The key is shown, not edited: it never changes.

Members & roles

The Members & roles section: each person with a role select, Not on the project, PM, Developer or Client
Settings → Members & roles. One select per person: not on the project, or their role on it.

Every person who is not an administrator, with Not on the project or their role on it: PM, developer or client. Administrators are listed as on every project. A role counts from the person's next click; what it opens is in Roles. Administration → People lists each person's projects with their role, and a click there opens this section.

Server

The Server section: the addresses of the site and the previews, scheduler, queues, Horizon, Reverb, Pulse and the timezone
Settings → Server. What runs next to the app, on the site and on every preview.
Addresses
The team's, always under Studio's domain and behind the login: the site at <key>.<domain>, the previews and sandboxes at <person>-<key>.<domain>. Besides them, optionally, a public address for the site on a client's domain that points here (project-a.client.com), public or not public for this project alone. Public, anybody opens it with no sign-in, from the addresses listed in Who opens the hosts; it runs with APP_ENV=staging and APP_DEBUG=false, so /larapilot asks for a Larapilot user of its own. Not public, the browser asks for the email and password of a Studio account on the project (basic authentication): no Studio page on the client's domain.
Scheduler
A cron line runs php artisan schedule:run every minute as the host's own Linux user. On by default, for the site and for every preview.
Queues
One queue:work worker per queue name, as a systemd unit that restarts on failure and on every deploy. default is on from the start; add mail, exports and two more workers appear.
Horizon
php artisan horizon in place of the plain workers: Horizon reads the queues from config/horizon.php and supervises them itself. The app must have laravel/horizon.
Reverb
Runs php artisan reverb:start on a loopback port of its own and proxies /app and /apps of the host to it. The helper writes the REVERB_* keys into the app's .env once; the app itself must have laravel/reverb installed.
Pulse
php artisan pulse:check, so the Pulse dashboard of the app shows the server's CPU, memory and disk. The app must have laravel/pulse.
Timezone
One per project, UTC by default: APP_TIMEZONE in the .env of the site and of every preview (the cached configuration is rebuilt), and TZ in the workspaces, so Claude and the terminal see the same clock from the next start of each workspace. Laravel reads it when config/app.php has 'timezone' => env('APP_TIMEZONE', 'UTC'): projects Studio creates have it, an existing repository needs that line.
HTTPS
Nothing to switch on: Caddy issues a certificate for every host the first time it is opened, the deploy site and each workspace preview alike (see The server).

Who opens the hosts

The Who opens the hosts section: address lists for the site and for the previews, and branch overrides
Settings → Who opens the hosts. The Studio login and the project, except the public address, open when public and behind the browser's sign-in when not; address lists narrow every one, per site, previews and branch.

Every address of a project is behind the Studio login: the site, its /larapilot dashboard and API, each workspace preview, any path. The visitor must be logged in to Studio and assigned to the project, in any role (developer, PM, client), or be an administrator; anyone else is sent to the Studio login page and comes back after it, and a logged-in person who is not on the project gets a 403. That is the default, and the right one: a preview runs with APP_DEBUG on, a site with work not yet released.

For the client and the open internet, a project gets a public address on a client's domain (Settings → Server → Addresses), public or not public:

  • Public: the site opens there to anyone, with no sign-in, as a real public website, and never shows a debug page (APP_ENV=staging, APP_DEBUG=false). In staging Larapilot's /larapilot asks for a Larapilot user of its own, so Studio adds nothing there.
  • Not public: the browser's own sign-in box (basic authentication) asks for the email and password of a Studio account that is on the project, or of an administrator: no Studio page ever shows on the client's domain. Five wrong tries a minute lock an account from an address, and every refusal goes to the security log, where fail2ban bans the address, as for the login form. Caddy drops the credentials before the app, which never sees a Studio password; a checked pair is remembered for ten minutes, so the pictures of a page do not each check the password again. Two-factor authentication is not asked there: the browser's box has no room for it.

Studio's own addresses of the project, the team's (the site's <key>.<domain>, every preview and sandbox), keep the Studio login whatever happens. On one client's domain each project is public or not on its own: project-a.client.com public, project-b.client.com not public, progetto-bello-c.client.com public.

Only from
An address list for the site, one for the previews: one IP or CIDR per line. It narrows the sign-in, it never replaces it: from a listed address the visitor still signs in (or walks in, at a public address that is public), from any other nobody gets in, at the team's address and at the public address alike. Empty means from anywhere.
Branch overrides
A list for feature/secret replaces the site's list while that is the deploy branch, and the previews' list for every workspace that is on that branch. Studio remembers each workspace's branch from its Git tab.

How it works: the Caddyfile puts a forward_auth to Studio's /api/site-auth in front of every host that is not Studio's own, so no project host is ever served without it, whatever its own file says. Studio answers 204 (go on), a redirect to its login, or 403. Machines are no exception: a webhook or an end-to-end test aimed at a project host gets the login page too.

Studio's own session cookie never reaches a project host: the apps there run code the team writes, and must not see a cookie that opens Studio. A visitor without a pass is sent to studio.<domain>, logs in there if needed, and comes back with a one-time token valid for two minutes. The gatekeeper swaps it for a pass cookie bound to that host alone, good for twelve hours; it is useless on any other host and in Studio.

Agent

What the agent gets in this project. Both switches are on by default.

Browser for the agent
Every chat gets a headless Chromium signed in to the preview as the person, through the same access rules. See The agent's browser.
Conversations in a sandbox
A conversation may work in a git worktree of the person's workspace, with its own branch, database and preview. Sandboxes per person caps how many each person keeps at once (3 by default, up to 10): each is a database, a build and a few hundred MB on disk. See Sandboxes.

MCP servers

Give the chats of a project more tools: the project's documentation, error tracking, a CRM, an internal API. Any remote MCP server works; Studio does not care whose it is.

The MCP servers section of a project's Settings tab: two servers with their URL, roles and last test, and the form to edit one
MCP servers. Each with its URL, who gets it, its header and the answer of the last test.
Add one
Settings → MCP servers on the project: a name (it becomes part of the tool names, mcp__docs__search), the URL of the server, and usually one header such as Authorization: Bearer …. The value is stored encrypted and never shown again; editing without typing a new value keeps it.
Who gets it
Tick the roles, as people have them on this project. A PM can have the documentation server while only administrators and developers get the one that reads production errors. Clients get nothing unless you tick them.
Test
Studio makes the initialize call Claude Code would make, with the header, and keeps the answer: ok with the server's name and version, a refused header, a wrong URL.
In the chat
Each person's chat gets the enabled servers their role on the project may use, from the next message on; Model & mode lists them. Their tools ask for permission like any other tool, unless the mode lets them through. Turn off takes a server out of every chat without forgetting it.

Remote here, commands in the repository

Studio only adds remote servers (the streamable HTTP transport). A server that runs as a command belongs in the repository's .mcp.json: Claude Code loads it in every workspace, as the person's own Linux user, with secrets as ${ENV} references. Both kinds end up in the same chat.

The bridge hands Studio's servers to Claude Code through a file only the workspace user can read, never on the command line, so a token does not show in the server's process list. It accepts nothing but {"type": "http", "url"} entries from Studio.

Email

Studio sends little email: the Forgot your password? link, and that is about it. The installer does not ask for a mail account, so a fresh server writes its messages to a log file instead of sending them, and the pages say so. Ten minutes with any provider's SMTP credentials turn it on.

What works without it

Accounts are created by an administrator, who hands over the first password in person; a person who forgets theirs asks an administrator, who gives them a new one from Administration → People (the key icon: the old sessions close, 2FA is removed, the new password shows once). Until email is set up, the Forgot your password? page explains exactly that instead of promising a link. Whoever holds root has studio-recover admin for the administrators themselves.

Turning it on

Studio's settings live in one file, /opt/studio/shared/.env, shared by every release so an update never touches it. It is owned by the studio user and readable by nobody else; root edits it over SSH. Studio does not read the file on each request but a cache built from it, so a change is live only after a reload, and studio-recover does both in one go:

On the server, as root
  1. studio-recover env # opens the .env in $EDITOR (nano), reloads on save
  2. studio-recover reload # after editing the file with anything else

The file already carries the block to fill in. Set MAIL_MAILER to smtp, uncomment the host, port, scheme and credentials, and keep a sender address at your domain (most providers want the domain verified on their side first):

MAIL_MAILER=smtp
MAIL_FROM_ADDRESS=studio@agency.test
MAIL_FROM_NAME="Studio"
MAIL_HOST=smtp.resend.com
MAIL_PORT=587
MAIL_SCHEME=smtp
MAIL_USERNAME=resend
MAIL_PASSWORD=re_xxxxxxxxxxxxxxxxxxxxxxxx

MAIL_SCHEME is smtp for a STARTTLS port (587, 2525) and smtps for an implicit-TLS port (465). Where to find the values with the usual providers:

ProviderHost · portUsernamePassword
Resendsmtp.resend.com · 587 or 465resendan API key
Postmarksmtp.postmarkapp.com · 587the server tokenthe same server token
SendGridsmtp.sendgrid.net · 587apikeyan API key
Mailgunsmtp.mailgun.org · 587 (smtp.eu.mailgun.org in the EU)postmaster@<your domain>the SMTP password of that domain
Amazon SESemail-smtp.<region>.amazonaws.com · 587SMTP credentials made in the SES console (not the IAM access key itself)
Brevosmtp-relay.brevo.com · 587the account loginan SMTP key
Google Workspacesmtp.gmail.com · 587the mailboxan app password (2-step verification on)
Your own serverits host · 587 or 465a mailbox allowed to relay

Studio ships with the SMTP transport alone: a provider's HTTP API (Resend's, Postmark's, SES's) needs a package the release does not carry, and every one of them offers SMTP, so there is nothing to install. Any other line of the file is Studio's own business; the ones you may want are the MAIL_* block and, for a different interface language, APP_LOCALE (en or it).

Checking it

Log out, open Forgot your password?: once email is configured the form is there. Send yourself a link; it should arrive within a minute. If it does not, the reason is in /opt/studio/shared/storage/logs/ (the newest laravel-*.log): a refused login, a blocked port, a sender the provider does not know. Fix the line, studio-recover reload, try again. To go back to not sending, MAIL_MAILER=log and a reload.

Updates

Studio keeps itself up to date. studio-update, run by root, installs every new build of its channel together with what it needs on the server: a new PHP, a newer Node, a package, a git host's CLI, a changed service. The stable channel follows the release tags; beta testers follow the main branch.

Administration → System: installed and newest release, Check now, Force update and Update buttons, the nightly switch, the channel, the last update with its log, the server's update and its PHP versions: 8.5 the default, 8.4 installed, 8.3 with Install
Administration → System. The installed build and the newest one, Check now, Force update and Update to, the nightly switch, the channel, the last run with its log, the server's own update and its PHP versions. While an update runs the page follows it live, through the maintenance of the switch, and reloads onto the new release when it is done.

PHP versions

Every server gets PHP 8.5: it runs Studio, and new projects start on it. 8.4 and 8.3 are there for projects that need them: Install next to one, under Server → PHP, puts it on the server in a few minutes, from packages.sury.org with the usual extensions and its own PHP-FPM, and the project forms offer it as soon as it is done. One install at a time, never during an update. Once installed, a version stays, and every update keeps it on its newest patch, as it does 8.5. Servers installed before 2.4.11 keep the 8.3 and 8.4 they have.

Channels

ChannelInstallsFor
Stable (default)The newest release tag, vMAJOR.MINOR.PATCH; pre-releases and everything between two releases are skippedEvery team
Beta (beta tester mode)The head of the main branch, every new commit, before it becomes a releaseA server you test Studio on, not the team's daily work

The channel is a switch in Administration → System; the installer can start on beta (STUDIO_CHANNEL=beta, see What it installs). Neither channel goes backwards: a build is installed only when it contains the installed commit, which the updater checks on a blob-less mirror of the repository. Back on stable after beta, Studio keeps its main build, newer than the last release, until a release contains it; when a release is tagged on that very commit, it moves to the release's name.

Administration → System in beta tester mode: the newest commit on main, the beta channel selected and its warning
Beta tester mode. The newest commit on main instead of the newest release, each one installed as main-<commit> with the same backups and rollback as a release.

When

  • Every night, between 04:00 and 05:00, from a systemd timer, while automatic updates are on (the default).
  • From Administration → System: Check now, then Update to ….
  • Force update, in the same place: builds the newest build of the channel and installs it now, even when it is the one already installed (a broken build, a failed system step, a server changed by hand). The new build goes next to the live one as <build>@<time>, with the same dump and rollback. It never goes back to an older build: that is what studio-update rollback is for.
  • On the server: sudo studio-update apply (--force for the same as the button). Running the installer again does the same as apply.

What an update does

  1. Clone the build into /opt/studio/releases/<build>. A tag's VERSION file must say the same as the tag. With /etc/studio/update-signers in place, the tag (or, on beta, the commit) must carry a valid SSH signature by one of those keys.
  2. System step, as root, from the new build: its installer/requirements.env names the PHP versions, the PHP that runs Studio and the Node major; installer/lib/system.sh installs what is missing, refreshes Composer and Claude Code, installs Playwright MCP at the pinned version with its Chromium, and the CLI of the first administrator's git host. Nothing is removed.
  3. Upgrade scripts, phase before: installer/upgrades/<version>.sh of every version after the installed one up to the new one, in order, as root, for what a release needs beyond packages. On beta, where several builds share a version, a script that changed since it ran runs again.
  4. Build next to the running release, on the shared .env and storage: Composer without dev dependencies, the assets.
  5. Database: a dump to /var/backups/studio/, maintenance mode, migrations with the new code. Caddy's certificate question, the access check of protected hosts and the bridges' callbacks keep answering meanwhile.
  6. Switch: the new build's helper, templates, services, PHP-FPM pool and Caddyfile, then /opt/studio/current points at it; upgrade scripts, phase after; caches, restarts, maintenance off.
  7. Health check: Studio must answer /up. If it does not, or any step from the dump on fails, the previous release, its root files and the database dump come back, and the System page shows the log.

Project sites and workspaces are not touched: they are your projects. Bridges move to the new code when they restart (a workspace stopped and started, a changed token); a release that changes the bridge protocol restarts them in its upgrade script. Three releases and five database dumps stay on disk.

The server itself

Studio's update installs what a release needs and adds what is missing; it does not upgrade what is already there, except a PHP older than the security fixes the release names (PHP_FIXED in requirements.env), which goes to its newest package with its PHP-FPM restarted. The rest is the job of the server update, studio-update system: every night between 03:00 and 03:30 (an hour before Studio's own update, which waits for it), from Administration → System with Update the server now, or by hand. It brings every package and tool on the server to its newest version:

  • apt: update, full-upgrade, autoremove. That is Ubuntu and its security fixes, every installed PHP and its extensions (packages.sury.org), Caddy, MariaDB, PostgreSQL, redis, Node within its major (NodeSource), gh or az. Configuration files changed by hand are kept.
  • Outside apt: Composer (self-update), Claude Code (npm, @latest), glab (its newest release), the azure-devops extension, through the system step of the installed release, which also installs what that release names and is missing.
  • Services: needrestart restarts every service still on an old library (never a workspace bridge, where a conversation may be running: it picks the new Node up at its next start); when anything changed, Studio's services restart; then Studio must answer /up.
  • TLS certificates: Caddy issues each one on demand and renews it by itself when a third of its lifetime is left. The check goes through every certificate Caddy keeps for a host Studio still serves: one past that point gets a TLS handshake on the server, which makes Caddy renew it now; one still not renewed (a DNS record moved, the CA unreachable) is listed on the System page with its days left, until it is. The certificates of deleted projects and workspaces are left to expire. studio-update certificates runs the check alone.
  • Reboot: a new kernel shows reboot required on the System page. With SYSTEM_REBOOT=1 in /etc/studio/studio.env the nightly run reboots the server five minutes after it ends; a run by hand never does.

It stays on what is installed: another PHP version is added on the System page (PHP versions) or comes with a release of Studio (requirements.env); a new Ubuntu release, a new Node major or a new major version of MariaDB or PostgreSQL is a decision for a person. The System page lists what the last run changed (php8.4-fpm 8.4.12-1 → 8.4.13-1) with its log; apt's own output is in /var/log/studio-install.log. The switch Nightly server updates (or studio-update system-auto off) turns the timer off.

On the server, as root
  1. studio-update check # what the channel would install, and why not
  2. studio-update apply # --force · --to v2.0.0
  3. studio-update channel beta # or stable · auto on|off
  4. studio-update rollback # the previous release and its database
  5. studio-update ensure # the system step again · status
  6. studio-update system # every package to its newest version, the certificates · system-auto on|off · certificates

Domain & visibility

Every host hangs under the one domain chosen at install: studio.<domain>, <project>.<domain>, <person>-<project>.<domain>, with a wildcard DNS record and certificates Caddy issues on demand and renews by itself. When the domain itself has to change, or a certificate needs a hand, root has studio-domain:

On the server, as root
  1. studio-domain status # domain, DNS, visibility, every certificate
  2. studio-domain check studio.agency.test # does *.domain point here?
  3. studio-domain change studio.agency.test # move everything there
  4. studio-domain renew [host|all] # the late ones · a new one for a host · for all
  5. studio-domain prune # certificates of hosts no longer served

Changing the domain: create *.<new> A <this server> first; change checks it and refuses to go on until it resolves here (--skip-dns goes on anyway). It backs up every file it touches in /var/backups/studio-domain, puts Studio in maintenance for a minute, moves every site, preview and sandbox (<name>.<old> becomes <name>.<new> in its Caddy host and in the APP_URL, ASSET_URL, REVERB_HOST and session lines of its .env), Studio's own .env and Caddyfile, the hosts kept in the database, and registers every push webhook again at the new address. If a step fails, everything is put back on the old domain. Afterwards everyone signs in again, and passkeys, which belong to the old host, are added again in Settings → Security (passwords and 2FA codes keep working). An app with Reverb on keeps the old host in its built assets until its next build; the command lists them. Once nobody uses the old names, prune removes their certificates.

Certificates: renew alone does what the nightly check does (renews the late ones); renew <host> throws that host's certificate away and gets a new one, renew all every host's. Caddy restarts for it, so open terminals reconnect. Let's Encrypt allows 50 new certificates a week per registered domain and 5 for the same host: renewing everything is for when something is really wrong.

Clients' domains

Administration → Domains takes a domain other than Studio's (client.com), with its subdomains or not, and shows the records to create at its DNS provider: client.com A <this server> and, for the subdomains, *.client.com (a CNAME to studio.<domain> works too). Studio accepts it once it points here, which is also the proof that it is yours: Caddy gets a certificate only for a name that sends the CA to this server. It asks the DNS again every day; a domain that stops pointing here is marked DNS lost and gets no new certificate, one still waiting is accepted the day its records arrive. A domain a project uses cannot be removed.

Administration → Domains: a verified domain with a project's public address, public, one waiting for its DNS
Administration → Domains. The records to create, what the DNS answered, the projects at each domain, public or not.

Then, in a project's Settings → Server → Addresses: the site's public address at the domain itself or at a subdomain of it (project-a.client.com), public or not public for that project alone, with <key>.<domain> kept for the team behind the login. Previews and sandboxes always live under Studio's domain, the team's. Saving applies it to the site on the server, its APP_URL included. The access rules and the agent's browser work the same on any domain. A name on a client's domain that no project uses gets no certificate and no welcome page. When Studio's own domain changes (studio-domain change), the clients' domains stay as they are.

Hiding the dashboard: Administration → System → Domain & visibility switches studio.<domain> from public (its sign-in page to anyone, as any app) to hidden. Hidden, whoever is not signed in gets the page of an address nobody configured, on every path, and the welcome page of unknown names no longer links to Studio. People get in through the door: a secret link shown on that page and next to a new account's password, opened once per browser (it leaves a cookie for a year). A signed-in session is enough, and so is a good password reset link from an email. New link closes every door handed out until then. From the server, studio-recover door prints the link (--rotate makes a new one) and studio-recover public / hidden switch it. Project sites and previews keep their own rules (Who opens the hosts); a hidden dashboard only hides Studio itself.

Locked out

A forgotten password or a lost 2FA device is an administrator's job: the key icon in Administration → People gives the person a new password, shown once, and removes their 2FA (with email set up, people also get the usual Forgot your password? link). Administrators do the same for each other. What is left is the last administrator: nobody above them in Studio, and the server itself fine. The one key that is never in Studio is root on the server. From an SSH session:

On the server, as root
  1. studio-recover admin # the main administrator: the oldest admin account
  2. studio-recover admin you@agency.test # that account instead; unknown = created

The account gets a new password, printed once in the terminal; its 2FA is removed, every session it had is closed, it is an administrator again with a verified email. Its git and Claude credentials stay, and nothing else on the server is touched. Log in with that password, change it in Settings, set 2FA up again. Each run is written to syslog (auth) and to Studio's log.

studio-recover lives in /usr/local/sbin, mode 0700: only root can read or run it, there is no sudo rule for it and nothing in Studio calls it. It runs php artisan studio:reset-admin as the studio user, which is the same thing if you prefer artisan. Whoever can reset the administrator can already read /opt/studio/shared/.env: the script adds no power root does not have, it only makes the way back short and recorded.

Releasing

For whoever maintains Studio: set VERSION (2.1.0 today), add the release to CHANGELOG.md with what an upgrade from the previous one needs, commit, and push the matching tag (v2.0.0) on a commit that passed the tests. Every stable server installs it at its next run; beta servers already run that commit. The release workflow refuses a tag whose VERSION says otherwise, and so does the updater. To sign releases, tag with git tag -s and an SSH key (gpg.format=ssh), sign the commits of main too if beta servers check signatures, and put the allowed signers, in ssh-keygen's allowed-signers format, in /etc/studio/update-signers on each server. What a release needs on the server goes in installer/requirements.env, or in an upgrade script (installer/upgrades/README.md).

Security

A Studio holds the team's git tokens, cloud credentials, SSH keys and passwords, on a server open to the internet. This is what stands between them and a stranger, what an administrator decides, and what is left to good habits.

Administration → System → Security: the two-factor requirement (optional, administrators, everyone) and the latest lines of the security log, each with its level, address and browser
Administration → System → Security. Who must have two-factor set up, and the latest of the security log: a confirmed second factor, two refused sign-ins from the same address (fail2ban counts them), an administrator's sign-in.

Accounts

Invite-only
Nobody signs up: an administrator creates each account and hands the first password over once. Passwords have twelve characters at least and are refused when they appear in the leaked lists (Have I Been Pwned's range API: five characters of the hash leave the server, never the password).
Two-factor, required or not
Administration → System → Security: optional, required of the administrators, or of everyone. Whoever must and has not set it up is sent to Settings → Security and nowhere else, and cannot turn it off; Administration → People flags who still has to. Passkeys work next to it. Ask it at least of the administrators: they hold everything.
Sessions
Twelve hours idle, then the sign-in page again. Changing your password closes your other sessions and kills every other remember-me cookie; a session ends by itself when the password changes elsewhere (an administrator's reset). "Remember me" lasts thirty days. The SSH terminal, the password manager, the databases and the infrastructure pages ask the password again after an hour (AUTH_PASSWORD_TIMEOUT).
Attempts
Five a minute per account and address, twenty a minute per address whatever the accounts tried; then on a server fail2ban bans the address for an hour after ten refusals in a quarter of an hour. Forgot your password? answers the same whether the address is an account or not.
The security log
storage/logs/security.log: every sign-in, failed attempt, second factor, passkey, password change, door and policy, with the address and browser it came from, one line each. The latest of it in Administration → System → Security; logrotate keeps half a year on a server.
Hidden dashboard
Nothing says a Studio lives at studio.<domain> until a browser came in through the door link (Domain & visibility). A wrong key counts as a refusal for fail2ban too.

The server

Firewall
ufw admits SSH, 80 and 443, nothing else. Caddy's plain-http listener for the processes of the server (the ask of the certificates, the login in front of the project hosts, the bridges' events, the SSH gateway's tickets) is on 127.0.0.1:8081; those endpoints answer 404 on https://studio.<domain>, from Caddy and from the app itself.
Caddy's admin API
On a socket in /run/caddy that only root and caddy enter, not on 127.0.0.1:2019: a project's PHP or a workspace's agent, which run as users of their own on the same server, cannot reconfigure what serves every host.
Headers
HSTS, X-Frame-Options: SAMEORIGIN and a Content-Security-Policy on every page of Studio: nobody frames it, scripts and styles come from Studio, previews from any https host. The project hosts get frame-ancestors that let Studio frame them, and nobody else. No Server or X-Powered-By header anywhere.
Secrets at rest
Tokens, keys, passwords and credentials are encrypted in the database with APP_KEY; the database alone, or its dump, says nothing. /opt/studio/shared/.env holds that key, readable by root and the studio user only; each project and workspace runs as a user of its own with its own .env, mode 600. The only way to root is studio-admin, a fixed list of commands with their arguments checked.
Updates
Every night: Ubuntu's packages (unattended-upgrades and studio-update system) and Studio's own release (Updates). A release can be signed; see Releasing.

What stays with you

Root's SSH: keys only, no password login, the port of your choice (the firewall follows it). Backups of /opt/studio/shared and the database, somewhere else (Tools → Backups does that too). An administrator who leaves: delete the account the same day, rotate the tokens it knew (Administration → Connectors, the git host, the clouds), and the door link if the dashboard is hidden. Redis on the server has no password and is shared by the projects: an app's cache and queue are readable by the others; a project that needs isolation gets a Redis of its own. The preview pane shows a project's own code inside Studio, in a sandboxed frame that cannot navigate Studio's page: a preview on a client's domain does not get the sign-in cookie there and opens in a tab instead.

Home & the menu

Studio opens on Home: what waits for you now, across every project and every git account.

Maria's Home: a conversation waiting for her answer, two finished ones, her projects with her role on each, and her GitHub card with pull requests
Home. Maria's inbox: a conversation on Shop Acme waits for her answer, two finished since she last looked, her projects with her role on each, and what waits for her on GitHub.
Waiting for you
Your conversations that ask a question or a permission, or failed. Below them, those finished since you last opened them, and those working now. A click opens the conversation.
Needs attention
Your workspaces that failed, and the sites of your projects that failed.
Projects
Yours, the ones you worked on last first, each with its group and your role there.
On your git hosts
A card per git account, read after the page is drawn so a slow host never holds it: pull requests asking for your review, your open ones, issues assigned to you. Open Git goes to Tools → Git.

A new person sees Get started instead: add a git account, connect Claude, get on a project. An administrator creates the first project; everyone else is put on theirs.

The menu

GroupEntriesWho
StudioHome, ProjectsEveryone
InfrastructureThe connectors that are onAdministrators
ToolsGit, SSH terminal, Password manager, DriveEveryone; the SSH terminal as its section says
AdministrationProjects, People, Connectors, SystemAdministrators

The user menu has My accounts (Settings → Accounts), Settings (profile, appearance, security) and Log out.

The project's tabs

A project opens on its workspace; the tabs on the row under its header lead to the rest of it. A tab shows only to who has something there.

TabWhat is thereWho
WorkspaceThe conversations, the chat and the right pane: preview, changes, terminal, files. The sections below.Everyone on the project; clients get the preview
RepositoryThe pull requests, issues, branches, pipelines and releases of the project's repository, with your own git account on its host.The roles that chat: PMs, developers, administrators
InfrastructureAn overview of everything attached to the project, then each one: a Cipi app with its releases, logs, .env, database and agent, anything else as its row; see Attached to projects.Who has something there for their role; administrators
AccessThe passwords, SSH connections and drive folders tied to the project that your role opens.Everyone on the project
BackupsThe project's backups, schedules, runs and storage; see Backups.Administrators
SettingsGeneral, members and roles, server, who opens the hosts, agent, MCP servers; see Project settings.Administrators

Repository

The Repository tab of Shop Acme: the open pull requests of agency/shop-acme on GitHub, read with Maria's account
Repository. The pull requests of agency/shop-acme, read with Maria's own GitHub account, the one her workspace commits with.

The project's repository as Tools → Git shows it, without picking it: pull requests (with their conversation and diff), issues, branches, pipelines (Actions on GitHub) and releases. It reads and acts with your own account on the repository's host, the one your workspace commits with, so you may do here what the host lets that account do. Without an account on that host, the tab says so and leads to Settings → Accounts → Git.

Access

The Access tab of Shop Acme: passwords, SSH connections and drive folders tied to the project
Access. What is tied to the project for your role, in three groups; each opens in its own tool.

The passwords, SSH connections and folders tied to the project, by whoever owns them or by an administrator, in the Password manager, the SSH terminal and the Drive. You see those your role opens. An SSH connection says whether your own key or password for it is set; the SSH group shows only to who may use the SSH terminal. A folder says whether you may view it or view and edit it.

The Access tab on a phone: the project's tabs on their own row, scrolling sideways
On a phone. The tabs keep their row and scroll sideways; the edge fades where there are more.

The chat

Three panes: your conversations, the chat, and the right pane with the preview, the changes, the terminal and the files. The chat is Claude Code with a face.

The chat with Details on: every command and its result expanded
Details. Each tool call is a row with the command or the file; Details expands them all with their results, and shows the agent's reasoning when the model emits it.
Messages
Yours on the right. Claude's as prose, with Markdown rendered and code inline. System notices, in red when something failed, say what to do.
Streaming
Text arrives as it is typed over Reverb, ten times a second, and grows in the browser without asking the server. Without a websocket the chat polls every few seconds while the agent works; nothing is lost either way.
Speed
A message reaches the bridge as soon as it is sent, never through the queue where workspaces are built and sites deploy. Focusing the input starts Claude Code for the next turn already, with the model, mode and account it will run on, so the first message after a pause does not wait for it to boot; the process stays ten minutes after the last turn (BRIDGE_IDLE_TTL). The model and the effort of Model & mode weigh most on the rest: Sonnet or Haiku with a low effort answer quickest.
Sessions
A conversation keeps its Claude session id. Close the laptop, come back tomorrow: the next message resumes with the same memory. The title is the first message, trimmed.
Interrupt
Stops the current turn. The process is released; the next message resumes the session.
Status bar
Chips for the state, the Claude account the next message runs on, the model, the effort and the mode; a click opens Model & mode. A subscription shows its plan's usage (the five-hour window and the week); an API key, the estimated cost of the last turn.
Several at once
Open a new conversation for a separate topic. Conversations in your workspace share its branch, so keep one piece of work per conversation, or start it in a sandbox of its own.
Screenshots
Images in a tool's result, such as a browser screenshot or a picture Claude read, show as thumbnails under the call; a click opens one full size.
The list
A dot per conversation: amber while Claude works, blue when it asks you something, red when it failed, green when it finished since you last opened it. The bin deletes one, after a confirmation; only its owner can.
The same conversation in dark mode
Light or dark. Studio follows the system appearance, or the choice in Settings → Appearance; the editor in the Files tab follows it too.

Permissions

Claude Code asks before running a tool its mode does not allow outright. In Studio the question is a card.

The card names the tool, shows the command or the file, and the reason when Claude gives one. Allow runs it with the input shown; Deny tells Claude the person declined, and the turn continues from there. While a question is open the conversation is marked waiting for permission in the sidebar, so a teammate glancing at the list sees who is blocked on whom.

PresetClaude Code modeWhat runs without asking
PMdefaultReads and the tools Claude Code auto-approves; edits and commands ask
Developer, AdministratoracceptEditsFile edits in the workspace; commands ask
ClientplanNothing: a client cannot chat, the preset only applies if the role changes

Bypass mode is disabled in every workspace by the managed settings. A question left unanswered when a turn ends is closed as denied. The decision, who took it and when, is stored with the conversation. The agent's browser never asks to look (open a page, take a screenshot, read the console); clicking and typing in it ask unless the mode allows edits.

Model, effort, autopilot

Each conversation chooses how Claude Code runs. Model & mode in the chat header opens the dialog; the choice applies from the next message and the session keeps its memory.

The Model & mode dialog: model select, effort select, four modes
Model & mode. Model, effort and the permission mode of this conversation; below, the MCP servers this chat gets from the project settings.
SettingChoicesBecomes
ModelDefault, Fable 5.1, Opus 5.5, Sonnet 5.5, Haiku 4.5 (the list is in config/studio.php)--model
EffortDefault, low, medium, high, max: how much the model thinks before it answers--effort
Ask before actionsClaude asks before edits and before commands it may not run on its own (below)--permission-mode default
Ask, edits allowedFile edits in the workspace run; commands still askacceptEdits
AutopilotNo questions: Claude Code's classifier reviews each action before it runs; the turn goes to the end on its ownauto
Plan onlyReads, reasons and proposes; changes nothingplan

Which modes a person may pick follows their role on the project: modes_by_role in config/studio.php; the role's starting mode is permission_mode. Bypass mode, the one with no review at all, is not offered and is disabled in every workspace by the managed settings: autopilot is as far as it goes.

What runs without asking

In every mode but Plan only, three things run without a card: Claude Code's own read-only commands (ls, cat, grep, git status, git diff…); the everyday commands of the person's role, allowed_tools in config/studio.php (tests, Pint, PHPStan, composer install, npm ci, npm run build, git add and git commit, nothing that leaves the workspace); and what the person allowed for good.

Always allow on a permission card runs the command and stops asking for it on that project, for that person: the rule Claude Code suggests (composer require …, any package), or, for a plain command, its runner and name with any arguments. A line with shell syntax (&&, pipes, redirections) gets no such button: it asks each time. The running conversation stops asking at once, and every later one gets the rule as --allowedTools. The rules are listed under Runs without asking in Model & mode, where × takes one back.

Skills & Claude's questions

The chat is Claude Code: a skill is a slash command typed in the input, and Claude's questions come back as a card to answer.

Skills

Type /larapilot-inception, /larapilot-triage, /larapilot-plan, /larapilot-implement, /larapilot-review or any other skill, with the request after it, as you would in the terminal. Larapilot projects keep their own skills in .larapilot/skills/<name>/SKILL.md, committed with the code, and skills in Claude Code's own .claude/skills/ count too: /acme-predeploy-gate works the same way. Add one from the chat with /larapilot-custom-skill; commit, and every workspace has it at the next start.

The chat input with /lara typed and the menu of the Larapilot skills above it, each with its description
"/" lists them. Typed at the start of the input, a slash opens what this conversation can start, filtered as you type: ⏎ or a click starts the highlighted one, Tab writes it so a request can follow, Esc closes the list.

The list holds the repository's skills (.larapilot/skills, .claude/skills) and commands (.claude/commands/*.md, a folder giving folder:name), then your own in your Claude folder (~/.claude/skills, ~/.claude/commands) on the server, those Claude Code syncs from your account included (~/.claude/skills/synced); in a sandbox, the sandbox's. When none can be read, the menu says why. Studio reads it through the bridge the first time you type a slash, and again after a minute. Everywhere else in the input, ⏎ sends and ⇧+⏎ starts a new line.

Claude's questions

When a skill needs a decision (the effort of a Larapilot setup, how fine the backlog is, the Git mode), Claude asks with its question tool and the chat shows a card: each question with its options and what they mean, one choice or several where the question allows it, and a field for an answer of your own. Answer sends the choices back to the same turn and Claude goes on; Skip lets it go on with its own judgement and say what it chose. The conversation waits for the card like it waits for a permission.

Questions reach you in Ask before actions, Ask, edits allowed and Plan only. Two cases keep them from you, both Claude Code's own: in Autopilot nothing waits for a person, so a question is refused and Claude goes on with its own choice; and a subagent cannot ask at all, so a skill that hands its interview to a subagent never shows the card. When Claude Code refuses a question, the chat says so in a notice, with what to do, instead of going on in silence; in Autopilot it also says which tools the classifier stopped.

The right pane

Where the conversation's effect shows up: Doc, Preview, Git, Terminal, Files and Db. Clients see the Preview only. In a conversation that runs in a sandbox, they all follow it: its README, its preview, its changes, its files, its database. The arrows after the tabs open the pane full screen, and bring the conversations and the chat back as they were. The preview shows apps that refuse to be framed (X-Frame-Options: DENY): on project and preview hosts Caddy lets Studio, and only Studio, frame them.

Doc
The README of the repository as a page (GitHub's Markdown: tables, code, task lists), with its pictures from the workspace; the other Markdown files at the top (CHANGELOG, CLAUDE.md…) are a click away. Raw HTML and javascript: links are left out, as in the chat.
Preview
The Laravel app of your workspace on your branch, served by the server at <you>-<key>.<domain>. Open puts it in a tab, which always works; inside the pane the app must not forbid framing (X-Frame-Options). While the workspace is stopped, and for clients, the pane shows the project site.
Git
A git client for the workspace: the working tree, the history, the branches, the stashes and the tags, read and run through the bridge; see Git: changes, history & branches. It refreshes after every stored chat event while the tab is open.
Terminal
A shell in your workspace, as you, without the agent in between; see Terminal.
Files
The workspace's files in the browser, with the editor of VS Code; see Files.
Db
The database client of Databases, inside the pane. Local is your workspace's database (or the sandbox's), as its .env says; Develop is the database of the project's own site, for who may open its shell; Remote lists the Databases connections tied to the project that your role may use. Develop and Remote ask for your password first, as Databases does; what each role may do (read or write, the production lock) is the same as there.
Over SSH
The workspace is a directory on the server. A developer with SSH access can open it in an editor over SSH; the same Claude session resumes there with claude --resume.
The right pane on Doc: the project's README with its picture, a code block and a table
Doc. The README of the repository, as GitHub would show it.
The right pane on Db, Remote: a project's SQLite copy, read only, with its tables and the orders rows
Db. Local, Develop or Remote: here a copy of the shop's database the project shares with its project managers, read only.

Files

A file manager and an editor for the workspace, in the right pane.

The Files tab: the workspace tree on the left, Order.php open in the editor with PHP highlighting
Files. The tree reads one folder at a time; the editor is Monaco, the component VS Code is built on.
Browse
Folders open on click and load through the bridge; .git is never shown; the button next to the open tabs hides the tree when the editor needs the room. New file, new folder, rename, move and delete sit in the row menu; a folder is deleted with everything in it, after a confirmation.
Upload
The arrow at the top of the tree uploads files or a whole folder, which keeps its tree; so does dropping them from the computer onto the tree or onto a folder. Up to STUDIO_DRIVE_MAX_UPLOAD_MB (512 MB) a file and a thousand files at a time: for more, upload a zip and extract it. A file that is already there is not replaced until you say so.
Move
Drag a row onto a folder, or onto the empty part of the tree for the top; or Move to… in its menu, and pick the folder. Open editor tabs follow the file.
Zip
Compress to zip makes <name>.zip next to a file or folder; Extract here unpacks a zip next to it, into the one folder at its top or into a folder named after it, never over anything that exists. Nothing in an archive lands outside the workspace, and one that unpacks to more than BRIDGE_UNZIP_MAX (2 GB) is refused. Download saves a file; a folder downloads as its zip.
Edit
Files open in tabs. Syntax highlighting follows the extension (PHP and Blade, JavaScript, TypeScript, CSS, JSON, Markdown, YAML, shell, SQL…), with VS Code's find, replace, multi-cursor and keyboard shortcuts. The theme follows Studio's light or dark mode.
Save
⌘S / Ctrl+S or the Save button. Every file carries the hash of its bytes from when it was opened; if Claude or a terminal command changed it meanwhile, the save is refused and the tab says so instead of overwriting.
Limits
Binary files and files above BRIDGE_FILE_MAX (512 KB) are described, not opened. The editor is loaded on first use, so the rest of Studio stays light. Everything runs as the workspace's own Linux user, so what a person can edit here is exactly what they could edit over SSH.
The row menu of a folder in the Files tree: new file, new folder, upload files or a folder here, rename, move, compress, delete
The row menu. New file, new folder and uploads inside a folder; rename, move, compress and delete for any row; download and extract for a file. A new name is typed in place.
The Move dialog of the Files tab: the folders of the workspace, opened one by one, and the button that moves the file there
Move to…. Open the folder it goes into, then move it there.

Changes, history & branches

The Git tab (once called Changes) is a git client for your workspace, or for the sandbox of the open conversation. Five views: the working tree, the history, the branches, the stashes and the tags. Pull, Push (or Publish for a branch the remote does not have yet) and Fetch sit on top.

The History view: a commit graph with lanes and merge lines, each commit with its refs, author and age
History. Every branch in one graph, with lanes and merges, refs as badges.
A commit opened from the History: message, author, date, the files it touched and the patch
A commit. Click one for its message, author and date, the files it touched and the patch.
The Branches view: local branches with the current one marked, a Switch button, and the remote branches with Fetch
Branches. Switch a branch and the preview and its access rule follow.
Working tree
What is not committed yet: each file with an icon in the colour of its kind (PHP, Blade, JS/TS, CSS, config, docs, images, data, scripts…), its name in the colour of what happened to it (modified, new, deleted and struck through, renamed, in conflict), and the lines it adds and removes with a five-block bar, as on GitHub. Stage and unstage, discard, commit (or Commit & push), amend the last commit. The wand in the message field has Claude write the message from the staged changes, or from every change: a quick model (STUDIO_COMMIT_MESSAGE_MODEL, Haiku) on your Claude account, apart from the conversation, in the style of the latest commits; edit it before committing. During a merge, pick a side for each conflicting file or edit it and mark it resolved, then commit to conclude or abort.
History
The commits of all branches in date order, drawn as lanes the way editors do: a branch opens a lane, a merge closes it. Refs show as badges (branches, origin/…, tags); search by message, author or id. A commit opens with its message, author, date, files and patch, and its menu reverts it, cherry-picks it, resets to it, starts a branch or a tag from it.
Branches
Local branches with their upstream and ahead/behind, remote branches. Switch checks one out in the workspace; the preview follows, and so does the access rule of that branch. Create, rename, merge into the current one (merge commit, squash or fast-forward), delete here or on the remote.
Stashes and tags
Put changes aside to switch branch, bring them back with Pop or Apply and keep. Tag a commit, with a message for an annotated tag, and push one tag or all of them.

Everything acts on your own workspace, as your Linux user, with your git account on the repository's host. What cannot be undone asks first and says so; a force push says what it replaces.

Terminal

A tab in the right pane: a shell in your workspace, as you, without the agent in between.

The Terminal tab: shortcut buttons over a shell, where an artisan command asked for a password twice and added the user
Terminal. A real terminal: a command that asks for a password gets it, as over SSH. The shortcuts type their command into the shell.

It is your login shell on a real terminal, in the workspace directory (or the sandbox's worktree of the open conversation), as the workspace's Linux user. The workspace opens as ~/<workspace>, a link the bridge makes in your home, so the prompt stays short and the same path works over SSH. It is the same user Claude Code runs as and SSH reaches. Prompts and passwords, colours, Ctrl+C, tinker, vim, htop and pipes work. The workspace's bridge runs it (on a terminal of Python's standard library, so nothing native is installed) and the SSH gateway carries it to the browser over its WebSocket, with a ticket Studio gives for one session and checks again when the gateway redeems it. git answers with your own token, as for the agent; the bridge's token and the API key it hands to conversations are not in the shell's environment.

The session stays open while you look at the preview, the changes or the files; when the shell ends (exit, Ctrl+D), New shell starts another. A phone gets the keys its keyboard lacks, and Paste, above the keyboard, as on the SSH page. At most BRIDGE_MAX_SHELLS (8) shells are open in a workspace at a time. The shortcuts come from config/studio.php. Clients have no terminal.

Develop. For the project's administrators and developers, the switch at the top opens a shell on the project's own site, the deploy branch's at <key>.<domain>, not your workspace: as the site's user (prj-<key>), in its app, with the site's PHP version first in the path, so php artisan and Composer run as they do for the site. What changes there is live for whoever opens the site. As for the SSH hosts, your password is asked again first; every shell opened is in the security log.

Remote. The switch at the top turns the tab into a shell on the project's SSH hosts: each SSH connection tied to the project (the app's user on its Cipi server, a staging box) is a button, and opens a terminal through the SSH gateway, as on the SSH page, with your own key or password and its host key checked. As there, your password is asked again first. The sessions stay open while you look at the preview or the changes. Remote shows only on a project with SSH connections tied to it, and only to those who may use SSH.

Subagents, plan mode, skills

The chat is the full Claude Code CLI running in the workspace. What works in the terminal works here.

A Plan only conversation: two subagent cards side by side, one on the backlog and one on the open branches, then Claude's answer as a table
Plan only, with subagents. "What is still missing for release 1.4?" Claude starts two subagents at once, one on the backlog and one on the open branches and pull requests: two cards side by side, each with its status, steps, time and report. The answer is a plan; nothing was changed.
Subagents
Each subagent Claude starts is a card: what it was asked, its type, whether it is running, done, failed or stopped, its steps and time, the screenshots it took and its report. Those started together sit side by side. Details opens each step. Larapilot's personas and the autopilot worker use them.
Studio's own
Every chat also gets code-reviewer, which reviews the diff, and, with the browser, browser-qa, which checks a flow in the running app like a tester would (one per flow, in parallel). A short paragraph tells Claude about the preview and the sandbox it works in. The repository's own .claude/agents still apply.
Plan mode
Plan only in Model & mode: Claude reads and proposes, touches nothing. Switch to another mode when the plan looks right.
Skills and slash commands
Every /larapilot-* skill, the project's custom skills and any other skill in the repository: type the command.
MCP servers
Those in the repository's .mcp.json are loaded, with secrets from the workspace environment, Laravel Boost and Larapilot's own server included; plus the remote servers added in the project's settings (see MCP servers) and Studio's browser.
Hooks
Larapilot's workflow hooks and Claude Code hooks run as they would in an editor; their output is kept out of the chat.
Not available
What needs a screen: images pasted into the prompt, the interactive command palette, voice. Interrupt replaces Escape.

The agent's browser

Claude can look at what it builds. Every chat gets a headless Chromium on the server, signed in to the preview it works on as you.

What it is
Playwright MCP, the MCP server browser of the conversation. Studio installs it with its Chromium on the server; nothing runs in your own browser.
What it sees
The preview of your workspace, or of the conversation's sandbox, with your own pass for that host: the same gatekeeper and access rules as you. A fresh pass comes with every message. It never gets Studio's own cookie.
What it does
Opens pages, takes screenshots, reads the console and the failed requests: that never asks. Clicking, typing and filling forms ask for permission unless the mode allows edits.
Screenshots
Kept on Studio's disk with the conversation, shown as thumbnails under the call that took them (and on the subagent's card), full size on a click. They are served only to who may read the conversation, and removed with it.

On by default; an administrator turns it off for a project in Settings → Agent. Ask for it in plain words ("open the orders page and check the filter on a phone") or let browser-qa do it after a change.

Conversations in a sandbox

Try two ideas at once, or let Claude work on something long while you go on in your workspace. New → Conversation in a sandbox starts a conversation in a copy of your workspace of its own.

  1. The copy. A git worktree of your workspace on its own branch (sandbox/<handle>-<id>), with a copy of the workspace's database, its own build and its own preview at <handle>-<key>--c<id>.<domain>. It takes a moment to prepare; the chat says so.
  2. The work. The conversation runs there, and the Preview, Git, Terminal and Files tabs follow it: open another conversation and they follow that one. Several sandboxes run at once without touching the workspace or each other. Queues run inline there; the scheduler and Reverb are off.
  3. Keep it. Merge into my workspace, on the bar above the chat, commits what the sandbox holds and merges its branch into the branch of your workspace, all or nothing: a conflict leaves both as they are. Or Push the branch, in the same bar's menu, to open a pull request from it.
  4. Drop it. Remove the sandbox deletes the worktree, its database and its preview, and asks whether to keep its branch or discard it too. Work not committed is lost. The conversation stays, to read.

Up to 3 sandboxes per person by default; an administrator changes the number, or turns sandboxes off for a project, in Settings → Agent. Deleting a workspace deletes its sandboxes.

Workspaces

A workspace is created the first time you open a project, started and stopped from the header, checked against the server every minute.

A project opened for the first time: no conversation yet, the workspace pill in the header
First open. The header pill follows the workspace live: to create, creating, running, stopping, stopped, failed; the chat and the preview follow it. A failed one shows the server's reason on hover.
  • Start / Stop start or stop the bridge and release the preview. Conversations and their sessions stay; a stopped workspace cannot receive a message, and the input says so.
  • What persists: everything, it is a directory and a database on the server: the clone, the dependencies, the Claude login in the person's home.
  • What does not: work that is not pushed, if the workspace is deleted. Keep branches short and pull requests small; the Larapilot loop wants that anyway.
  • Memory: PHP-FPM pools are on demand and a stopped workspace costs nothing; the Claude Code process is released after ten idle minutes and resumed on the next message.
  • Sandboxes live next to the workspace, one per conversation that asked for one (see Sandboxes), and go when it is deleted.

Clients

A client on a project sees it and its staging site as preview, with its Larapilot dashboard behind the same login, and what is shared with the project's clients in its Access and Infrastructure tabs: passwords, folders, servers. No chat, no workspace, no repository, terminal or files, no cost.

It is the role for the person who pays: they follow what is in review and what shipped without opening another tool, and without an email thread. If a client should also talk to the project, give them the PM role on it in Settings → Members & roles; from then on they have a workspace there and need a Claude plan of their own. On their other projects they stay what they were.

SSH terminal

Tools → SSH terminal, for administrators, developers by default and whoever is a developer on at least one project: real terminals in the browser to any server, opened from Studio's server.

Connections
Host, port, user and a key or a password, saved per person; favourites stay on top. A click opens a terminal; open as many as you like, in tabs or all side by side.
Sessions stay open
Another page of Studio, a reload, even a closed tab: the shell keeps running on the server and the SSH page (or the project's Terminal tab) takes it back when you return, with what it wrote meanwhile. A session waits half an hour for you (SSH_GATEWAY_LINGER, in seconds), only for you; × ends it for good.
Groups, search
Put connections in groups of your own, with a colour (Clients, Agency…), as in Databases: from Move to group in a connection's menu, or in its form; the connections shared with you go in your groups too, and nobody else sees how you sorted them. A chip per group shows that group alone, or the connections in none; the search finds a name, a host, a project or a group.
Keys
Generate Ed25519 or RSA 4096, or import yours (OpenSSH, PEM, PuTTY, with its passphrase, which is not kept). The page shows the public key and the command that adds it to authorized_keys. The same keys are in Settings → Accounts → SSH keys.
Host keys
The first connection shows the server's fingerprint and asks; from then on a different key is refused.
On a phone
Under the terminal, the keys a phone keyboard lacks (Esc, Tab, Ctrl, the arrows) and Paste. Paste reads the clipboard when the phone allows it. When it does not, a field opens: long-press there and paste, then Insert. The text is typed into the terminal as a paste, so a shell or an editor that asked for bracketed paste receives it as one paste.
Files
Terminal ⇄ Files, above the terminals (or Browse files in a connection's menu), turns a session into the file manager of its host, the same as a project's Files tab: tree, editor, uploads of files and folders, drag and drop, Move to…, zip and unzip, download. It starts in your home on the server; the path bar goes anywhere else.
Shared with a project
Tie a connection to a project and the administrators and the project's developers find host, port and user ready, tagged with your name, here and in the project's Access tab. Each connects with a key or password of their own: credentials are never shared.
The SSH page: connections in the groups Clients and Agency and one in no group, a search and a chip per group; a session switched to Files, the server's home in a tree, README.md open in the editor
SSH → Files. The connections in their groups, with the search and a chip per group; a session on a server turned into its file manager; Terminal brings the shell back, as it was.

The file manager speaks SFTP from Studio's server with your own key or password, only to a host whose key was accepted in the terminal; zip and unzip run on the server and need zip and unzip there. It can do what you could do in the shell, nothing more.

Private keys and passwords are encrypted with APP_KEY and never reach the browser. The page asks Studio for a one-time ticket (60 seconds) and opens a WebSocket to the gateway, studio-ssh (ssh-gateway/, behind Caddy at /ssh/ws), which redeems the ticket on the loopback and only then sees host and secret. The page asks for your password again, as Settings → Security does.

Databases

Tools → Databases is a database client in the browser, in the spirit of TablePlus: MySQL, MariaDB, PostgreSQL, SQLite, Redis and Valkey, reached from Studio's server directly or through an SSH tunnel. Browse and edit rows, run SQL, change structures, import and export. Administrators and developers add connections; anybody reaches the ones shared with their role on a project. Like the SSH terminal, it asks for your password again.

Tools → Databases: connections in coloured groups, favourites first, each with its engine, environment, tunnel and project
Every connection you reach. Yours and those shared with you, in groups of your own with their colours, favourites first; the environment tag on each (production in red).
  1. A connection. New connection: the engine, host and port, user and password (stored encrypted, never shown again), the database, TLS. Or paste a link as TablePlus writes it, or the DB_ / REDIS_ lines of a Laravel .env, and Fill in.
  2. Through SSH. Through an SSH tunnel picks one of the SSH page's connections (or the one a +ssh link brings, created when you save); the host is the database's address as that machine sees it, usually 127.0.0.1. Test shows a new host's key to accept first.
  3. Share it with a project: for each role, no access, can read or can read and write. Members use your database credentials without ever seeing them; Studio's administrators read and write every project connection.
The New connection dialog filled from a mariadb+ssh link: a new SSH connection for the tunnel, the database's host, user and database, production environment
From a link. mariadb+ssh://… fills the database and the SSH host of the tunnel; the SSH host becomes one of your SSH connections when you save.
LinkWhat it opens
mysql://user:password@host:3306/dbMySQL (mariadb:// MariaDB), directly
mariadb+ssh://ssh_user:ssh_pw@ssh_host/user:pw@127.0.0.1/dbMariaDB through an SSH tunnel; the SSH password may be left out to use one of your keys
postgres://user:pw@host/db?sslmode=requirePostgreSQL (postgresql://, pgsql://), with TLS
sqlite+ssh://deploy@web1/~/current/database/database.sqlitea SQLite file on an SSH host, with its own sqlite3 (3.33 or later); //var/… for an absolute path
redis://:pw@host:6379/0, rediss://, valkey+ssh://…Redis or Valkey, the database number at the end; rediss with TLS

Add ?name=Shop&env=production&tls=true to any of them. Passwords with / ? # : in them are percent-encoded (an @ works either way). A connection's menu copies its link, with the passwords only for its owner.

The SQL client: tables and views on the left, the orders table's rows with their types, filters, pages and export
Rows. Tables and views (rows and size where the engine knows them) on the left; a table's rows sorted by a click on a column, filtered (=, contains, in, is null, raw SQL…), paged by 50 to 1,000.
Edit in place
Double-click a cell, change it, Enter (or NULL). A row's menu edits it whole, duplicates or deletes it; tick rows to delete many. Rows are found again by their primary key, by ctid on PostgreSQL and rowid on SQLite when there is none.
Structure
Columns with type, null, default, key and comment; indexes; foreign keys and checks; the DDL to copy. New tables, columns and indexes, renames, drops and emptying are SQL shown first, to read and change before it runs.
SQL editor
Run the selection or everything (Ctrl/⌘+Enter): every statement gets its own result, rows (the first 1,000) or rows changed, with its time; an error says which statement. Your history and your saved queries on the side; a result's rows go to CSV or JSON in full.
Read only, production
Someone who may only read runs statements that read, inside a read-only transaction. A production connection opens locked: unlock it for the session to change anything, and every statement that writes asks first.
A cell of the orders table being edited in place, with NULL and Save
In place. Double-click, type, Enter.
The Structure tab: columns, indexes and foreign keys of the orders table
Structure. Columns, indexes, foreign keys; every change is SQL to review.
The New table dialog: columns with type, default, null, key and auto increment
A new table, written for the engine (AUTO_INCREMENT, identity, AUTOINCREMENT).
The SQL editor with two statements run, each with its result, saved queries and history on the side
SQL. One result per statement; saved queries and history.

Import & export

Import & export: an SQL dump with structure, data, DROP and gzip; an import of a file; recent imports and exports with download and save to the drive
Import & export. Their log as they go; exports to download or save to your drive for a few days.
ExportImport
SQLthe whole database or some tables, structure and/or data, DROP before CREATE, gzip; with mariadb-dump/mysqldump, pg_dump or sqlite3 .dump when they are there (else Studio writes it: portable INSERTs)a .sql or .sql.gz run with mariadb, psql or the host's sqlite3 (else statement by statement), stopping at the first error or going on; up to STUDIO_DB_MAX_IMPORT_MB (512 MB), from your computer or your drive
CSV / JSONtables (a zip of files when there are several) or the rows of a queryrows into a table, columns matched by name, empty values as NULL, the table emptied first if you like
Rediskeys as JSON with their type, value and TTLthe same JSON, the keys that exist kept or replaced

Redis and Valkey

The keys of a database page by page (SCAN, never KEYS) with a pattern and a type; each key's value by its type (strings with JSON formatting, hashes, lists, sets, sorted sets, streams) to change in place, its TTL, rename and delete; a console that speaks like redis-cli (FLUSHDB and the like ask first; MONITOR and SUBSCRIBE do not run); the server's INFO.

How the tunnels work

For each SSH connection and credential Studio keeps one OpenSSH master connection open while it is used (fifteen minutes idle by default), and forwards each database to a Unix socket in a folder only Studio's user may enter, never to a port of 127.0.0.1 another process of the server (a workspace) could reach. Only a host whose key was accepted is reached. Whose SSH credential: yours (members reach that database through it, never a shell) or each person's own. Imports and exports run on a queue of their own, served by the studio-databases worker; the installer adds mariadb-client, postgresql-client and sqlite3. Every change made on a shared or production connection is written to Studio's log with who made it.

Read only means read only. Studio refuses statements that write and runs the others in a read-only transaction, but a function with side effects can slip through any client: for a guarantee, share a database user that may only SELECT.

Password manager

Tools → Password manager: the team's credentials, encrypted on the server, shared on purpose.

  • Items: title, URL, username, password, notes and a two-factor secret (base32 or otpauth://), for which Studio shows the current code. A generator makes passwords of any length.
  • Folders: yours, nested, to put your own items in order, and to share many at once (below).
  • Projects: tie an item to a project and tick which roles on that project see it: clients, PMs, developers. It shows in the project's Access tab too. Administrators see every project item.
  • People: share an item with a single person, to view or to edit. The sharing dialog shows who sees it and why.
  • Shared folders: Sharing in a folder's menu shares it as an item is shared, with a project for the roles ticked and with single people, to view or to edit. Everything inside it goes with it: its items, the folders inside it and what is added later. Who receives it finds it under Shared folders, with the folders inside it; who may edit changes the items and adds new ones, which stay the owner's. The folder itself, its sharing and removing items stay the owner's. A folder tied to a project shows under the project and in its Access tab; an item's sharing table says which folder brings it to whom.
The password manager of Maria: the folder Agency tools, shared with her by Andrea to view and edit, with its two items; Shop Acme and Production under Shared folders
A shared folder. Shared folders lists what others share with you, with the folders inside; the pencil means you may edit.
Sharing the folder Shop Acme: tied to the project Shop Acme for its PMs and developers, and the table of who sees it and why
Sharing a folder. A project with its roles, single people to view or to edit, and who reaches it and through what.

Everything but title and URL is encrypted with APP_KEY. Secrets do not sit in the page: they come from the server when you press show or copy. Personal items stay personal, also for administrators; clients see what is shared with them and create nothing.

Drive

Tools → Drive: folders and files on Studio's own disk, with access by project and role.

  • Files: upload with the button or by dropping them on the page, up to STUDIO_DRIVE_MAX_UPLOAD_MB (512 MB) each; rename, move, remove, download; images and PDFs open in the browser.
  • Access: tie a folder to a project and choose, for its clients, PMs and developers (their role on that project), no access, view, or view and edit. It applies to everything inside, down to a folder tied to another project, and the folder shows in the project's Access tab. The owner of a top folder and the administrators always read and write; everyone but clients creates folders.
  • Into the workspace: from a folder tied to a project, Copy or Move into the workspace sends a file, a selection or the whole folder into your workspace of that project, where you choose; a move removes from the drive only what arrived.

Backups

Tools → Backups, for administrators: every backup in one place, from a folder over SSH or a bucket, to a bucket or a folder on another host, in any direction, on as many schedules as you like. Each project has the same panel, filtered to its own, in its Backups tab.

  1. Storage. Add storage: an S3 bucket (Amazon S3, a Johnny bucket, MinIO, Garage, any S3-compatible storage: endpoint, region, bucket, a key that reads, writes and deletes in it; the keys of an AWS account of Administration → Connectors fill the form), a folder over SSH (host, port, user and one of the system keys of Administration → System, the keys shared with projects: add its public half to the user's authorized_keys), or a new Johnny bucket made with a key of its own on a Johnny panel of the connectors. Studio checks it on saving; an SSH host's key is accepted then and required on every connection after (Accept a new host key when the server was reinstalled).
  2. A backup. New backup: what (a source and a folder or prefix), where to (a destination and a folder or prefix under which each run goes), how, when, what to keep.
  3. Run it with Run now, or let the schedules do it. Runs follows it live.
Tools → Backups: three backups with their source and destination, schedules, retention and last run, one failed with its reason
Every backup. From → to, when, what is kept and how much, the last run; Run now on each.
The New backup dialog: source and destination with their folders, archive, snapshot or mirror, a command before the copy, schedules with ready-made plans, retention
A backup. What, where, how, as many schedules as you like, and how many daily, weekly and monthly snapshots to keep.
HowFromEach run leaves
Archivea folder over SSHone .tar.gz, made with tar on the host and streamed to the destination: nothing lands on Studio's disk. Downloadable from a bucket with a link valid one hour.
SnapshotSSH or a bucketa dated folder with a copy of every file (2026-10-13_030000/)
MirrorSSH or a bucketnothing of its own: the destination is kept identical to the source, no history
Schedules, as many as you like
Every hour at a minute, every day at a time, some weekdays, a day of the month, or any cron expression, in the backup's timezone. Ready-made: nightly, twice a day, hourly, daily + weekly + monthly. The Schedule tab shows every schedule with its cron and its next run, the coming seven days hour by hour, and what starts next.
What is kept
The latest n runs, plus the newest of each of the last days, weeks, months and years that have one (a day without a backup does not use up a slot). After each run Studio deletes, at the destination, the snapshots no rule keeps; each kept one says which rules keep it. The newest always stays.
Before the copy
A command run on the SSH source first, a database dump into the folder for instance (mysqldump --single-transaction shop > ~/current/storage/db.sql): the copy starts only if it succeeds. Patterns to leave out (storage/logs, node_modules).
Restore
From Runs, any snapshot still kept: an archive is unpacked into a folder of an SSH host, or copied as it is into a bucket; a snapshot's files are copied anywhere. A new folder is safest: compare, then swap.
The Schedule tab: the coming seven days hour by hour, every schedule with its cron, next run and switch, and what starts next
Schedule. The week ahead at a glance, every schedule with its cron expression and next run, and what starts next.
The Runs tab for one backup: each run with its size, the snapshot path and the retention rules that keep it, older ones pruned
Runs. Each snapshot says which rules keep it; the ones no rule keeps were pruned. Log, download, restore, delete.

Studio runs the backups from its own server: studio:backups starts the schedules due every minute, and the runs go to a queue of their own served by the studio-backups worker, one run at a time per backup, hours allowed each, so a long copy never holds up workspaces or deploys. The copying is rclone (installed with Studio) and ssh; the bucket keys travel in the command's environment, the SSH key in a file only Studio reads, both gone when the command ends. A run whose worker stopped answering is marked failed after twenty minutes of silence. Every run keeps its log.

Git

Tools → Git: what waits for you on the git hosts you work with, and the actions to clear it, with your own accounts on any of them, in one dashboard.

Tools → Git, Overview on GitHub: the account picker at the top, pull requests waiting for review, your own, issues assigned to you
Tools → Git. The account picker at the top moves between your accounts, on every host; Overview lists what waits for you there.
  1. Which hosts. GitHub, GitLab (gitlab.com or self-managed), Bitbucket Cloud and Azure DevOps: all four, always, for everyone.
  2. Your accounts. In Settings → Accounts → Git (My accounts on the Git page leads there), Add an account: the host, a name (Personal, Work, Client X), the token described below and, if you want, the name and email your commits carry with that account. Left empty, Studio takes them from the provider (your primary or commit email, or the provider's noreply address) and otherwise from your Studio profile. Add as many accounts as you work with, on as many hosts; only you see them. Check, edit and remove them there too.
  3. Work. Pick the account at the top: the picker holds all your accounts, on every host, and moves between them. Overview lists what waits for you: pull requests asking for your review, your open ones, issues assigned to you. The other tabs: pull requests and issues across every repository (whose: waiting for my review, opened by me, assigned to me…; which state), notifications or to-dos, and the repositories, each with its pull requests, issues, branches, pipelines and releases.
Pull and merge requests
Read the description and the whole conversation, the changes (diff), comment, approve or request changes, ask for reviewers, merge (merge commit, squash or rebase, deleting the branch), close and reopen, edit title, description and labels.
Issues and work items
Read with the comments, comment, assign to yourself, edit title, description and labels, close and reopen (Azure DevOps: change the state), create one in any repository.
Repositories
Create (in your namespace or an organisation, group, workspace or project), clone addresses, archive, delete; branches (create from another, open a pull request from one, delete); pipelines (start one on a branch, read the jobs, retry, cancel); releases (with notes, publish a draft, delete).

Titles open the page on the provider in a new tab. What Studio reads stays fresh for two minutes; whatever you do from the page clears it. Every action is written to Studio's log with who did it and with which account. A project's own repository is also in its Repository tab, and Home shows a card per account with what waits there.

GitHub

Overview, pull requests, issues, notifications, repositories with branches, Actions runs and releases.

  1. github.com → Settings → Developer settings → Personal access tokens → Tokens (classic) → Generate new token (classic).
  2. Scopes: repo, workflow, read:org, user:email (the commit email) and notifications; administrators add admin:repo_hook (site deploys) and delete_repo (to delete repositories from Studio). The same token clones and pushes in your workspaces (The git hosts).
  3. A fine-grained token works too, for the repositories it names (Contents, Issues, Pull requests, Actions: read and write; Metadata: read), but GitHub does not let it read notifications.

Organisations with SAML single sign-on want the token authorised for them: Configure SSO next to it.

GitLab

gitlab.com or a self-managed GitLab: overview, merge requests, issues, to-dos, projects with branches, pipelines and releases.

  1. GitLab → Preferences → Access tokens → Add new token, with an expiry date.
  2. Scope api (everything on this page). read_api lets you look without acting.
  3. In Studio: the token and, for a self-managed GitLab, its address (https://gitlab.example.com).

Merging when the pipeline succeeds sets auto-merge; deleting a project follows the instance's delayed-deletion setting.

Bitbucket

Bitbucket Cloud: overview, your pull requests and those waiting for your review, repositories with pull requests, issues, branches and Pipelines.

  1. Atlassian account → Security → API tokens → Create API token with scopes, app Bitbucket.
  2. Scopes: read and write on repositories, pull requests, issues and pipelines; read on account (the commit email) and workspace membership; delete on repositories only to delete them from Studio.

Bitbucket has no list of the pull requests waiting for your review: Studio looks for them in the 20 repositories updated last. Issues show for the repositories whose issue tracker is on.

Azure DevOps

One organization per account: overview, pull requests and your votes, work items, repositories with branches and pipelines.

  1. https://dev.azure.com/<organization> → User settings → Personal access tokens → New Token, for that organization.
  2. Scopes: Code (read, write and manage), Work items (read and write), Build (read and execute), Project and team (read).
  3. In Studio: the organization's address and the token. Another organization is another account.

Votes are those of Azure DevOps (approve, approve with suggestions, wait for author, reject); Complete merges now or sets auto-complete for when the branch policies pass. Pull requests across the organization are read from its first 20 projects, or from the one picked in the filter.

Connectors

The clouds and services your servers run on, driven from Studio through their APIs: AWS, DigitalOcean, Hetzner, Cloudflare, Cipi, Boogle, Hackly and Johnny. Servers, DNS, firewalls, volumes, databases, apps, deploys, exceptions and security findings, without opening seven consoles.

For administrators
Connector pages exist only for administrators. PMs, developers and clients never see the menu, the pages or the accounts; they see only what an administrator attached to their project, in its Infrastructure tab.
On or off
A connector is off until an administrator turns it on. Only the ones that are on appear in the menu, in the folding Infrastructure group after Tools.
Many accounts
Each connector holds any number of accounts: several AWS accounts, a DigitalOcean team per client, a Hetzner project each, one Cipi server each, several Boogle, Hackly or Johnny instances.
Credentials
Checked against the provider before they are saved, stored encrypted with APP_KEY, never shown again and never sent to the browser.

Turn a connector on

Administration → Connectors: a card per infrastructure connector with its switch, DigitalOcean on with a 1 attached badge, and Git hosting with the service accounts below
Administration → Connectors. A card and a switch per connector; DigitalOcean is on, with one of its Droplets attached to a project. Below, Git hosting keeps the team's service accounts.
  1. Administration → Connectors. Each card says what the connector drives, how many accounts it has and how many of its things are attached to projects. Below the cards, Git hosting holds the team's git service accounts.
  2. Flip the switch. The connector shows in the menu right away; Open (or Add an account when it has none) takes you to its page.
  3. Turning it off removes it from the menu and closes its pages at the next click. Its accounts, and what is attached to projects, stay, ready for when it is turned on again; delete them from the connector page if they should go.

Accounts

On a connector's page, Accounts (top right) lists the accounts with their state (working or failing, what the provider answered, when it was last checked) and opens the form.

  • Add: Add an account, a name the team recognises (Production, Client X, eu-server-2), the credentials the provider's page below describes, then Check and save. Studio calls the provider with them first: a wrong or too weak token is refused with the provider's own words and nothing is saved.
  • Check: the signal button asks the provider again, for instance after changing the token's permissions there.
  • Rotate a token: create the new one at the provider, Edit the account, paste it, save; then revoke the old one at the provider. Secret fields are empty in the form: left empty, the stored value stays.
  • Remove: deletes the account from Studio. The token still works at the provider until you revoke it there.

The links in the form lead to the page of this guide for that provider and to the provider's own documentation.

Working on a connector page

The DigitalOcean page on the Droplets tab: the account picker, a list of Droplets with search and New Droplet, a Shop Acme badge on one row
A connector page. DigitalOcean's Droplets for the account picked at the top. The Shop Acme badge says that row is attached to that project.
  1. Account: the menu at the top picks the account; the arrow next to it reads everything again from the provider.
  2. Tabs: one per kind of thing (Droplets, Zones, Apps…). AWS has many, so they come in groups (Account, EC2, Lightsail, Databases, Storage & CDN, Route 53): the first row picks the group, the second the tab.
  3. Search and filters: the search box filters what is on screen; filters ask the provider again: the region for AWS, the Cloudflare account, the status of Boogle exceptions and Hackly findings.
  4. Create: the dark button on the right (New Droplet, Add a zone, New app…) opens a form. Choices such as regions, sizes, images, SSH keys or servers come from the provider for the account and region picked.
  5. Row actions: the … menu at the end of a row holds what can be done on it; only the actions that make sense in its state show (no Start on a running server). Buttons on the row itself open what lives inside it, such as the DNS records of a zone or the aliases of a Cipi app; the arrow at the top left goes back.
  6. Attach to a project: the … menu of a row also has Attach to a project…, and a badge on the row names each project it is attached to. See Attached to projects.
  7. Confirmations: anything that stops, deletes or overwrites asks first, in words that say what will happen. Actions with a form ask when the form is sent.
  8. Results: what an action hands back (a new root password, a generated private key, a database password, the nameservers to set, a TXT record to publish, logs, a zone file) opens in a window with Copy. Secrets are shown once: store them, for instance in the Password manager. When the provider is still working in the background (a Cipi deploy, for instance), the window says so and Check again asks once more.

Lists are cached for two minutes per account, so moving between tabs is quick and providers' rate limits are spared; every action from the page, and the refresh arrow, clear the cache of that account. A change made in the provider's own console shows here within two minutes, or at once with the arrow.

Safety. Every administrator can do, on every connector account, everything its credentials allow. The pages ask for your password again, as the SSH terminal does. Give each account the narrowest token that does its job (read only where nobody needs to act), and keep tokens with an expiry where the provider offers one. Every action is written to Studio's log, /opt/studio/shared/storage/logs/laravel.log on the server, as an infrastructure line with the person, the connector, the account, the tab, the action and the row, and the project resource when it ran from a project's tab: grep '"infrastructure"' laravel.log.

When something does not work

Studio saysWhyWhat to do
Refused (401): check the credentialsThe token is wrong, expired or revokedCreate a new one and Edit the account
Not allowed (403): the token lacks a permissionThe token works but may not do thisAdd the permission at the provider (see its page below), then Check
Not reachableThe address is wrong, the host is down, or a firewall or IP allowlist stops Studio's serverCheck the address; allow Studio's IP (Cipi: cipi api ip-whitelist add)
An AWS code such as UnauthorizedOperation or AccessDeniedThe IAM policy lacks that actionAdd it to the policy below
That is no longer in the list. Refreshed.The row changed or went away at the provider since the page was drawnLook at the refreshed list and try again
An empty list where you expect thingsAnother account, region or filterCheck the account at the top and the filters; AWS lists one region at a time

Attached to projects

The members of a project never see a connector's page. An administrator hands them what belongs to their project instead: the Droplet it runs on, its Cloudflare zone, its Cipi app, its Boogle project, with the actions their role may run.

  1. Attach. From the project: Infrastructure → Attach → Pick from an account…, then the account, the kind (apps, zones, buckets, projects…) and the row, searched. Or on the connector's page, find the row and choose Attach to a project… in its … menu. The filters and the region the list was read with are kept, so the project reads it the same way.
  2. The dialog. The project; the name shown in the project; Who sees it (PM, Developer, Client); Who acts on it; and What they may do: the row's own actions, plus the row and list actions of the lists it opens (the DNS records of a zone, the exceptions of a project), each with its list and marked when it is destructive. PMs and developers see it and developers act on it at first; no action is ticked until you tick it.
  3. The badge. The row then shows a badge for each project it is attached to. A click on the badge opens the dialog again: change it, or Detach. Nothing changes at the provider either way.
The Infrastructure tab of Shop Acme on its overview: a card for the Cipi app, the Boogle project, the Johnny bucket, the Droplet and the Cloudflare zone, then the MCP servers, the remote terminal and the backups
Overview. Everything the project runs on at a glance, with what needs attention.
Attach to Shop Acme: the Cipi account Web 1, its apps, the portal app picked, the roles and the actions with everything but destructive ticked
Attach from the project. An account, a kind, a row; the roles and the actions.
The Attach to a project dialog: project, name in the project, who sees it, who acts on it, and the actions they may run with destructive ones marked
Attach to a project. The Droplet goes to Shop Acme as "Shop Acme · production": PMs, developers and the client see it, developers act on it, and may reboot it and take a snapshot.
Luca, a developer, on the Infrastructure tab of Shop Acme: only the attached Droplet Shop Acme · production, with the actions handed to his role
What a member sees. Luca, a developer on Shop Acme, sees in the project's Infrastructure tab what is attached for developers (here the Droplet, with the actions handed to developers), and nothing else of the accounts.
What members see
The project's Infrastructure tab lists what is attached for their role. Each opens as that row alone, read with the administrators' account, and the lists it opens. They never see the account, its token or any other row.
What they may do
Only the actions handed to their role, and only when their role acts on it (a role that acts on it also sees it). List actions of the resource's own list, such as creating another Droplet, are never handed over.
From the project
Administrators see everything attached in the tab, with a bar that says who Sees it, who Acts on it and how many actions are handed over; Who sees and does what changes it, or detaches it. Attach picks a row of any account from there.
The overview
The tab opens on a card for each thing attached, read after the page: a Cipi app's release, load, disk and agent, a zone's records and nameservers, a Boogle project's open exceptions, a Hackly target's findings, a bucket's size, any other row's columns, with what needs attention. Under them, the MCP servers your chats get from them, the project's SSH hosts and its backups.
Logged
Every action is written to Studio's log, as on a connector's page, with who did it and the project resource. Administration → Connectors shows how many things each connector has attached.
The same Infrastructure tab for an administrator: the Sees it and Acts on it bar with the roles and the number of actions, and the Who sees and does what button
The same tab, for an administrator. The bar above the Droplet says who sees it, who acts on it and how many actions are handed over; Who sees and does what changes it.

AWS

One Studio account per AWS account, signed with the access key of an IAM user made for Studio. Studio signs its requests itself (Signature Version 4), no SDK and no CLI on the server.

EC2
Instances: launch (newest Ubuntu LTS or any AMI, type, key pair, security group, subnet, disk, cloud-init), start, stop, reboot, terminate, change type, create an image, console output, termination protection. Key pairs (generate, import), security groups (open and close ports), Elastic IPs, EBS volumes (attach, detach, snapshot, resize), AMIs.
Lightsail, all of it
Instances (create, power, snapshots, firewall ports, SSH access details), instance and disk snapshots (restore to a new instance or disk), static IPs, disks, key pairs, managed databases (power, snapshot, master password, public access), load balancers, container services, buckets (public or private, plan, access keys), DNS zones and records, distributions (CDN), certificates, alarms, the operations log.
The rest
RDS (start, stop, reboot, snapshot, class), S3 buckets (create, delete, region), Route 53 zones and records, CloudFront (invalidate), and on Overview the identity and the cost of the month by service (Cost Explorer charges $0.01 a request, so it is a button).

The credentials

  1. AWS console → IAM → Users → Create user, for instance studio, without access to the console.
  2. Permissions → Add permissions → Create inline policy → JSON: paste the policy below, name it studio. For an account the team only looks at, attach AWS's ReadOnlyAccess instead.
  3. The user's Security credentials → Create access key, use case Application running outside AWS. Copy the Access key ID (AKIA…) and the Secret access key: AWS shows the secret once.
  4. In Studio: both keys and the Default region, the one most of your servers are in (each tab's region filter switches to another). The Session token is only for temporary credentials (STS, IAM Identity Center), which expire within hours: prefer the IAM user.
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": [
      "ec2:*", "lightsail:*",
      "rds:Describe*", "rds:StartDBInstance", "rds:StopDBInstance", "rds:RebootDBInstance",
      "rds:CreateDBSnapshot", "rds:ModifyDBInstance",
      "s3:ListAllMyBuckets", "s3:GetBucketLocation", "s3:CreateBucket", "s3:DeleteBucket",
      "route53:*",
      "cloudfront:ListDistributions", "cloudfront:GetDistribution", "cloudfront:CreateInvalidation",
      "ce:GetCostAndUsage"
    ],
    "Resource": "*"
  }]
}

Keep only what the team uses: without the rds: lines the RDS tab shows AWS's refusal and everything else works. The first Lightsail database or container service needs a service-linked role; if AWS refuses it, add "iam:CreateServiceLinkedRole". To rotate, create a second access key on the same user (AWS allows two), edit the account in Studio, then deactivate and delete the old key.

Typical tasks

  • A new EC2 server with a fixed IP: EC2 → Key pairs → Import a public key (once); Security groups → New security group, then Open a port for 22, 80 and 443; EC2 instances → Launch an instance with that key and group; Elastic IPs → Allocate an IP, then Associate with the instance.
  • A Lightsail server with its domain: Lightsail → Instances → New instance; Static IPs → Allocate a static IP → Attach; DNS zones → New DNS zone, set the nameservers it shows at the registrar, then Records → New record (A, the static IP).
  • Before a risky change: Snapshot in the instance's menu (Lightsail), or Create an image (AMI) (EC2); restore from Instance snapshots → New instance from it.
  • After a deploy: Storage & CDN → CloudFront → Invalidate with /*, or Lightsail → Distributions → Reset the cache.

DigitalOcean

One Studio account per team, with a personal access token of that team.

Droplets (create with region, size, image, SSH keys, backups, IPv6, monitoring, tags, cloud-init; power on, shut down, reboot, power cycle, power off, snapshot, resize, rename, rebuild, backups, root password reset, destroy), domains and DNS records, SSH keys, firewalls (create, apply to Droplets), volumes (attach, detach, resize), snapshots, reserved IPs, load balancers, managed databases (connection details, backups, databases inside), App Platform (deploy, deployments, spec), Kubernetes (kubeconfig, node pools), the usage and balance of the month.

The credentials

  1. cloud.digitalocean.com → API → Tokens: switch to the team to drive first (top left), then Generate New Token.
  2. A name (studio), an expiration, and Full Access; or Custom Scopes with read and write on droplet, domain, ssh_key, firewall, block_storage, snapshot, reserved_ip, load_balancer, database, app and kubernetes, plus read on account, billing, regions, sizes and image.
  3. Copy the token (dop_v1_…, shown once) into Personal access token. One account per team; when the token expires, generate a new one and edit the account.

Typical tasks

  • A new server: SSH keys → Add a key (once); Droplets → New Droplet with region, size, image and the key; Firewalls → New firewall with 22, 80, 443 and the Droplet.
  • Its domain: Domains → Add a domain (with the Droplet's IP for the apex), set the nameservers ns1–ns3.digitalocean.com at the registrar, then DNS records → New record for www.
  • Bigger: Shut down, Resize (tick the disk only if you will never go back), Power on.

Hetzner

Hetzner Cloud. A token belongs to one project, so each project is a Studio account of its own.

Servers (create with type, location, image, SSH keys, firewalls, IPv4/IPv6, backups, cloud-init; power on, shut down, reboot, reset, power off, snapshot, change type, rename, rescue mode, root password reset, rebuild, backups, protection, delete), SSH keys, firewalls (inbound ports and the servers they apply to), volumes, floating and primary IPs, networks, load balancers, snapshots and backups, managed certificates, DNS zones and record sets.

The credentials

  1. console.hetzner.com → the project → Security → API tokens → Generate API token.
  2. A description (studio) and Read & Write; Read lists but cannot act.
  3. Copy the token (shown once) into API token. Name the Studio account after the project.

DNS zones are the project's zones in Hetzner Console (DNS inside the Cloud API). Zones still on the old dns.hetzner.com do not show until they are moved to the Console.

Typical tasks

  • A new server: SSH keys → Add a key; Firewalls → New firewall with 22, 80, 443; Servers → New server with type, location, image, the key and the firewall. Without a key Hetzner sets a root password, which Studio shows once.
  • Locked out of a server: Rescue mode (Studio shows the rescue root password), then Reboot; fix it over SSH; Leave rescue mode and reboot again.
  • Open one more port: Firewalls → Inbound ports and edit the list; it replaces the rules of that firewall.

Cloudflare

One Studio account per API token. A token can reach several Cloudflare accounts: the account tabs have a filter to pick one.

Zones (add, with the nameservers to set; purge everything or some URLs; SSL/TLS mode, Always use HTTPS, minimum TLS, security level and I'm under attack, development mode, Brotli; current settings; pause, activation check, delete), DNS records (create, edit, proxy on and off, delete, export as BIND), Workers, Pages (deploy, recent deployments), R2 buckets and tunnels (create, the command that runs them, public hostnames).

The credentials

  1. dash.cloudflare.com → My Profile → API Tokens → Create Token → Create Custom Token. Not the Global API Key, which Studio does not accept.
  2. Permissions, keeping only the rows you need:
    ScopePermissionFor
    ZoneZone: Edit · Zone Settings: Edit · DNS: Edit · Cache Purge: PurgeZones, settings, records, purge
    AccountAccount Settings: ReadListing the accounts (needed)
    AccountWorkers Scripts: Edit · Cloudflare Pages: Edit · Workers R2 Storage: Edit · Cloudflare Tunnel: EditThe Workers, Pages, R2 and Tunnels tabs
  3. Account Resources: the account(s) to drive; Zone Resources: All zones from an account, or only some zones. An expiry (TTL) is a good idea.
  4. Copy the token (shown once) into API token.

Typical tasks

  • Move a domain to Cloudflare: Zones → Add a zone (the existing records are imported); set the two nameservers Studio shows at the registrar; Check activation until the zone is active; then Settings → SSL/TLS Full (strict) and Always use HTTPS.
  • Under attack: the zone's Settings → Security level I'm under attack; back to Medium when it is over.
  • After a deploy: Purge everything, or Purge URLs for a few files.

Deploy on Pages builds the production branch again, for projects connected to git; projects uploaded by hand deploy from where they are built.

Cipi

Servers run with Cipi: one Studio account per server, through the Cipi API, the same the Cipi GUI uses to manage a fleet.

The server's status, services, PHP and disk by app; apps (create Laravel, custom or Octane apps; deploy, roll back, unlock, deploy history, aliases, SSL over HTTP or Cloudflare DNS-01 with wildcards, force HTTPS, www redirect, Artisan, whitelisted commands, logs, .env read and set, edit domain, PHP, repository and branch, password protection, health check, limits, cipi.yml plan, apply and auto-apply, fix permissions, suspend, delete), databases (create, backup, new password), services (restart), the cipi user's SSH keys, PHP versions (install).

The credentials

  1. Point a host of the server to it in DNS, for instance api.server1.example.com.
  2. On the server, as root: cipi api api.server1.example.com, then cipi api ssl for its certificate.
  3. cipi api token create, choosing the abilities when asked (php artisan cipi:token-abilities lists them). For everything Studio does: apps-view, apps-create, apps-edit, apps-delete, apps-suspend, apps-basicauth, apps-env, apps-artisan, apps-run, deploy-manage, aliases-view, aliases-create, aliases-delete, ssl-manage, www-manage, dbs-view, dbs-create, dbs-manage, services-view, services-manage, ssh-view, ssh-manage, php-view, php-manage, health-view, status-view, disk-view, yml-view, yml-manage. With fewer, the matching tabs and actions answer 403; without yml-view or yml-manage (tokens created before Cipi 5.6.4 lack them) the cipi.yml tab says so.
  4. If the API's IP allowlist is in use, add Studio's server: cipi api ip-whitelist add <Studio's IP>.
  5. In Studio: the API address (https://api.server1.example.com) and the API token. Name the account after the server. Revoke an old token with cipi api token list and cipi api token revoke <id>.

Typical tasks

  • A new Laravel app: Apps → New app with user, domain, repository (SSH address), branch, PHP and database. The result window holds the app's SSH and database passwords, the deploy key and the webhook: save them, add the deploy key to the repository, the webhook to the git host. Then Deploy, then Install SSL.
  • One more domain: the app's Aliases → Add an alias, then Install SSL again so the certificate covers it; www redirect chooses between www and the bare domain.
  • Something broke after a deploy: Logs (Laravel, nginx, PHP-FPM, workers, deploy), then Roll back; Unlock the deploy only when a deploy is stuck.
  • A setting: Set .env keys (KEY=value per line), then deploy or run Artisan config:cache.

Most changes run as jobs on the server: Studio waits a few seconds and shows the result; for longer ones (a first deploy, an SSL certificate) the window offers Check again.

A Cipi app in a project

Attach the app to its project (Attached to projects) and it opens there as one place, each part shown to the roles its actions are handed to:

A Cipi app in its project: releases on the server with the live one and Roll back here, the deploy history, the server load and the app’s disk
Releases. What runs, what ran before, who deployed it, and the server it runs on.
Releases
The releases on disk with their commits and which one is live (read from the Cipi agent), the deploy history (published, failed, rolled back, by whom), Deploy and Roll back (Cipi goes back one release at a time), the job's output as it runs, the server's CPU, memory and disk, the app's share of the disk and its limit, stopped services.
Logs and .env
Laravel, nginx, PHP-FPM, workers and deploy logs, page by page, filtered, refreshed every ten seconds if you like. The .env with secrets hidden until shown, and a form that sets and removes keys.
cipi.yml
The cipi.yml of the live release (aliases, PHP and its settings, limits, workers, scheduled commands, databases, backups, deploy steps) and its plan: no file, not valid with the parser's lines, blocked with what to solve first, or the changes one per line, with warnings and notes. Apply cipi.yml runs as a job and ends with what it did (applied, nothing to change, partly applied, blocked, not valid, no file). Turn auto-apply on applies the file after every successful deploy, CLI, panel and Git webhook alike, and asks first: anyone who can commit to the repository then changes the app's server configuration. Needs Cipi 5.6.4 and cipi/api 1.35, and a token with yml-view and yml-manage; an older server or token gets a note, not an error.
An anonymized database
With the Cipi agent's anonymizer on, a developer asks for a copy of the production database with names, emails, phones and passwords replaced: the app dumps it, transforms it and mails a download link, valid a few minutes. Real data never leaves the server as it is.
The anonymization file
~/.db/anonymization.json, edited in a table: start from the file on the server, from a proposal read from the live schema, or from a Laravel start; pick each column's transformation (fakeEmail, mask:3,2, password…, unique, consistent), the tables to empty, the locale; write it back over SFTP as the app's user, or download it, or let Cipi write one from the schema; then the agent's audit says what is covered and what is not.
MCP in the chats
The Cipi agent's MCP server (/cipi/mcp: health, deploys and releases, logs, Artisan, database queries and schema, the anonymizer) reaches the chats of the project as cipi-<app> with no setup, for those who act on the app; its token is read from the app's .env, or typed in. The server's own MCP server (/mcp on the API host, every app of the server) is off unless an administrator turns it on, and needs a token with the mcp-access ability. They show in Settings → MCP servers too.
SSH
An administrator adds the app's user (<app>@<server>, with its password or a system key) as an SSH connection of the project: its developers open it from the workspace's terminal (Remote) and the SSH page, each with a credential of their own.
The Database tab of a Cipi app: an anonymized copy requested by email, a backup on the server, and the anonymization file proposed from the schema in an editable table
Database. An anonymized copy for developers, and the anonymization file from the live schema, edited and written back.
Agent and access of a Cipi app: the agent’s MCP server on, the server’s off, tokens for administrators, the app’s user as an SSH connection of the project
Agent & access. The MCP servers the chats get, and SSH as the app’s user.

In the app, the agent: composer require cipi/agent, then php artisan cipi:service mcp --enable and cipi:generate-token mcp, and the same with anonymize; the API token needs apps-env for Studio to read their tokens. Check the MCP server lists the tools the agent answers with.

Boogle

Boogle, the exception tracker and uptime monitor: one Studio account per instance.

Exceptions and outages of every project or of one (filters by status and project; details; mark as open, read, fixed or done, with an optional note), projects (create, edit, delete, the installation keys for the app), groups and their issue prefixes.

The credentials

  1. On the Boogle panel, signed in as an administrator: Profile → API tokens, create a token named studio. Boogle's admin API answers only to administrators' tokens.
  2. In Studio: the Address of the instance (https://boogle.example.com) and the API token.

Typical tasks

  • Morning triage: Exceptions opens on the open ones; Details for the stack, then Mark as Read, or Change status with a note to say who takes it.
  • Watch a new app: Projects → New project with its address and uptime URL; the result window holds the key, the token and the endpoint the app's Boogle client needs.

Hackly

Hackly, the security scanner: one Studio account per instance.

Posture, compliance and scanners (weekly digest, re-probe), findings (filters by status and severity; details, Markdown, a fix prompt to hand to the agent, triage with a note, read-only share links), targets (add, DNS TXT verification, scan with a profile, linked repositories, pause, delete), repositories (add, scan, refresh, links), target and repository scans (report, cancel, run again), penetration tests (authorize, check the TXT, start), GitHub tokens.

The credentials

  1. On Hackly: Profile → API tokens, a token with the write ability. read only looks; * also mints tokens, which Studio does not need. On the Hackly server instead: php artisan hackly:token you@example.com --ability=write.
  2. In Studio: the Address of the instance (https://hackly.example.com) and the API token (hk_…, shown once).

Typical tasks

  • Scan a new site: Targets → Add a target; publish the TXT record from the result window (in the Cloudflare, Route 53, Lightsail, DigitalOcean or Hetzner connector, in the same Studio); Check the TXT record; then Scan with a profile.
  • Fix a finding with the agent: Fix prompt for the agent, Copy, paste it into a conversation of the project; when it ships, Triage as fixed.
Scan only what you may. Hackly scans targets whose DNS proves ownership; a penetration test needs its own fresh authorization. Studio starts them, it does not lift those checks.

Johnny

Johnny, S3-compatible storage on your own server (Garage behind Caddy): one Studio account per panel, as many panels as you run.

Buckets (create, details, delete an empty one; the default bucket stays), the keys that reach each bucket with their permissions (give a key read, write or owner, take them away), the keys themselves (create one: its secret shows once; delete), and Bucket with its key: a bucket, a key of its own with every permission on it and the .env lines of a Laravel s3 disk, in one step.

The credentials

  1. On the Johnny panel: Settings → Panel API tokens, create a token named studio; or, on its server, sudo -u www-data php /opt/johnny/panel/artisan johnny:api-token you@example.com --name=studio.
  2. In Studio: the Panel address (https://panel.example.com) and the API token. Studio checks it by listing the buckets.

Typical tasks

  • Storage for a new app: Buckets → Bucket with its key, a name or none (Johnny makes a b-… one); copy the env lines of the result into the app's .env or a password manager item: the secret does not show again.
  • One more app on a bucket: Keys → New key, then on the bucket Keys → Give a key access with read and write.
  • A project's bucket: Attach to a project… in the bucket's menu; its developers see its keys in the project's Infrastructure tab and, if you tick it, may give a key access.

Architecture

Laravel 13, Livewire 4 with Flux, Fortify, Reverb. A Node bridge per workspace. One bash helper with root.

browser ──WebSocket / HTTP──▶ Studio (Laravel) ──HTTP──▶ bridge (in the workspace) ──stdin/stdout──▶ claude -p ▲ ▲ │ └──── Reverb broadcasts ───────┴──── POST /api/bridge/events ──┘ per-workspace callback token Studio ──sudo──▶ studio-admin create sites and workspaces, deploy, start, stop (JSON in, JSON out) Studio ──HTTPS──▶ <key>.<domain> GET /larapilot/api/specs, /metrics Git host ──webhook──▶ Studio push on the deploy branch → deploy the site studio-update (root) ──▶ /opt/studio the channel's newest build: system step, build, migrate, switch, or roll back Caddy ──ask──▶ Studio may I issue a certificate for this host? Caddy ──forward_auth──▶ Studio may this visitor open this site or preview? (projects with access rules) Studio ──HTTPS──▶ MCP servers the Test button; the chats reach them from the workspace Studio ──HTTPS──▶ git hosts, clouds Tools → Git, the Repository tab, Home's git cards; the connectors' pages bridge ──stdio──▶ Playwright MCP the agent's browser, signed in to the preview with the person's pass
App\Bridge\BridgeClient

Sends turns, permission answers and interrupts to the bridge, warms the process of the next turn, and tells it with every turn where to call back and with which token.

App\Bridge\IngestBridgeEvents

Turns the bridge's events into messages, permission requests, status changes and ConversationUpdated broadcasts. text_delta is broadcast only, never stored.

App\Workspaces\WorkspaceManager

Picks the driver: LocalDriver for development, NativeDriver for workspaces on this server through the helper.

App\Server\StudioAdmin, ProjectSites

The client of the helper, and the lifecycle of a project site: create, deploy, destroy, the push webhook.

App\Git\Providers

GitHub, GitLab, Bitbucket, AzureDevOps behind one GitProvider: who a token belongs to, where it may create repositories, the repository itself, the push webhook and how its deliveries are verified, the git user name and the variables the agent's CLI and Larapilot read.

App\Models\ProjectMember, ProjectResource

A person's role on a project (User::roleIn reads it, and says administrator for an administrator everywhere); a connector's row attached to a project, with the roles that see it, the roles that act on it and the actions handed over.

App\Infrastructure\Connectors, App\Infrastructure\Git\Forges

The infrastructure connectors and the git hosts behind one model: accounts, sections with their columns, filters and actions, and the API client that runs them; the same console draws a connector page, Tools → Git and a project's Repository tab.

App\Workspaces\Sandboxes

A conversation's sandbox: the worktree the bridge makes, the helper's database, build and preview host, merge, push and removal.

App\Server\Updates

Reads the updater's state for Administration → System and asks the helper to check, to start an update (forced or not), to switch the channel or the nightly timer.

App\Server\SiteAccess, SitePass

The access rules of a host (always the Studio login, narrowed by address lists and branch overrides) and the one-time token and per-host pass that let a Studio member in.

App\Models\ProjectMcpServer, App\Mcp\McpProbe

The MCP servers of a project, with their encrypted header and roles, and the initialize call behind Test.

Jobs

ProvisionWorkspace, StartWorkspace, StopWorkspace, SendTurn, AnswerPermission, RefreshWorkspaces, ProvisionProjectSite, DeployProjectSite, ConfigureProjectSite, DestroyProjectSite, DestroyWorkspace, ProvisionSandbox, RemoveSandbox, SyncWorkspaceCredentials on the database queue, so a clone or a build never blocks a page.

Events the bridge sends

EventStudio does
initKeeps the session id and the model; the conversation is working
text_deltaBroadcasts the slice to the open chat; nothing stored
text, thinkingStores an assistant message (reasoning hidden unless Details is on)
tool_use, tool_resultStores the call and folds the result under it; images in a result are kept on Studio's disk for the chat
taskA subagent started or finished: the status and times of its card
permission_requestCreates the pending request; the conversation waits
permission_resolvedMarks the request if it was still open; working again
resultIdle (or failed), keeps cost and usage, closes dangling questions as denied
errorA red notice; the conversation is failed until the next message
statusBroadcast only (rate limits, background task notes)
plan_usageKeeps the plan's usage (five-hour window, week) on the Claude account
anything elseStored raw and hidden, so a renderer added later can show it

The bridge

A zero-dependency Node service in bridge/. It starts, per conversation, claude -p --output-format stream-json --input-format stream-json --include-partial-messages --verbose --permission-mode <mode> --permission-prompt-tool stdio, keeps stdin open so the next turn is one more line, and resumes with --resume <session> after the idle release. A control_request of kind can_use_tool is held until Studio answers; the answer is written back as a control_response.

MethodPathBody
GET/healthopen: version and uptime only
GET/infoversion, workspace directory, sessions
POST/conversations/{key}/turns{text, session_id?, permission_mode?, model?, effort?, auth?, account?, claude_dir? | api_key?, mcp_servers?, browser?, sandbox?, callback: {url, token}} → 202, or 409 while a turn is still running; mcp_servers is {name: {type: "http", url, headers}}, browser is {url, cookies} (the preview and the person's pass), sandbox the name of a sandbox to run in; a change of any of them starts a new process
DELETE/conversations/{key}stops its Claude Code and forgets it (a deleted conversation)
POST/conversations/{key}/permissions/{request_id}{behavior: allow|deny, message?}
POST/conversations/{key}/interrupt—
GET/skillscustom skills from .larapilot/skills and .claude/skills
POST/sandboxes{name, branch, base?} → 201: a git worktree of the workspace on a new branch
GET, DELETE/sandboxes/{name}its branch and state; remove it (its Claude Code stopped first, ?branch=1 deletes the branch too)
POST/sandboxes/{name}/commit{message} commits what the sandbox holds, before a merge
POST/run{command} → 202 with the run; refused with 422 when not on the allowlist (one-shot commands without a terminal, for scripts)
GET/run, /run/{id}recent runs, one run with its output so far
POST/run/{id}/killstop a run
GET/gitbranch, status, stat, diff of the working tree
GET/git/log?limit=, /git/branches, /git/commit/{sha}history with parents and refs; local and remote branches; one commit with stat and patch
POST/git/checkout, /git/fetch{branch} switches the working tree; fetch with prune
POST/git/commit, /git/discard, /git/stash{message} stages everything and commits (concluding an open merge); {path} or nothing throws changes away; {pop} stashes or brings the newest stash back
POST/git/pull, /git/pushpull with a merge; push, setting the upstream on origin the first time
POST/git/merge, /git/merge/abort, /git/revert{branch} merges into the current branch (a conflict leaves it open); abort it; {sha} adds a commit that undoes one
POST, DELETE/git/branches{branch, from} creates a branch and switches to it; ?branch= deletes a merged local branch
GET/files?path=, /files/read?path=one folder (folders first, .git hidden); a file's text with the hash of its bytes, or binary / too_large
PUT/files{path, content, hash} writes atomically; 409 when the file no longer matches hash
PUT/files/upload?path=the request body as a new file (the drive's Copy / Move into the workspace), &overwrite=1 to replace
POST/files, /files/rename{path, type} creates a file or folder; {from, to} renames or moves
GET/files/download?path=a file's bytes, streamed
POST/files/zip, /files/unzip{paths} zips items of one folder next to them; {path} extracts a zip next to it, over nothing that exists, within BRIDGE_UNZIP_MAX
GET/shell?cols=&rows=Upgrade: studio-shell → 101 and one socket of newline-delimited JSON (data, resize in; data, exit out): the login shell on a terminal, for the Terminal tab through the SSH gateway
DELETE/files?path=a file, or a folder with its contents; never the workspace itself

Every route but /health wants Authorization: Bearer $BRIDGE_TOKEN. With an X-Studio-Sandbox: <name> header, the /git, /files and /run routes work in that sandbox instead of the workspace. Environment: BRIDGE_TOKEN, BRIDGE_PORT (4455), BRIDGE_HOST (127.0.0.1), WORKSPACE_DIR, CLAUDE_BIN, BRIDGE_IDLE_TTL (600 s), BRIDGE_FLUSH_MS (100), BRIDGE_SANDBOX_ROOT (where sandboxes go), BRIDGE_BROWSER_MCP (the Playwright MCP command; unset, no browser), BRIDGE_STUDIO_AGENTS (Studio's subagents and context, on by default), and the terminal and file limits in Configuration.

The protocol follows Claude Code's stream-json as documented by Spatie's Bloom. --permission-prompt-tool stdio is not in Anthropic's documentation: workspaces run Claude Code with auto-update off, so it changes only when you update it, and the bridge's tests, part of CI, run against a stand-in that speaks the protocol.

On the server

studio-admin is a bash script with root, allowed to the studio user through sudo for a fixed list of commands. Names travel as arguments and are validated against [a-z0-9-]; secrets travel as JSON on stdin; the answer is one JSON object. Studio calls it from queued jobs.

CommandDoes
project-bootstrap <key>For a repository Studio just created: the latest Laravel, Laravel Boost and Larapilot, installed, committed and pushed.
project-create <key>Linux user, clone with the deploy token, database, .env, build with dev dependencies, migrations, PHP-FPM pool, Caddy host, the services of the project settings (cron, queue workers or Horizon, Reverb, Pulse) and the access check when the project has rules. Returns the Larapilot API token and the commit.
project-deploy <key>Fetch, reset to the branch, build, migrate, restart the services. Returns the commit.
project-configure, workspace-configureApply changed project settings to the site or to one preview: services, cron, Caddy host and access check.
project-delete <key>Removes services, host, pool, database, user and files.
workspace-create <user> <key>Linux user ws-<user> if new, the env file with the person's tokens, clone with their token, database copied from the site, .env, build, custom skills registered, pool, Caddy host, the bridge as a systemd service.
workspace-envRewrites the tokens (the git token and user name, the provider's variables for the agent, the Claude credential) and restarts the bridge.
workspace-start, -stop, -status, -deleteWhat they say. Stop also kills the person's processes in that directory; delete removes the workspace's sandboxes too.
sandbox-create <user> <key> <id>, sandbox-deleteFor the worktree the bridge made for a conversation: its .env, a copy of the workspace's database, the build and a preview host; and their removal.
claude-login, claude-status, claude-logout, claude-forgetThe official claude auth of the person, in the folder of one of their Claude accounts (~/.claude or ~/.claude-<name>); forget removes a folder, never following its links.
git-cli <host>Installs the agents' CLI of a git host (gh, glab, the Azure CLI) the first time a workspace on it needs it.
update-check, update-start [force], update-channel, update-autoFor the System page: ask studio-update what the channel would install, start studio-update.service or studio-update-force.service (their own units, so they outlive the queue worker they restart), switch the channel and the nightly timer.
system-update-start, system-update-autoStart studio-update system as studio-system-update.service, switch the nightly server update. Neither starts while an update of Studio or of the server runs.

Two drivers in Studio: local points every workspace at one bridge on the developer's machine, for working on Studio itself; native is the one the installer configures. A workspace keeps the driver it was created with.

Security

  • Accounts: invite-only; email and password with two-factor and passkeys; roles, read on each project, enforced by policies on every page and action.
  • Previews and sites: served over HTTPS by Caddy. A preview runs with APP_DEBUG=true: every project host is behind the Studio login and the project assignment, narrowed by the access rules (address lists, branch overrides), which Caddy checks before the app sees the request. Studio's own session cookie never reaches a project host.
  • Bridge: listens on the loopback only, one port per workspace, with a token per workspace. Its callbacks carry a second token per workspace that Studio stores hashed and matches on every request.
  • Root: only studio-admin, through sudo, for named commands with validated arguments. Studio never runs shell commands of its own.
  • Secrets: git and Claude tokens, bridge and callback tokens, webhook secrets, MCP server headers and the Larapilot API token are encrypted at rest with the app key. On the server, each person's tokens sit in a root-owned file readable by their Linux user only, and git gets the token from the environment through an askpass helper, never from a file.
  • The agent: runs as ws-<user>; Unix permissions keep it out of other people's homes and out of the project sites; managed settings deny reading the login files (~/.claude-* too) and disable bypass mode. It is not a kernel boundary between two workspaces of the same person. Its browser carries only the pass of the preview host it works on, and Chromium keeps its own sandbox.
  • Infrastructure: connector accounts are the administrators', checked and stored encrypted; their pages ask for the password again. Members reach only the rows attached to their projects and the actions handed to their role, checked on the server for every call, and every action is logged with who did it.
  • Updates: studio-update runs as root and installs the release tags of the repository in studio.env (and, on a beta server, the head of main). Whoever can push such a tag, or push to main for beta servers, can run code as root on every server that updates from it: protect the tags and the branch, sign them, and list the allowed keys in /etc/studio/update-signers so an unsigned or foreign build is refused. Turn the nightly updates off to read each release before installing it.
  • Transport: HTTPS everywhere; Studio's loopback listener on 8081 serves only the TLS question, the access check of protected hosts and the bridges' callbacks.

For zero public exposure put the server on a tailnet; then every person needs the client. Most agencies will keep Studio public with two-factor on.

Configuration

The installer writes /opt/studio/shared/.env, which every release links. The keys that are Studio's own:

VariableMeaning
STUDIO_DOMAINThe domain every host hangs under
STUDIO_WORKSPACE_DRIVERnative on a server, local while developing Studio
STUDIO_GIT_PROVIDER, STUDIO_GIT_URLOnly the installer's: the host of the first administrator's token (github, gitlab, bitbucket or azure, with the address of a self-managed GitLab or https://dev.azure.com/<organization>) and the CLI it preinstalls. Every host works whatever they say
STUDIO_PHP_VERSIONSThe PHP versions a project can pick, kept by the installer, the updater and Administration → System → PHP in step with what is installed (8.5, or 8.4,8.5 once 8.4 is added)
STUDIO_UPDATE_STATE, STUDIO_UPDATE_REPOSITORYWhere the updater leaves its state (/var/lib/studio-update/state.json); the repository the release links point at
STUDIO_HELPER, STUDIO_HELPER_SUDO, STUDIO_HELPER_TIMEOUTPath of studio-admin, whether to go through sudo, seconds a command may take (1200)
STUDIO_BRIDGE_PORT_BASEBridges listen on 127.0.0.1 at base + workspace id (42000)
STUDIO_CALLBACK_URL, STUDIO_BRIDGE_TIMEOUTWhere bridges post events: http://127.0.0.1:8081/api/bridge/events on a server; seconds Studio waits for a bridge (15)
STUDIO_LOCAL_BRIDGE_URL, STUDIO_LOCAL_BRIDGE_TOKEN, STUDIO_LOCAL_APP_URLThe one bridge and preview of the local driver
REVERB_*, VITE_REVERB_*Websockets for the live chat; Caddy proxies /app and /apps on the Studio host to Reverb
BRIDGE_FILE_MAXBridge: largest file the Files tab opens or saves, in bytes (512 KB)
BRIDGE_RUN_TIMEOUT, BRIDGE_RUN_OUTPUT, BRIDGE_RUN_HISTORYBridge: seconds a terminal command may run (600), bytes of output kept (200 KB), runs remembered (20)

config/studio.php holds the permission preset and the allowed modes per role, the model and effort lists, and the terminal shortcuts. What changes per project (services, access rules, MCP servers) lives in the project settings, not in files. /etc/studio/studio.env holds what the helper and the updater need: the domain, the paths, the PHP that runs Studio, the repository releases come from (STUDIO_REPO), AUTO_UPDATE, UPDATE_CHANNEL (stable or beta), SYSTEM_UPDATE (the nightly server update, on by default) and SYSTEM_REBOOT (off by default).

Local development

Terminal
  1. composer setup && php artisan studio:make-admin
  2. composer run dev # server, queue, logs, vite · add: php artisan reverb:start
  3. cd ~/code/some-laravel-app && BRIDGE_TOKEN=local-bridge-token WORKSPACE_DIR=$PWD node ~/code/studio/bridge/bin/bridge.js

The bridge drives the claude on your machine with your login. Create a project in Administration, add yourself, open it: with the local driver the workspace is running at once and the chat talks to that bridge, no git or Claude account needed. php artisan db:seed --class=DemoSeeder gives the agency of the screenshots, password password for everyone.

Checks
  1. composer test # pint, phpstan, pest
  2. cd bridge && npm test # node:test with a stand-in Claude CLI
  3. bash tests/installer/studio-update.test.sh # the updater in a sandbox