Remote script. The installer is piped from the internet straight into sudo bash, so read it first if your policy requires it.
Credentials. The Claude subscription, API key, or relay credential you add is stored in Agentbox on your server.
Who it is forA developer with a spare Linux server who wants to pick up a coding project from a laptop or phone without setting up tools on each device.
The problemClaude Code needs a configured environment, and it has to be set up again on every machine you work from.
The outcomeClaude Code runs inside a Docker workspace on your server, and you chat with it and see its work from a browser.
What you need first
- A Linux server (x86_64 or arm64) with systemd and a local Docker Engine
- A Claude or Codex subscription, API key, or compatible relay account
- A browser on your laptop, desktop, or phone
- Optional: a Git repository and HTTPS token, SSH key, or GitHub or GitLab OAuth for pushing and opening PRs or MRs
Steps
- Run
curl -fsSL https://raw.githubusercontent.com/devilcoolyue/agentbox/main/install.sh | sudo bashon the server (the installer downloads a package and starts Agentbox.service). - Open http://YOUR_SERVER_IP:8180 and sign in as
boxadminwith the generated password printed by the installer. - In System settings, open Account pool, add a Claude account, and fetch its models.
- Create a workspace from an empty project, an uploaded archive, or a Git repository, and select the Claude account.
- Describe the task in Chat, then check the result in Files and Changes.
Prompt for your agent
Use the agentbox repo at github.com/devilcoolyue/agentbox to set up a Claude Code workspace on the server <server-host>. Confirm that agentbox.service is running and that the web console answers on port 8180, then report the workspace URL. Do not share the generated admin password in logs.
Caveat. Each workspace defaults to 2 GiB of memory and 2 CPUs, so size the server for the number of workspaces you run at once.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page