Skip to content
Always-on agents

Keep it running all month.

One machine of 2 vCPU and 4 GiB that never sleeps, for $89 a month, with no Pro plan needed.1

Get 30 minutes free every day, forever.2SOC 2 Type II399.9% uptime SLA on Pro3
The machine

Reach it and watch it from anywhere, and get it back if a server fails.5

Back after a failure

Your machine comes back on another server with its memory and files.5

Webhooks in

Each port it opens gets a public URL that services can call.6

Metrics and logs

Watch its CPU and memory use, and read the logs it writes.6

The E2B SDK

Start it once and check on it days later.

  1. 1
    Run it in the background

    Create the machine and start agent.py.

  2. 2
    Keep its ID

    One string finds the machine again.

  3. 3
    Connect again

    List what the machine is still running.

Sample8
from e2b import Sandbox

# start it once, from any script
sbx = Sandbox.create("your-agent")
sbx.commands.run("python agent.py", background=True)
agent_id = sbx.sandbox_id  # keep this

# days later, from any script
sbx = Sandbox.connect(agent_id)
print(sbx.commands.list())  # agent.py, still running
running
Pricing

Your waiting agent’s usage: $42.75 a month here, $120.89 on E2B.9

SealedBox What you pay above SealedBox24 h Longest session
SealedBoxNo limit$42.75
E2B24 h+$78.14$120.89

One agent with 2 vCPU and 4 GiB, kept running for a month. Waiting means its CPU is busy 5 minutes an hour. E2B’s list prices, read 23 November 2026. SealedBox bills the CPU your agent uses and the memory it holds. Usage only; plan fees are separate: Pro is $99 a month here, $150 on E2B.9,10,11

Or pay a flat $89 a month for an always-on machine, with no Pro plan needed.1Work out your own bill
The sealed gate12

Sleep while it runs.

While you’re away, the gate refuses what you never allowed and holds only the risky calls for your OK. Approvals come with Pro.13

  • 5 of 50 failures14
    Move your money

    Payments over your limit ask you first.

  • 7 of 50 failures14
    Run up your bill

    A spend cap and a stop button end it.

Answers

Questions about always-on agents.

Still have a question?Book a callAll questions
Why not a VPS?

Here each agent gets its own isolated VM, runs your E2B code unchanged, and comes back on another server with its memory and files if one fails.5,6,7

Always-on machine or Pro?

For one agent, the always-on machine: a flat $89 a month for 2 vCPU and 4 GiB, with no Pro plan needed. Pro is $99 a month plus usage ($42.75 a month for a machine that mostly waits, $96.71 busy) and adds larger machines, 100 at once and approvals.1,9,11,13

What stops a surprise bill?

A spend cap you set, with alerts at 50%, 80% and 100%. At the cap, new machines are refused and running ones pause.15

How long can a machine run?

Free: 30 minutes a day. With a card on file: 1-hour sessions. Pro: no session limit. An always-on machine never sleeps.1,11,2

Will my E2B code work here?

Yes. What you use on E2B is live here. Your own templates rebuild once; running machines stay on E2B, so start fresh ones.7

Get 30 minutes free every day, forever.2

1 vCPU and 1 GiB One machine at a time 10 GiB of disk

Sign up with a GitHub account at least six months old, or a card check that is never charged.