Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

Agent Box

Claude Code, opencode, and Kilo CLI in a persistent web terminal - start agent runs from anywhere, close the tab, reattach later.

2 GiB

1 service, 10 GB disk

$10/mo

flat resource

$0.025/h

Usage Billing

What is Agent Box?

Coding agents got good enough that the bottleneck moved: your laptop has to stay open while they work. Agent Box moves the agent to the platform - a persistent container with Claude Code, opencode, and Kilo CLI preinstalled, reachable from any browser as a web terminal (ttyd + tmux) behind basic auth.

The workflow it unlocks: kick off a long agent run from a laptop or phone, close the tab, and reattach later - the tmux session keeps running server-side, and the 10 GB /workspace volume survives redeploys. Clone your repos once; your agents and their context live there.

Two variables - TTYD_PASSWORD for the terminal and ANTHROPIC_API_KEY for the agents (billed to you) - and you have a development box that never sleeps.

What you get

  • Claude Code, opencode, and Kilo CLI preinstalled and updated
  • Browser terminal via ttyd - works from phones and tablets
  • tmux sessions persist across disconnects: start, close tab, reattach
  • 10 GB /workspace volume survives redeploys
  • Basic auth on the terminal; API key stays server-side
  • git, gh, and the usual toolchain included

How it runs on Lyngbak

ServiceRolePublic
agent-boxweb terminal (ttyd + tmux) with agents insideyes (basic auth)

Before you deploy

  • TTYD_PASSWORD

    terminal basic auth

  • ANTHROPIC_API_KEY

    used by the agents, billed to you

Sizing and billing

2 GiB covers agents plus typical build tooling. Heavy compiles or test suites inside the box may want more RAM - agents are only as fast as the box they think in.

Hobby resource$10/mo1 vCPU, 1 GiB + 1 GiB RAM add-on, 10 GiB disk, shared CPU
Pro resource$25/mo1 vCPU, 2 GiB, 10 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.025/h1 vCPU, 2 GiB reserved. $18/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.047/h1 vCPU, 2 GiB reserved. $34/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.77 GiB of volumes cost $0.15 per GiB a month ($1.47/mo) for as long as they exist. One workspace can use both. See pricing

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Why run Claude Code on a server instead of my laptop?

Long runs survive sleep, network drops, and closed lids. The tmux session keeps executing while you are away, and reattaching from any device shows you what happened - agent time stops being coupled to laptop-open time.

Is it safe to expose a terminal to the internet?

The terminal sits behind basic auth over HTTPS, and the API key lives only in server env. Use a long random TTYD_PASSWORD and treat the box like any dev machine: real credentials only where needed, and remember the agents inside can run arbitrary commands - that is the point.

How do I reattach to a running agent session?

Open the app URL, authenticate, and you land back in tmux - the session never ended. From a second device the same applies; tmux multiplexes happily.

What does it cost to run?

The box itself is 2 GiB of compute, on a flat resource or by the second on Usage Billing. The real cost is API usage by the agents, billed to your Anthropic key - the box just keeps them running while your laptop does not have to.

More in AI Agents

Hermes Agent

Nous Research’s self-improving agent - learns skills from experience, with cron, hooks, and a web dashboard.

Open the template →

Kilo (headless)

Kilo in server mode - a persistent remote coding agent your IDE extension and CLI clients attach to.

Open the template →

OpenClaw

An autonomous AI agent you run yourself: web dashboard, scheduled tasks, plugins, persistent workspace.

Open the template →
Agent Box: Run Claude Code in the cloud: persistent web terminal (Agent Box) | Lyngbak (formerly Miget)