Demos, tutorials, & talks

Agents need ephemeral infrastructure

A live demo on giving agents temporary infrastructure.

Event
Fork it, Branch it, Bop it, a Tigris meetup hosted at PlanetScale in San Francisco
Date
June 9, 2026
Format
Live demo
Built with
TanStack Start, deployed on Agentuity

In June I gave a talk at Tigris’s agent meetup in San Francisco, alongside folks from PlanetScale, Daytona, Archil, and Mesa. I demoed everything live from an app I’d deployed on Agentuity.

The angle I took was this idea of ephemeral infrastructure. I’d heard it from senior teammates, and I think it’s an important one. Agents can be proactive, so giving them the right tools to do that work really matters. And if they’re going to do real work, they need somewhere to do it, like a database they can spin up or a sandbox they can run things in.

It goes beyond that, too. Sometimes a dataset is too large for an agent’s context window, even with today’s larger context sizes, or a codebase is too large to take in all at once. That’s why it matters so much that an agent can spin up a database or a sandbox, do a bunch of work in it, and spin it down when it no longer needs it.

skill tester

I had an agent set up the first demo through the Agentuity CLI. It created the database, seeded it, and deployed the app. The data was 67,453 published skill versions from the ClawHub registry, each with results from a few different security scanners that rarely agree.

I asked the app for Notion skills I should review before handing one to an agent. It put together a short review queue from the scanner results, and I picked one to test in a sandbox. The skill itself never ran. Instead, a model wrote a small test plan from the scanner results, with fake files, fake local services, and fake secrets that would show up if anything leaked, and our own harness ran that plan:

const sandbox = await getSandbox().run({  runtime: "bun:1",  name: sandboxName(skill),  env: { OPENCLAW_PLAN: JSON.stringify(plan) },  timeout: { execution: "90s", idle: "1m" },  command: {    exec: ["bun", "openclaw-probe-harness.mjs"],    files: [{      path: "openclaw-probe-harness.mjs",      content: encodeProbeHarness(),    }],  },})
the sandbox run, trimmed

The results showed the files the test touched, its processes and network requests, whether any fake secrets leaked, and a recommendation on the skill.

report generator

The second demo was the context window problem. The Anthropic Economic Index has 690,871 rows on how Claude shows up in real work, which is way too much to hand a model. So the app answered each question with read-only SQL against a database, and the model wrote the report from just those results:

select task as "label", penetration::float as "value"from economic_index_task_penetrationorder by penetration desc, tasklimit 6
one of the report’s queries

The app’s queries didn’t use a Postgres URL. They asked Agentuity for the database by name, which is what lets an agent spin up a database for a task and spin it down when it’s done. The report gets saved to storage, so it sticks around after that.

sources