Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Harnext

FreeNot checked

AI coding agent with harness engineering — interactive REPL, MCP support, and a GitHub-issue-driven workflow runner.

GitHubEmbed

About

AI coding agent with harness engineering — interactive REPL, MCP support, and a GitHub-issue-driven workflow runner.

README

An AI coding agent with harness engineering. harnext is an interactive terminal agent that can read, write, and edit files, run shell commands, drive MCP servers, and pick up GitHub issues through generated GitHub Actions workflows (run on either GitHub-hosted runners or a self-hosted runner registered against your PC).

It works with Anthropic, OpenAI, Google, Ollama, and 20+ other providers via pi-ai.

Install

Requires Node.js ≥ 20.

npm (recommended)

npm install -g harnext

Then run:

harnext

On first run you'll be prompted to pick a provider, paste an API key (stored in ~/.harnext/agent/auth.json, mode 0600), and choose a model.

Command not found after install? Your current shell may have cached the old PATH. Run rehash (zsh) or hash -r (bash), or open a new terminal. New terminals pick up the binary automatically.

One-line install script

If you'd rather not invoke npm directly:

curl -fsSL https://raw.githubusercontent.com/yasha-dev1/codefactory/main/scripts/install.sh | bash

The script verifies Node ≥ 20 is on PATH and then runs npm install -g harnext.

From source

git clone https://github.com/yasha-dev1/codefactory.git
cd codefactory
npm install
npm run build
node packages/cli/dist/index.js

Quick start

harnext                                          # interactive REPL
harnext -p "list the files in this directory"    # one-shot prompt
harnext --provider openai -m gpt-4o              # different provider/model
harnext setup                                    # configure project pipeline
harnext status                                   # show active agent runs
harnext runner status                            # inspect the self-hosted runner daemon
harnext runner logs                              # tail the runner's diag log
harnext mcp --help                               # manage MCP servers

Pass -h / --help to any subcommand to see its flags.

Upgrade

npm update -g harnext

Uninstall

npm uninstall -g harnext

License

MIT — see LICENSE.

from github.com/QualityUnit/harnext

Install Harnext in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install harnext

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add harnext -- npx -y harnext

FAQ

Is Harnext MCP free?

Yes, Harnext MCP is free — one-click install via Unyly at no cost.

Does Harnext need an API key?

No, Harnext runs without API keys or environment variables.

Is Harnext hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Harnext in Claude Desktop, Claude Code or Cursor?

Open Harnext on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Harnext with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs