Local AI workflow
Local agent stack
An agent harness with a locally served model behind it — autonomy without an API bill. The stack: Hermes Agent, Goose, OpenClaw with Ollama serving 3 recommended local models — hardware readiness graded by the same engine as the feasibility checker.
Tools in this category most commonly run against cloud APIs; a local model served by the runtime below is the private, offline option this page sizes.
The stack
Tool
Hermes Agent
Alternative tool
Goose
Alternative tool
OpenClaw
Runtime
Ollama
Model pick
gpt-oss-20b
widely used open-weights pick for local agent loops
Model pick
Qwen3-32B
stronger tool-following when 24GB-class memory is available
Model pick
Llama-3.3-70B-Instruct
the ambitious pick — needs big-memory hardware
Set it up and check it
Not run here: this agent stack was not executed in this environment. The setup is a documented starting point, not a claim that the harness or model completed a task. Verify tool permissions before letting an agent edit files.
1. Install Ollama
Download the desktop app for macOS/Windows, or use the official Linux install script. The app and the CLI share the same local server.
Commandcurl -fsSL https://ollama.com/install.sh | shSource: Ollama quickstart
2. Pull a model and match the quant
The example uses the official `qwen3:14b` registry tag. Whether it fits depends on the exact hardware, artifact quant, and context; do not infer fit from parameter count. Confirm its tag details on the library page because our engine may have graded a different artifact.
Commandollama pull qwen3:14bIf the computed verdict says Q4_K_M and the registry default is a different quant, the install does not automatically reproduce that verdict. Check the tag.
Source: Ollama Qwen3 library page
3. Set context intentionally, then verify it
Context memory grows with the token budget. Set it in the app or on the server process, and confirm the allocated CONTEXT in `ollama ps`. The shell command below starts a CLI server; if the desktop app or service is already running, stop/configure that server instead of launching a second one.
CommandOLLAMA_CONTEXT_LENGTH=32768 ollama serve # in another terminal: ollama run qwen3:14b # in a third terminal, while the model is loaded: ollama psOn macOS, Ollama's FAQ documents setting environment variables for the desktop app with launchctl; Linux services and Windows use their own environment setup. A variable on this shell does not change an already-running server.
Source: Ollama context-length docs
4. Pick one harness and keep the first run read-only
Hermes Agent, Goose, and OpenClaw are different harnesses; install one from the official repository linked on its /software page, then point its Ollama provider at http://127.0.0.1:11434. Start with read-only tools in a disposable repository.
Commandexport OLLAMA_API_BASE=http://127.0.0.1:11434Some harnesses use a settings field instead of OLLAMA_API_BASE; the value is still the local endpoint. Our dataset does not measure tool-call reliability. A model that fits is not automatically a safe or reliable agent.
5. Verify the context actually allocated
Agent loops accumulate tool output. Confirm the model's context in `ollama ps`; if it shows a CPU share, the loop may be slower than expected.
Commandollama psSource: Ollama CLI reference
A read-only dry run before autonomy
Ask the agent: “List the repository files, identify where the failing test lives, and propose a one-file fix. Do not edit anything yet. Then wait for approval.”
- The agent's file list and plan match the repository; no invented paths.
- No file changed during the read-only phase (`git status` is clean).
- After approval, only the named file changes; `git diff` is reviewable.
- The test command is run and its real output is shown.
- Tool permissions are scoped to the repository — not your home directory or secrets.
Context is a task setting, not a magic number
| Context | Use | Caveat |
|---|---|---|
| 8K | A single tool call and a short observation. | An agent loop can exhaust this quickly; do not assume it is enough. |
| 32K | A few tool calls with file excerpts. | Model max may be lower than the card's memory allows. |
| 64K+ | Longer loops with multiple files and tool outputs. | Ollama recommends at least 64K for agents; only use it if the model and memory support it. |
Hardware readiness
Each cell is the engine's verdict for the best clean quant of that model on Ollama at 16K context — the same math as the checker, tiers not numbers. This is the template's check context, not a claim that 8K or 16K is sufficient for every coding or agent task; the setup section above explains the conditional options.
Different hardware? Check your exact machine against any model in this stack.
Check your machine →Don't have the hardware? Build a stack for your budget →Template picks are editorial; every verdict, grade and tier above comes from the engine over sourced data — how the math works.