Unharnessed
A coding agent harness that gives the model one tool, a persistent Python REPL, delivered as a VS Code extension, terminal app, headless CLI and ACP agent.
At a Glance
Unharnessed is free and open source (MIT License). Sign in with an existing AI subscription; requests draw on that plan's limits with no API key and no second bill.
Engagement
Available On
Alternatives
Listed Dec 2026
About Unharnessed
Unharnessed is an open-source coding agent harness built in Rust that gives the model exactly one tool: a persistent Python REPL (ipython). Reading files, searching a repository, patching many call sites, starting dev servers or calling MCP services is all Python the model writes in a kernel that stays alive for the session. It runs as a VS Code extension, a terminal app, a headless CLI and an ACP agent.
What It Is
Unharnessed is a harness for LLM coding agents. Instead of a list of hardcoded tools such as read, edit or grep, the model gets a CPython kernel with top-level await and a bash() function that starts commands in the background and returns a handle. The Rust host handles the agent loop, compaction, goals, provider retry and failover, sessions and the VS Code panel.
How the single-tool design works
What the model reads is stored in kernel variables, so only what it prints enters the context. The model can write reusable Python functions that persist as variables, so a check across 200 files becomes one loop in one call. After context compaction, variables, functions and running processes remain in the kernel, and sessions are saved as JSONL with kernel snapshots that are restored on resume. MCP servers are reached through a pre-imported mcp object rather than native tool schemas, and skills (folders with a SKILL.md) and AGENTS.md/CLAUDE.md files are loaded.
Run modes and models
Three modes are documented: Turn (the model decides when it is done), Goal (persists across turns until the model audits its work and completes it, with an optional token budget) and Autonomous (user-defined gate commands such as tests decide completion). Users can sign in with existing Claude, ChatGPT, GitHub Copilot, Google AI or Grok plans, bring API keys for 25 listed providers and gateways, or use local servers such as Ollama, LM Studio, llama.cpp and vLLM. Failed turns go through retry, provider failover and quota-wait wake-ups.
Design tradeoffs to know
The project deliberately omits sub-agents, memory and permission prompts. It never asks before running a command, and the kernel is not a sandbox, so the README advises using a container, VM or disposable checkout. The site's Terminal-Bench 4.0 chart is labeled placeholder data. Installation needs uv to build the Python kernel the first time.
Collections
Popular collections
- Team of Agents
Collection by @joemseifi
- Pick Up Where Your Agent Left Off
Collection by @caiovalverde
- Read Your Agent's Code Before You Merge
Collection by @presscheck
- Give Your Agent Design Taste
Collection by @linetwk
Add Unharnessed to one of your collections.
Community Discussions
Be the first to start a conversation about Unharnessed
Share your experience with Unharnessed, ask questions, or help others learn from your insights.
Pricing
Free
Unharnessed is free and open source (MIT License). Sign in with an existing AI subscription; requests draw on that plan's limits with no API key and no second bill.
- One tool: a persistent Python REPL
- Ships as a VS Code extension, terminal app, headless CLI and ACP agent
- Sign in with Claude Pro/Max, ChatGPT Plus/Pro, GitHub Copilot, Google AI Pro/Ultra or Grok xAI account
- MIT License
- Underlying model usage draws on your own provider plan limits (external cost)
Capabilities
Key Features
- Single ipython tool: persistent Python REPL kernel
- Async bash() with background handles and wake-up turns
- Variables and model-written functions persist across context compaction
- Turn, Goal and Autonomous run modes with gate commands
- Session persistence with kernel snapshot restore
- MCP access from inside the kernel
- Skills and AGENTS.md/CLAUDE.md support
- Provider failover, retry and quota wait
- Sign in with existing Claude, ChatGPT, Copilot, Google AI or Grok plans
- Local model server support
- VS Code extension with kernel panel, terminal TUI, headless CLI and ACP agent
