Build a flawless spec, together

Describe the outcome and the agent explores your codebase, then drafts a plan beside the chat. You edit it together until it's ready; every revision is kept, and no code changes until you switch to Build.

The Sandbox

Most agents give the model a bunch of single-purpose tools; every call costs an extra round-trip and more context. imza gives it a single sandboxed Lua environment instead, where it can run many of those steps at once and only the result comes back. Every action still passes the permission gate, so you see each file touched and every command run.

Read the analysis

Fast and Small

A ~20 MB native binary, 5–8 MB RAM at startup, 20-40MB during regular tasks. No JavaScript runtime, no Electron, instant startup time.

Batteries Included

MCP, subagents, skills, project instruction files, multimodal inputs, terminal notifications, and more.

Bring the Model You Already Pay For

Imza supports 50+ providers out of the box. Bring any OpenAI-compatible or Anthropic endpoint: local, API, or subscription.

Permissions that Respect the Workspace

Most harnesses push you toward full-access modes or ask about every single command. imza watches what the model is doing and asks only when an action can actually mutate the workspace.

Configuration Without Obscurity

Every setting has an interface: /model, /variant, /subagents, and more. No environment magic, no hand-rolled config files. When you do want the file, it's plain JSON.

The Prompts Are Yours

Every built-in prompt fragment(system, subagents, compaction, AI review) can be replaced with your own Markdown.

Automate tasks by running imza without the terminal UI: same tools, same permission system. Final output goes to stdout, diagnostics to stderr.

$ imza --ask "summarize the architecture of this repo"

$ imza --session my-session --exec "finish the TODOs in NOTES.md"

$ imza --exec "build and summarize the changes" \
    --allow-dir ../shared-assets \
    --allow-cmd "git status" "cmake --build"

--ask runs one read-only Plan turn;--exec runs one Build turn. Unresolved approvals come back to the model as rejections, so grant only what the task needs.

Imza's startup time and memory use, measured against similar terminal coding agents on the same machine.

Startup and memory cost of terminal coding agents
AgentFirst frameStartup memory
(PSS / RSS)
Idle memory
(PSS / RSS)
Storage
imza11 ms9.1 MB/19.0 MB13.0 MB/26.9 MB32 MB
codex31 ms49.3 MB/52.7 MB49.3 MB/52.7 MB281 MB
claude152 ms187.4 MB/193.9 MB187.5 MB/185.0 MB245 MB
pi410 ms93.2 MB/124.1 MB111.6 MB/129.2 MB118 MB
crush814 ms91.4 MB/94.7 MB92.8 MB/95.7 MB87 MB
opencode1175 ms270.4 MB/278.2 MB872.6 MB/869.3 MB177 MB
gemini1830 ms357.1 MB/419.9 MB387.6 MB/422.1 MB98 MB
cline1935 ms279.0 MB/302.4 MB279.8 MB/306.6 MB432 MB
How these were measured

Each agent is started the same way, in the same conditions, and every figure is the median of ten passes.

The environment

Every agent runs inside its own private PID namespace (bwrap), with a read-only view of the filesystem, a writable home, a fresh /tmp, and the same empty working directory. The namespace is what makes the numbers comparable: several agents hand work to a background daemon that re-parents to init and outlives the launcher, so without containment the daemon is invisible to measurement and the next run attaches to it warm instead of starting cold. Memory is summed over the agent's whole process tree.

The empty directory matters too: a tool that scans the workspace at startup would otherwise be charged for a repository the others never saw.

The fields

  • First frame: process start to the first byte drawn. When the screen first changes, not necessarily when the tool is ready to accept a prompt.
  • Startup memory: memory the moment the first frame appears. What a tool costs to show you something.
  • Idle memory: memory once it has stopped growing, sampled until it plateaus so a tool that lazy-loads after drawing is charged for what it eventually uses. What a tool costs to keep running.
  • Storage: on-disk footprint: the executable, or for a script agent the package directory it cannot run without.

Both memory fields report PSS and RSS. RSS counts every page a process maps; PSS divides shared pages among the processes using them, so a tool is not charged whole for a library the system already had loaded. PSS is the fairer figure; RSS is what top shows, which is why it reads higher.

What this does not measure

Model latency, which belongs to the provider rather than the tool, and behaviour on a large repository, which this empty directory cannot show.

Reproduce with python3 scripts/agent_bench.py --runs 15 --all.

Download

macOS

Apple Silicon.pkg

Windows

x64.exe

Linux

New here? Check out the wiki. Prefer to build from source? Check out the build instructions.