Harny
AI coding agent extension for VS Code and VSCodium that edits files and runs commands using local or cloud OpenAI-compatible models.
At a Glance
MIT-licensed Harny extension for VS Code and VSCodium; free to use. Model provider costs (own API key) are external.
Engagement
Available On
Listed Dec 2026
About Harny
Harny is an AI coding agent for VS Code and VSCodium, developed by SPLTek and released under the MIT license. It runs as an Activity Bar chat panel with a tool-calling agent loop that reads projects, edits files, runs shell commands and searches the web, keeping one persistent conversation per folder. It talks to any endpoint implementing the OpenAI Chat Completions API, so the model can be local or cloud-hosted.
What It Is
Harny is an editor-embedded coding agent harness. Tool calls and model output stream into the transcript live, and each tool call shows its input, output and diff. It ships 13 built-in tools (Read, Write, StrReplace, Edit, Delete, Shell, Grep, Glob, Skill, WebSearch, WebFetch, ReadLints, Delegate) and adds MCP server tools as mcp__<server>__<tool>.
Analyze and Build modes
New sessions start in Analyze, where file-modifying tools run as dry runs that return the exact diff and write nothing; reads, greps and searches still run. Shell in Analyze is allowlist-first and limited to read-only commands. Switching to Build applies changes for real. The README describes this as a strong guardrail rather than a sandbox.
Parallel sub-agents and long sessions
With Parallel on, the agent acts as an orchestrator that delegates independent sub-tasks to sub-agents, each with its own stream and stop button. Disjoint files run in parallel and overlapping writers are serialized. For long sessions, Harny compacts context at turn boundaries, carries a summary forward and masks old tool output as one-line stubs.
Loop guard, skills and MCP
A loop guard detects repeating reasoning, repeated tool calls and optionally repeated answers, then injects a corrective nudge instead of only stopping the run; it has four presets and 12 tunable parameters. Skills are SKILL.md folders loaded on demand, and MCP servers (stdio or HTTP) are installed globally but enabled per session.
Models and setup
Providers include OpenAI, Anthropic via its compatible endpoint, OpenRouter, Ollama, LM Studio, llama.cpp/MLX and OpenCode Go. Install from Open VSX or the VS Code Marketplace, open one folder, add a provider in the Providers & Models dialog and send a request. It requires VS Code or VSCodium 1.101+ and Node 22.5+ for node:sqlite.
Collections
Popular collections
- See What Your Agent Is Doing remix
Collection by @joemseifi
- Let Your AI Read the Document, Not Just the Words
Collection by @priyashah
- Local-First Databases
Collection by @joemseifi
- Charts, Graphs, and Diagrams
Collection by @joemseifi
Add Harny to one of your collections.
Community Discussions
Be the first to start a conversation about Harny
Share your experience with Harny, ask questions, or help others learn from your insights.
Pricing
Free (MIT)
MIT-licensed Harny extension for VS Code and VSCodium; free to use. Model provider costs (own API key) are external.
- AI coding agent for VS Code and VSCodium
- Analyze and Build modes
- Parallel sub-agents
- Works with local LLMs (Ollama, LM Studio, llama.cpp) or cloud APIs via your own key
- MCP and Skills support
Capabilities
Key Features
- Analyze mode with dry-run diffs and Build mode to apply changes
- 13 built-in tools including Read, Write, Edit, Shell, Grep, Glob, WebSearch and WebFetch
- Parallel sub-agents via orchestrator Delegate tool
- Context compaction at turn boundaries and observation masking
- Loop guard with nudges and 12 tunable parameters
- MCP server support with per-session scoping
- Agent Skills via SKILL.md folders and /skill command
- Queue, steer and stop while the agent works
- Persistent per-folder sessions in a central SQLite database
- Image input as pixels for vision-capable models
- Per-turn token usage and timing display
- Per-session model, thinking level and sampling controls
Integrations
Demo Video

