Harny
Harny is a full AI coding agent for the VS Code / VSCodium Activity Bar: bring your own cloud or local model, preview in Analyze, apply in Build, with MCP tools, skills and parallel agents.
Working when we checked on .
What is Harny?
Harny is an AI coding agent extension for VS Code and VSCodium that lives in the Activity Bar, reading projects, editing files, running commands, and searching the web. It is aimed at developers who want a coding agent in their existing editor, with either cloud models or local LLMs via Ollama, LM Studio, or llama.cpp using the OpenAI Chat Completions protocol. It offers an Analyze mode where every write is a dry run, parallel sub-agents with declared file resources, and context compaction for long sessions. It is free and MIT licensed.
Harny pricing
Pricing model: Free
Free and MIT licensed
Harny pros
- Bring your own model: OpenAI, Anthropic, OpenRouter, or local LLMs via Ollama, LM Studio, llama.cpp
- Analyze mode runs file-modifying tools in dry-run, showing diffs before any write
- Parallel mode splits tasks into sub-agents with independent streams and stop buttons
- Context compaction keeps long sessions alive in a fixed window
- Sessions stored in a central SQLite database outside the repository
- Free and MIT licensed
Harny cons
- Only available as an extension for VS Code and VSCodium
- Local models must be set up by the user through Ollama, LM Studio, or llama.cpp
- Cloud providers require the user's own API keys
Frequently asked questions about Harny
What is Harny?
Harny is an AI coding agent for VS Code and VSCodium that runs as an extension with a chat panel in the Activity Bar. It reads projects, writes and edits files, runs shell commands, greps, globs, reads diagnostics, and searches the web, keeping one persistent conversation per folder.
Who is Harny for?
It is for developers who want a coding agent inside the editor they already run, whether driving a cloud model or a local LLM on their laptop.
Which models can Harny use?
Any OpenAI, Anthropic, or OpenRouter model, or a local LLM via Ollama, LM Studio, or llama.cpp. All providers use one protocol: the OpenAI Chat Completions API (/v1/chat/completions).
How does the Analyze mode work?
In Analyze, every file-modifying tool runs in dry-run: it returns the exact diff and writes nothing. Reads, greps, and searches still run, and the host asks once whether to switch to Build to apply the changes.
What does Parallel mode do?
The agent becomes an orchestrator that splits a task into independent sub-tasks run as sub-agents, each with its own stream and stop button. Sub-agents that touch overlapping files are serialized automatically because every Delegate declares its resources.
Can I use Harny with a local LLM?
Yes. Point Harny at Ollama, LM Studio, or a llama.cpp server on localhost and nothing leaves the machine — no key, no account, no per-token bill.
How does Harny handle long sessions?
When the context fills, Harny compacts at turn boundaries, keeps the recent part verbatim, and carries the state of the work forward so the session and token bill do not compound.
Where are chat sessions stored?
Sessions are stored in a central SQLite database, not in the repository. Agent tools can never read or corrupt transcripts, and cleaning the project never deletes chat history.
Is Harny free?
Yes, Harny is free and MIT licensed, and the model is a row in a settings dialog rather than a subscription.
How are API keys handled?
Keys live in Harny's own data folder, never in the user's repository, keeping credentials out of version control.