# Live agent footprint benchmark — Hanzo AI

> Benchmark AI agents as goroutines: 601 bytes heap, 125 ns spawn, and 107 ms to wake 1M agents vs V8 isolates. Ultra-light concurrency.

# An agent as a goroutine

[Benchmarks](https://hanzo.ai/benchmarks) / Live agent footprint

measured

A dormant agent is a row; a running one still has to hold its place. 601 bytes of heap per live agent, 125 ns to spawn one, 107 ms to wake a million — and the three language runtimes that can sit inside one.

[Start on Hanzo Cloud](https://platform.hanzo.ai/)

Results

Hanzo, measuredthe published figure

- heap per live agent**601 bytes****1.2 MB per isolate, isolated-vm**
- spawn one**125 ns****2.79 ms, isolated-vm**

```
$ cd goroutine && go build -o /tmp/g . && /tmp/g
```

prints the table on this page — transcribed from bench/README.md, the pass of 2026-09-07

harness

[hanzoai/benchmarks · goroutine](https://github.com/hanzoai/benchmarks/tree/main/goroutine)

our paper

[What a Dormant Agent Costs](https://github.com/hanzoai/papers/blob/main/site/public/pdfs/hanzo-dormant-agents.pdf)

## Results

an Apple M4 Max, 16 cores · the pass of 2026-09-07 · memory was identical on all five runs; timings are medians

## How to get this wrong

**Benchmark a built binary.** Under `go run` the compile is counted and spawn reads 253 ns instead of 125 ns, an error from the command you used to start the measurement. The reproduce line on this page builds first for exactly that reason.

## What is measured

A dormant agent is a row on disk. An agent that is _running_ still has to hold its place, and the question is what that place costs. Here it is a goroutine: the heap it occupies, the time to start one, and the time to wake a million of them at once. The comparison column is what a platform built on V8 isolates publishes for the same two quantities.

```
$ cd goroutine && go build -o /tmp/g . && /tmp/g
```

PreviousFleet residency · All Benchmarks Board · NextSandbox cold start

### Related in runtime

[Fleet residency](https://hanzo.ai/benchmarks/fleet)[Sandbox cold start](https://hanzo.ai/benchmarks/sandbox)

- Other benchmarks

[LoCoMo](https://hanzo.ai/benchmarks/locomo) · [MemoryAgentBench](https://hanzo.ai/benchmarks/memoryagentbench) · [LongMemEval](https://hanzo.ai/benchmarks/longmemeval) · [CronQuestions](https://hanzo.ai/benchmarks/cronquestions) · [RepoBench-R](https://hanzo.ai/benchmarks/repobench-r) · [LoCoMo · subject scope](https://hanzo.ai/benchmarks/locomo-subject-scope) · [LoCoMo-Conv](https://hanzo.ai/benchmarks/locomo-conv) · [Engine prefill on CUDA vs llama.cpp](https://hanzo.ai/benchmarks/inference) · [GPQA-Diamond](https://hanzo.ai/benchmarks/gpqa)

harness and the committed table: [hanzoai/benchmarks · goroutine](https://github.com/hanzoai/benchmarks/tree/main/goroutine) · the paper: [What a Dormant Agent Costs](https://github.com/hanzoai/papers/blob/main/site/public/pdfs/hanzo-dormant-agents.pdf)

## Build on Hanzo Cloud

[Start on Hanzo Cloud](https://platform.hanzo.ai/)[View Models & Pricing](https://hanzo.ai/pricing)

Hanzo AI Cloud
