local models first
A coding agent that runs on your models
Code Gremlin is a desktop coding agent for macOS, tuned for local LLMs. It splits work into background chips, each in its own git worktree, and has a plain chat for everything else.
macOS now, Windows coming soon · works with llama.app, LM Studio or a cloud API
01Chip tasks
Split the work. Every part gets its own worktree
When a task has independent parts, the agent starts chips: background sessions that each work in their own git worktree on their own branch. You keep talking to the parent while they run.
- A tree in the sidebar: queued, running, waiting, done, error, stopped
- A finished chip reports to its parent, and the parent carries on
- Open any chip, read its transcript, write to it directly
- Nothing merges by itself. Branches wait for you
The task finished on agent/login-errors. Inline errors for empty email and wrong password, 3 files changed, tests pass.
02Chat and memory
Talk without a project. It remembers what matters
Switch the sidebar to Chat for conversations without a project folder: no file tools, no branches, the same models. Memory keeps who you are and how you like to work, and a line per project with pointers to where to look.
- Chat and Projects switch at the top of the sidebar
- Chats have chapters, context and tools in the right panel, and global MCP servers
- Memory in two Markdown files you read and edit in Settings
- Code sessions get a short summary. Chats also search your past chats when needed
03Local models
Press Connect. It finds the servers you already run
Code Gremlin does not run models itself. llama.app, LM Studio or another server does, and the app talks to it over its API.
- Scans the known local ports for llama.app, LM Studio, Ollama and llama-server
- Lists downloaded models with size, quantization and context window
- Loads the model into memory when you pick it, where the server allows
- Cloud models by API key when you need them
04Permissions
You decide what runs without asking
Three modes, set per session. Chips inherit the mode of their parent. A session that needs your answer turns amber in the sidebar.
Ask
Asks before every edit and command
- Read filesAllowed
- Edit files in the worktreeAsks first
- Run bashAsks first
- Anything outside the worktreeAsks first
Auto
Edits and safe commands go through. The rules decide what is safe
- Read filesAllowed
- Edit files in the worktreeAllowed
- Run bashsafe ones, ask the rest
- Anything outside the worktreeAsks first
Bypass
No questions. Marked orange so you always notice
- Read filesAllowed
- Edit files in the worktreeAllowed
- Run bashAllowed
- Anything outside the worktreeAllowed
rm -rf build
05And the rest
Around the agent: memory, chat, tools, context, the panel
Memory
Who you are and how you like to work, and a line per project with pointers. The agent writes it as it goes, you edit it in Settings.
Chat mode
Plain conversations without a project folder. No file tools, no branches, the same models. Past chats are searchable.
Message queue
Type while the agent works. ⌘↵ queues the message, and it goes to the agent after the turn.
MCP and connectors
Global and per-project MCP servers. GitHub and Linear connect from Settings in one click.
Context compaction
At 80 % of the window the old turns are summarized for the model. You still see the full history.
Right panel
Environment, chapters of the session, context usage by category, changes, a terminal.
06Get started
Three steps to the first task
Start a model server
Open llama.app or LM Studio and turn on its local server. Download a model there.
127.0.0.1:9931 · 127.0.0.1:1234Connect
Press Connect. The app finds the running servers and lists their models. Pick one.
qwen3.8-27b · llama.appGive it a task
Choose a project folder and describe the work. The session gets its own worktree.
~/.code-gremlin/worktrees/<repo>/<id>