TokenAssemble

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

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. 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.

    Command
    curl -fsSL https://ollama.com/install.sh | sh

    Source: Ollama quickstart

  2. 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.

    Command
    ollama pull qwen3:14b

    If 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. 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.

    Command
    OLLAMA_CONTEXT_LENGTH=32768 ollama serve
    # in another terminal:
    ollama run qwen3:14b
    # in a third terminal, while the model is loaded:
    ollama ps

    On 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. 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.

    Command
    export OLLAMA_API_BASE=http://127.0.0.1:11434

    Some 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.

    Source: Ollama quickstart (agent integrations)

  5. 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.

    Command
    ollama ps

    Source: 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

ContextUseCaveat
8KA single tool call and a short observation.An agent loop can exhaust this quickly; do not assume it is enough.
32KA 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.

Hardwaregpt-oss-20bQwen3-32BLlama-3.3-70B-Instruct
NVIDIA GeForce RTX 4090Fits · A · MXFP4interactivebetaTight · C · Q4_K_Musable · offloadbetaTight · C · Q4_K_Musable · offloadbeta
NVIDIA GeForce RTX 5090Fits · A · MXFP4interactivebetaFits · B · Q4_K_MinteractiveTight · C · Q4_K_Musable · offloadbeta
NVIDIA GeForce RTX 4080Fits · B · MXFP4interactivebetaTight · C · Q4_K_Musable · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
NVIDIA GeForce RTX 4070Tight · C · MXFP4interactive · offloadbetaTight · C · Q4_K_Musable · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
NVIDIA GeForce RTX 4060Tight · C · MXFP4interactive · offloadbetaTight · C · Q4_K_Mpainful · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
NVIDIA GeForce RTX 3090Fits · A · MXFP4interactivebetaTight · C · Q4_K_Musable · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
NVIDIA GeForce RTX 3060 12 GBTight · C · MXFP4interactive · offloadbetaTight · C · Q4_K_Mpainful · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
AMD Radeon RX 7900 XTXFits · A · MXFP4interactivebetaTight · C · Q4_K_Musable · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
Intel Arc B580Tight · C · MXFP4interactive · offloadbetaTight · C · Q4_K_Mpainful · offloadbetaTight · C · Q4_K_Mpainful · offloadbeta
NVIDIA DGX SparkFits · A · MXFP4interactivebetaFits · A · Q8_0painfulbetaFits · B · Q8_0painfulbeta
Mac mini M4 24GBFits · B · MXFP4usablebetaWon't fitWon't fit
Mac Studio M3 Ultra 96GBFits · A · MXFP4interactivebetaFits · A · Q8_0usableFits · B · Q5_K_Musable
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBFits · A · MXFP4interactivebetaFits · A · Q8_0painfulbetaFits · B · Q8_0painfulbeta

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.