Description
Harny is a full-featured AI coding agent that seamlessly integrates into your VSCodium and VS Code Activity Bar. It functions as a powerful assistant, capable of reading your project, editing files, running commands, and searching the web. A key design principle is its persistent conversation model, maintaining one dedicated conversation per folder, complete with tool calling and live streaming capabilities.
Read More
The agent operates through a unique two-stage process: Analyze and Build. In the Analyze stage, all file-modifying tools run in a dry-run mode, providing an exact diff of proposed changes without altering any files. This allows developers to preview modifications before committing. Once satisfied, users can switch to the Build stage to apply the changes. This approach ensures safety and control, preventing unintended modifications to the codebase.
Harny offers unparalleled flexibility in model integration, supporting various providers such as OpenAI, Anthropic, and OpenRouter, as well as local models like Ollama, LM Studio, or llama.cpp. It adheres to a single protocol, the OpenAI Chat Completions API, simplifying model management. Users can select their preferred model per session from a simple dropdown menu, with API keys securely stored outside the project directory.
For enhanced efficiency, Harny features real parallelism. When enabled, the agent acts as an orchestrator, breaking down complex tasks into independent sub-tasks and running them concurrently as sub-agents. Each sub-agent has its own stream and stop button, allowing for granular control. The system also ensures that users are never locked out, enabling continuous typing and mid-flight steering of tasks.
Long sessions are managed effectively through context compaction. As the context window fills, Harny intelligently compacts at turn boundaries, preserving recent interactions verbatim and carrying forward the state of the work. Old tool outputs are masked as one-line stubs, making subsequent requests smaller and more efficient. The agent also provides full transparency, displaying token usage, timings, tool call inputs, outputs, and diffs, with reasoning streaming as it happens. A robust guard mechanism is in place to steer small and local models away from repetitive reasoning or tool calls, injecting nudges to keep them on track. Sessions are stored in a central SQLite database, ensuring chat history is safe and separate from project files.
- CategoryAI Coding Assistants
- Pricing ModelFree
- DeploymentVS Code Extension
- PlatformsWeb, Windows, macOS
Harny's Core Features
Full AI coding agent in VSCodium & VS Code
Two-stage workflow: Analyze (dry-run preview) and Build (apply changes)
Bring your own model: supports cloud (OpenAI, Anthropic, OpenRouter) and local (Ollama, LM Studio, llama.cpp) LLMs
One protocol: OpenAI Chat Completions API compatibility
Real parallelism for sub-task execution with independent sub-agents
Persistent conversations per folder with tool calling and live streaming
Context compaction for long sessions, preserving recent context and carrying state forward
Transparency: displays token usage, timings, tool inputs/outputs, and diffs
Guard mechanism to steer models away from loops and repetitive actions
Centralized session history storage in SQLite database (outside project)
Thirteen built-in tools with a small interface for easy extension
MCP (Multi-Conversation Protocol) for server and tool management per session
Skills catalog: load instructions on demand, bypass or allow model activation
Never locked out: continue typing, steer mid-flight, stop tasks instantly
Versioned schema and atomic turn groups for robust conversation management
How to use Harny?
Install Harny: Install the Harny extension from the VSCodium or VS Code marketplace and click its icon in the Activity Bar.
Open a folder: Open exactly one project folder in your workspace, or use the panel to list existing workspace sessions.
Add a provider: Click the gear icon in the AI Model row, select '+ New', paste your API key, and test the connection.
Type a request: Enter your coding request in the chat interface and press Enter to initiate a new session in Analyze mode.
Preview changes: Review the dry-run diffs generated in Analyze mode to understand proposed file modifications.
Apply changes: Switch to Build mode when satisfied with the preview to apply the changes to your project.
Manage sessions: Utilize features like parallelism, context compaction, and the guard to optimize agent performance and steer tasks.
Harny's Use Cases
- Code Generation & Editing
- Project Analysis
- Web Search & Information Retrieval
- Automated Testing
- Contextual Conversations
- LLM Orchestration
- Debugging & Error Fixing
- Documentation Updates
- Skill-Based Task Execution
- Local Model Integration








