Inspect the repository, edit files, run commands, and call MCP tools. Mutating effects require approval by default.
read · edit · command · MCPAlpha · local-first · Ollama
local-agent is an experimental terminal coding agent for Ollama, built on Bun and rendered with Tuimark. Inspect repositories, edit files, run commands, and call MCP tools in build; switch to plan and the host removes every mutating tool, not just the prompt.
Mutating effects require approval by default.
Trust boundaryLocal-first validates endpoints. On macOS, commands can run sandboxed; nothing else is.Model admission
Interactive runs check Ollama up front: a missing model or an oversized context stops the session with a clear line, not a first-turn surprise.
Readable effects
By default, repository mutations, commands, and MCP calls require an explicit decision. Every decision is a key press in the same transcript you are already reading.
When approval is required, the card keeps the tool and its arguments together before execution.
Nothing is persisted until you point at a session database with --session-db. Then resume, list, and inspect stay separate, tool-free operations.
Sessions are experimental and live in a separate SQLite database you choose. Export any transcript to markdown with /export.
In the Tuimark client the model can stop and ask one question: a choice, a yes or no, or a typed answer. It opens in the transcript, above the composer, and what you were typing waits until it closes.
An answer is never an approval: an edit or command after a "yes" still shows its card.
In the Tuimark client, /goal runs build turns toward an objective until the model reports done or blocked, or a limit stops it: 8 turns by default, 30 minutes, 200k output tokens, or two turns in a row that change nothing. esc or /goal stop ends it.
Every turn keeps its cards, rules and sandbox. Done is the model's word: the closing notice names evidence only for a command that exited 0.
Point your MCP config at a gateway such as mcphub and the model finds the tool it needs: resolve_tool routes a goal to a tool, call_tool runs it. Plan mode offers no MCP at all.
The approval names the tool behind the gateway, never call_tool, so a session grant (a) covers that one tool alone. A result the server does not mark as an error still reads unverified.
The task tool hands one question to a subagent, and several task calls in one reply run in parallel, up to four at a time. In the Tuimark client they share one Subagents card while they run, a row each. When they finish, each gets a card with the turns it took and the first line of its answer, and /details shows the rest.
A subagent only reads, fetches and searches: no edits, no commands, no MCP, no subagents of its own, and it never asks you anything.
In the fullscreen Tuimark client, ctrl+f (or /search) searches this conversation: your messages, the replies and the tool cards. Up and down choose a match; enter opens it in a viewer, where n and p step through the rest.
Inline, /search prints the matches into your scrollback instead. The client's own notices are not searched.
Inspect the boundary
Ollama runs on your machine by default, on loopback. A remote Chalupa provider requires an explicit environment opt-out from local-only.
plan mode removes the mutating tools at the host: write, edit, command, and MCP calls are denied no matter what the model asks for.
Commands run exactly as written — there is no shell — with your permissions, in your workspace, behind an approval card.
Focused local tools
Connected integrations, test infrastructure, and related projects keep separate ownership boundaries. MCP-capable does not mean bundled or silently trusted.
Install
Install the command, connect Ollama, and begin with a read-only request in plan mode.
curl -fsSL https://local-agent.dev/install.sh | shbrew install --cask abdul-hamid-achik/tap/local-agent