You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switches the CLI binary toolchain from PyInstaller to Nuitka so warm
invocations hit the payload-hash cache at ~/.agentrun/cache/ and avoid
the ~2s per-call re-extraction, unblocking the agent-hot-path scenario.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ agents that you configure declaratively without writing or deploying any runtime
18
18
-**Multiple output formats** — `json` (default), `table`, `yaml`, and `quiet` for shell piping.
19
19
-**Agent-friendly** — JSON-by-default output, deterministic exit codes, no interactive prompts when stdin isn't a TTY.
20
20
-**Rich sandbox primitives** — code execution, file system, process management, and CDP/VNC-backed browser automation.
21
-
-**Single-file distribution** — PyInstaller produces standalone `ar` / `agentrun` binaries for Linux, macOS and Windows (x86_64 + arm64).
21
+
-**Single-file distribution** — Nuitka `--onefile`produces standalone `ar` / `agentrun` binaries for Linux, macOS and Windows (x86_64 + arm64) with warm-start caching under `~/.agentrun/cache/`.
Copy file name to clipboardExpand all lines: docs/en/index.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,14 @@ make build # local binary → dist/agentrun
69
69
After installation, both `ar` and `agentrun` are available as entry points and behave
70
70
identically. `ar` is shorter; the examples in this manual use it.
71
71
72
+
### Binary startup cache
73
+
74
+
The prebuilt binary is a Nuitka `--onefile` executable. On first launch it extracts its payload into `~/.agentrun/cache/agentrun-<version>/` (about 20 MB); subsequent launches reuse the cache, bringing warm start-up below 300 ms.
75
+
76
+
-**Safe to delete.** Remove `~/.agentrun/cache/` at any time; the next invocation re-extracts.
77
+
-**Upgrades.** A new binary version writes to a new subdirectory; old ones stay until you clean them up.
78
+
-**Read-only `$HOME`.** If `~/.agentrun/cache/` is not writable, the bootstrap falls back to `$TMPDIR` with full re-extraction on every run (~2 s). Either grant write access or run from a shell where `$HOME` points somewhere writable.
79
+
72
80
## Authentication
73
81
74
82
The CLI resolves credentials from three sources, in this order:
0 commit comments