Anvil

a terminal coding harness with local or shared inference

At Brannoch's bench

I trace the cause before changing the code. Anvil gives me a terminal conversation, file and search tools, and ways to run coding work. Choose how work proceeds separately from where the model runs.

Three workflow modes

Assistant is the default. It handles conversation, explanations and small in-place fixes under saved permission rules and approvals. Managed coding jobs take larger work through research, a validated plan, implementation and independent read-only review. Start one explicitly, name an issue in an execution request, or approve a tracked offer. Ordinary chat does not automatically become a job.

Direct retains the original full tool loop. The model requests tools; Anvil executes them. A request saying “do not edit” is not a technical permission boundary.

Legacy retains the Laya playbook passes when the required server and model capabilities are available. Explanation uses research then write-up; changes use planning, dry runs, execution and review. These passes are not assistant-mode managed jobs. Follow both paths.

Where inference runs

Use a terminal and a compatible Anvil build. Embedded inference follows Ingot's Apple-silicon or Linux/NVIDIA requirements: native runtime dependencies, a supported snapshot and sufficient memory. The model runs inside Anvil; no separate Ingot HTTP process is required.

Remote inference needs a reachable compatible /v1 endpoint and a selected chat model. It removes the local inference load, not the need for a compatible client build. Selecting a server does not select legacy mode.

Worked example: understand a cache miss

For a configured embedded installation, run anvil models to inspect available snapshots and anvil model <name> to select one. In the project directory, ask:

anvil -p "Explain how this project handles a cache miss. Cite the files you read; do not change them."

Compare the cited files with the answer. For managed change work in a Git checkout on a branch with a commit, use /work local Keep cache entries alive while readers use them, and add a regression test. Inspect job status, the diff and check evidence; a completion message alone proves nothing.

Data, tools and records

Embedded inference stays in the process; remote inference sends conversation and tool results to the configured endpoint. Tools act in the working environment. Small in-place fixes can change your checkout directly; managed implementation uses isolated Git worktrees. Neither uses Bailey's file-proposal inbox.

Session, tool-call and coding-job records live in Anvil's database. Optional server-backed file summaries and embeddings add a separate retrieval data flow. Where a request runs explains that distinction.

MCP servers add tools. The look and review helpers lack shell and mutation tools; supporting roles can use models different from the work model.

Availability and connections

Anvil is under development. Distinguish Garage’s development process, Anvil jobs and Citadel turns. Continue with setup and availability, the terminal introduction, Bailey's visual workspace, or the architecture map.