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.

Download for macOS Windows coming soon

Apple Silicon · from GitHub Releases

macOS now, Windows coming soon · works with llama.app, LM Studio or a cloud API

New session coding-agent · ~/dev
Auto qwen3.8-27b llama.app

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
Add OAuth to the APIrunningagent/add-oauth· started 4 chips
Token refresh endpointrunningagent/token-refresh· writing tests
Migrate users tablewaitingagent/users-migration· needs approval: psql
Login form errorsdoneagent/login-errors· 3 files, ready to merge
Update API docsqueuedagent/api-docs· waiting for a free slot
[from task "Login form errors"]

The task finished on agent/login-errors. Inline errors for empty email and wrong password, 3 files changed, tests pass.

delivered to the parent session

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
MemorySettings › Memory
owner.md · who you are, preferences
Prefers cursor pagination for new APIs
Splits independent work into chips
projects.md · one line per project
coding-agent: GraphQL schema in src/graphql, routes in src/api
Remembered: Prefers cursor pagination for new APIs
ConnectRefresh
Found on 127.0.0.1
llama.app :9931found
LM Studio :1234found
Ollama :11434not running
Downloaded models · LM Studio
qwen3.8-27bQ4_K_M128K16.8 GBLoading…
gemma-4-12bQ5_K_M128K8.9 GBloaded
devstral-small-2Q4_K_M256K14.3 GB
Or add a cloud connection: Anthropic, OpenAI, any OpenAI-compatible URL

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
A regular request
bashpnpm add zodDenyAlwaysAllow ↵
A command from the denylist
Dangerous commanddenylist: rm -rf
rm -rf build
DenyAllow once

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.

owner.md · projects.md

Chat mode

Plain conversations without a project folder. No file tools, no branches, the same models. Past chats are searchable.

Chat · Projects

Message queue

Type while the agent works. ⌘↵ queues the message, and it goes to the agent after the turn.

↵ send · ⌘↵ queue

MCP and connectors

Global and per-project MCP servers. GitHub and Linear connect from Settings in one click.

stdio · HTTP · SSE · OAuth

Context compaction

At 80 % of the window the old turns are summarized for the model. You still see the full history.

threshold 10 to 100 %

Right panel

Environment, chapters of the session, context usage by category, changes, a terminal.

Environment · Changes · Terminal

06Get started

Three steps to the first task

Download for macOS Windows coming soon

Apple Silicon · from GitHub Releases

01

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:1234
02

Connect

Press Connect. The app finds the running servers and lists their models. Pick one.

qwen3.8-27b · llama.app
03

Give it a task

Choose a project folder and describe the work. The session gets its own worktree.

~/.code-gremlin/worktrees/<repo>/<id>