Figy Harness
Figylo's own coding agent: a turn loop in Rust, a sandbox that already existed, and language server tools no CLI agent can offer.
Figy Harness
Figylo's own coding agent working through a task, with each tool call and its result listed in the transcript
public/screenshots/figy-harness.pngIt can ask the language server
No CLI coding agent hosts language servers — warming one per invocation is not viable. Figylo already has them running, so the agent asks for the real references instead of grepping for two hundred matches.
The sandbox was already there
The agent reaches only the roots you granted the window. That fence is the same one the editor and the file tree use, and it is enforced in Rust rather than promised in a prompt.
The model is a configuration value
Requests go through OpenRouter, so which model runs your turns is a setting rather than a rebuild. Your key lives in the OS keychain, not in a dotfile.
One loop, in Rust, with thin clients
The turn loop, the tool registry, the permission model, the ledger and the session store are all in the Rust backend. The windows that show you a conversation send messages and render events — if a front end ever contains a turn loop, the design has gone wrong. That is also why the agent survives a restart: the conversation is on disk, not in a tab.
- Twenty-five tools
- Read, edit, write, glob, grep, shell, git, and the language server set.
- Permission before action
- The agent asks before it runs or writes, and the prompt shows exactly what it intends to do.
- A plan it can offer
- It can propose an approach and wait, rather than starting and asking later.
- A question it can ask
- When the task is ambiguous it asks one, instead of guessing and burning turns.
- Sub-agents
- A task it can hand off and get a result back from, without the detail landing in your conversation.
- FIGY.md
- Project instructions it reads, so a repository can tell the agent its own conventions.
Permission prompt
The agent asking permission before running a command, with the exact command shown and allow, deny and always-allow options
public/screenshots/harness-permission.pngWhat the language servers actually change
This is the part that cannot be copied by an agent running as a CLI, and it is not a small saving. The questions an agent asks most often are the ones a language server answers exactly, in a few hundred tokens, instead of approximately, in a few thousand.
- Where is this used?
- The real references — not every match including comments and strings.
- What is this symbol?
- The definition, as one range, rather than a file to read and infer from.
- Did that edit break anything?
- Diagnostics for the file, immediately — instead of running the build and reading the log.
Every turn is priced
Token cost is a first-class requirement here rather than an afterthought, because an agent that is pleasant and ruinous is not shippable. The runtime keeps a ledger of what each turn consumed, compacts a long conversation before the context forces it to, and is built around the cache rather than against it — a tool list that changes between turns is a cache rewritten every turn, so the tool set is stable by design.
Token ledger
The token ledger for a conversation, listing input, output and cached tokens per turn with a running cost
public/screenshots/harness-ledger.pngWhere this sits next to the Claude Code window
They answer different questions and both stay. The Claude Code window hosts Anthropic's CLI exactly as it ships, and for repo-wide work with the model it was tuned for, it will be better than ours for a long time. Figy Harness is the agent that can reach the things only this app has — the language servers, the editor's buffers, the granted roots — and that runs on whichever model you point it at.
FAQ
Figy Harness, in short
Does the agent send my code somewhere?
Yes, and this is the one part of Figylo that is not local. An agent needs a model, and the model runs on someone else's machine: the files it reads and the commands it runs are sent to the provider you configured through OpenRouter, under that provider's terms. Everything else in Figylo stays on your machine, and the agent sends nothing until you start a conversation.
Which models can I use?
Whichever OpenRouter offers. The model is a configuration value rather than something compiled in, so you can point a cheap fast model at small tasks and a stronger one at the hard ones.
Where is my API key kept?
In the operating system keychain, through the same mechanism the rest of the app uses for secrets — not in a config file in your home directory.
How is this different from the Claude Code window?
The Claude Code window runs Anthropic's CLI unmodified, with its own account, model and release cadence. Figy Harness is written for this app, so it can use the language servers Figylo already runs and the roots you already granted, and it runs on any model you choose. Both ship, because they answer different questions.
Can it run anything it likes on my machine?
No. It is confined to the folders you granted the window, and it asks before it runs a command or writes a file. The confinement is enforced in the Rust backend rather than requested in a prompt.
Keep reading
Related services
- Claude Code windowA project-shaped window for the Claude Code CLI, where switching projects never kills the conversation you left running.
- Figy Code EditorA real editor over the shell — CodeMirror 6, file tabs, a file tree, a fuzzy finder and project-wide search, one shortcut away.
- Figy TerminalPanes, tabs, search, history, a system monitor and a command palette — the terminal fundamentals, done properly.
Give your terminal its whole workbench
Free, MIT licensed, and entirely local. On macOS one command does it; Linux and Windows are one download away.
curl -fsSL https://raw.githubusercontent.com/code4mk/figyterm/main/install.sh | sh