infaiw
infaiw: daemon-first agent harness — sidecar loops pass an approval script
Working when we checked on .
What is infaiw?
infaiw is a daemon-first agent harness for the terminal that runs coding-agent sessions on durable, branching timelines. It targets developers who delegate work to LLM agents (DeepSeek, OpenAI Codex, or Claude Code models) but want scripted verification and human control. Sidecar subagents must pass a bash acceptance script before their result counts, every tool call can be gated by allow/human/deny policies, and closing the terminal doesn't stop work since sessions live in a single Go daemon. It supports MCP, skills, evals, mid-session model switching, and runs under 100 MiB of resident memory.
infaiw pricing
Pricing model: Free
Apache-2.0 licensed (no paid plans shown)
infaiw pros
- Sidecar results only count after a parent-written bash acceptance script exits 0
- Turn budgets of 20, 40 or 100 stops stop sidecars from looping forever
- Every tool can be set to allow, human approval, or deny, with named policies
- Daemon keeps sessions alive across closed terminals; many TUI clients attach to the same session
- Branch any timeline event instead of restarting; first attempts stay on their branch
- Runs under 100 MiB; measured 86 MiB while mid-task (server 38 + TUI 48)
infaiw cons
- Only macOS and Linux are supported; no Windows mentioned
- Memory comparisons exclude the claude-cli provider, which runs the Claude Code CLI per turn capped at 512 MiB
- Installation, setup steps and pricing details are not documented on this page
Frequently asked questions about infaiw
What is infaiw?
infaiw is a daemon-first agent harness for the terminal. Sessions live on durable, branching timelines, sidecar loops must pass acceptance checks, and every consequential step waits for user approval. MCP, skills, and evals are included.
What is a sidecar loop?
A sidecar is a delegated subagent whose claimed completion doesn't count until a bash acceptance script written by its parent exits 0, within a turn budget the parent chose (20, 40 or 100 turns). Failed checks feed output back so the work continues.
Does closing the terminal stop the agent?
No. infaiw runs as a user service, so the TUI is just a client. Users can attach from multiple clients, leave, and come back to the same session.
Which models does infaiw support?
Sidecars run on their parent's model, and DeepSeek, OpenAI Codex and Claude Code are supported. The bash acceptance gate works the same way regardless of model, and models can be switched mid-session.
How are approvals handled?
Every tool is set to allow, human, or deny. Reads just run, while writes, edits and bash scripts stop and show what they will do, then wait — even if the window was closed hours ago. Users can save named policies and pick one per session.
How much memory does infaiw use?
It stays under 100 MiB: a measured run showed 86 MiB (server 38 + TUI 48) with an hour of history, versus 285 MiB for idle Claude Code and 752 MiB for idle opencode in the same test.
Can I undo a wrong agent decision?
Yes. Open the timeline, pick any event, and branch from there. The first attempt stays on its own branch, nothing is thrown away, and the whole history remains searchable.
Which platforms does infaiw run on?
infaiw is local-first, Apache-2.0 licensed, and supports macOS and Linux. It ships as one Go binary containing a small server and a thin TUI.
Does infaiw support MCP?
Yes, MCP is supported along with skills and evals. A single mcp_* policy line can cover every MCP tool for approvals.
Who is infaiw for?
It is built for developers running long-running coding-agent work in the terminal who want scripted acceptance checks, human-in-the-loop approvals, and visibility into token spend and session state.