SysConf 2026 · Standard
How to Safely Give AI Agents a Terminal
Alex Idowu · Co-founder & CTO, PipeOps · Lagos
Sat 3 Oct 2026 · 12:25–12:55 WAT · Room 1
25 min talk + 5 min Q&A · live Rexec sandbox demo
Present · P or button · Navigate → ← · Esc exits · Deep link ?present=1
01 · Title
How to Safely Give AI Agents a Terminal
Alex Idowu · PipeOps · Lagos
SysConf 2026 · Room 1
02 · Claim
AI agents need a terminal to be useful.
Giving them yours is a bad idea.
Isolation problem. Not a prompt problem.
Rexec is one shape. Jobs + RuntimeClass works too.
03 · Scene
Laptop. Dev VM. Shared CI runner.
Sometimes worse.
You’re not doing chat. You’re doing untrusted RCE with a friendly UI.
04 · Wrong default
The wrong default
- Install the agent CLI on a machine you care about
- Point it at a repo
- Grant shell / network / package install
- Hope system prompts and “approve tool use” are enough
Hope is not a control.
05 · Without malice
Even without malice
Blast radius = the machine you care about.
06 · Contrast
Human terminal vs agent terminal
| Human | Agent | |
|---|---|---|
| Intent | Usually intentional | Exploratory, error-prone |
| Speed | Seconds between commands | Bursts of tool calls |
| Oversight | Eyes on the glass | Often headless |
| Network | Expects outbound | Will try outbound |
| Lifecycle | Hours to days | Minutes, then delete |
07 · Reframe
Treat it as isolation
Not a prompt problem.
Sandbox = create / delete + quotas + network policy + audit.
Not a system prompt.
“Approve tool use” on a machine you care about is still RCE with a dialog.
08 · Requirements
What “sandbox the agent” has to mean
- Disposable by default
- Hard CPU / memory / PIDs
- Network isolation as a first-class switch
- API / headless entry
- Audit when it matters
- Outbound tunnels for real metal — not open 22
09 · Architecture
Two primitives
Strong isolation ≠ strong access to weird iron. Don’t confuse them.
10 · Cloud terminal
Cloud terminal
- Docker / Podman with hard limits
- Cap drop +
no-new-privileges - Isolated bridge, ICC off
- OCI runtime
runsc(gVisor) - Attach via API / WebSocket — not published SSH
That model is what I designed into Rexec. Steal the shape.
11 · Demo · Rexec
Live: disposable sandbox
- Create a sandbox (limits + network mode)
- Show the isolation you asked for (egress / peer)
- Run something agent-shaped
- Delete. Assume disk is gone.
If AV fights you: screenshots. Don’t fight conference wifi.
12 · Ladder
Isolation ladder
- cgroup + caps + network — baseline
- gVisor (
runsc) — smaller host syscall surface - MicroVMs (Firecracker) — when the threat model demands it
- Dedicated nodes / accounts — compliance, not cosplay
Containers alone aren’t a hostile multi-tenant boundary. Name the rung you’re buying.
13 · Network
Network is the product
A cloud terminal is a network endpoint that happens to have a shell.
Egress: none · allowlist · full (you accepted the leak).
ICC off ≠ no internet. Say it out loud.
14 · Flow
Agent flow
15 · BYOS
BYOS: mediated access, not a jail
Outbound WebSocket. No inbound SSH for the demo.
| Need | Prefer |
|---|---|
| Untrusted model code | Cloud terminal + gVisor |
| Real GPU / lab box | BYOS — treat like prod access |
| Shared expensive machine | BYOS + identity + recording |
16 · Failures
Failure modes I’ve hit
- Docker socket — relocates the gate
- Open egress — agents phone home
- Thrash — quotas / TTLs are security features
- Prompt as security — UX, not a boundary
- Runtime theater — gVisor on paper, runc in prod
17 · Checklist
Field checklist
- Ban agent shell on laptops for secrets / prod
- Create / delete per task (or per PR)
- Run agent sandboxes on gVisor or stronger
- Set egress deliberately; treat DNS as data
- Cap CPU / memory / PIDs; kill on a timer
- Prefer outbound agents over inbound SSH
- Assume breakout; escalate when the threat model says so
18 · Takeaways
Takeaways
- Agents are remote code execution with better UX
- Sandbox = create/delete + quotas + network + audit
- Containers alone ≠ hostile multi-tenant boundary
- Prefer outbound tunnels over inbound SSH
- TTL and concurrency caps are security features
19 · Close
Questions?
Alex Idowu · @nitrocode · Lagos