Performance
What Agilu costs in memory and start-up time, measured on one machine. Every figure comes from the test data file; how each test was set up is written under its chart.
Command-line program (this release)
Many sessions at once
Memory per session
| Sessions at once | 8 | 32 | 128 | 512 |
|---|---|---|---|---|
| Command line | 14.4 MB | 15.7 MB | 16.0 MB | 16.0 MB |
Total memory
| Sessions at once | 8 | 32 | 128 | 512 | 2,048 |
|---|---|---|---|---|---|
| Command line | 157.3 MB | 543.4 MB | 2,086.2 MB | 8,254.6 MB | over 12 GiB |
At 2,048 sessions the command-line program was predicted to need more than 12 GiB, the memory budget of the test machine, and the test was not run.
Setup: Each session asks one question and gets one reply of about 290 tokens; the mock provider sends the first token after 300 ms, then one token every 10 ms. Memory per session is the peak memory of all processes, minus the memory before the test, divided by the number of sessions.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Idle sessions
| Idle sessions | 32 | 128 | 512 |
|---|---|---|---|
| Command line | 16,426 KB | 16,745 KB | 16,831 KB |
Setup: Each session does one turn, then waits about 120 seconds; the figure is the average memory per session over the last 60 seconds. The command-line program kept each idle session open in its --repl mode.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Long session
| Context (tokens, about) | 10,049 | 50,245 | 100,492 | 180,884 |
|---|---|---|---|---|
| Command line | 16.5 MB | 17.9 MB | 19.7 MB | 23.6 MB |
Growth for every 100,000 tokens of context:
4.3 MB
Setup: One session runs up to 18 turns with long replies, so its context grows to about 180,000 tokens. The figure is the peak memory of the session process; for the core, the growth of its one process.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Start-up
Start-up time
14.7 ms
Memory after start-up
42.3 MB
Setup: Start-up: from the moment the process is created until the mock receives the first request. Memory after start-up: the program starts, receives no request and waits 5 seconds; the figure is the peak memory in that time.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Embeddable core (not part of this release)
The same agent core can also run many sessions inside one process. It is planned for a later release.
Many sessions at once
Memory per session
| Sessions at once | 8 | 32 | 128 | 512 |
|---|---|---|---|---|
| Embeddable core | 0.46 MB | 0.23 MB | 0.16 MB | 0.13 MB |
Total memory
| Sessions at once | 8 | 32 | 128 | 512 | 2,048 |
|---|---|---|---|---|---|
| Embeddable core | 11.3 MB | 15.1 MB | 27.7 MB | 73.5 MB | 248.4 MB |
Setup: Each session asks one question and gets one reply of about 290 tokens; the mock provider sends the first token after 300 ms, then one token every 10 ms. Memory per session is the peak memory of all processes, minus the memory before the test, divided by the number of sessions.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Idle sessions
| Idle sessions | 32 | 128 | 512 |
|---|---|---|---|
| Embeddable core | 404 KB | 322 KB | 130 KB |
Setup: Each session does one turn, then waits about 120 seconds; the figure is the average memory per session over the last 60 seconds. The command-line program kept each idle session open in its --repl mode.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Long session
| Context (tokens, about) | 10,049 | 50,245 | 100,492 | 180,884 |
|---|---|---|---|---|
| Embeddable core | 11.7 MB | 12.4 MB | 13.1 MB | 13.0 MB |
Growth for every 100,000 tokens of context:
0.44 MB
Setup: One session runs up to 18 turns with long replies, so its context grows to about 180,000 tokens. The figure is the peak memory of the session process; for the core, the growth of its one process.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Start-up
Start-up time
14.6 ms
Memory after start-up
7.6 MB
Setup: Start-up: from the moment the process is created until the mock receives the first request. Memory after start-up: the program starts, receives no request and waits 5 seconds; the figure is the peak memory in that time.
Measured on Windows, on one machine, with a local mock model provider, without tool calls; each figure is the median of three runs.
Memory figures are working set.
Method
- Measured 2026-10-17 to 2026-10-19; Agilu was an internal build from before the release build.
- Every test used a local mock model provider on the same machine; the replies came from a script, and no real model was called.
- The machine is one Windows computer with an Intel Core Ultra 9 386H processor, 16 logical cores and 32 GB of memory; there are no Linux numbers yet.
- Memory is the working set: the memory that Windows Task Manager shows for a process.
- Each figure is the median of three runs.
- No tools were called, and hooks, MCP servers and saving sessions to disk were turned off.
- Tokens are estimated as UTF-8 bytes divided by 4, rounded up.
- Tests stop when the predicted memory of a cell exceeds 12 GiB on the 32 GB test machine.
- The comparison on the home page used the same harness and settings; for the programs compared there, automatic context compaction was turned off so that a long context could be measured. Their versions and the dates are listed under that chart.