whatisgithub

What is ai-work-harness?

theboogieman/ai-work-harness — explained in plain English

Analysis updated 2026-05-18

3ShellAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A local setup that adds rules, record keeping, and a git safety net around an AI coding assistant so its work stays disciplined and auditable.

Mindmap

mindmap
  root((AI Work Harness))
    What it does
      Rules in one file
      Auto git commits
      Bookkeeping agents
      Session validator
    Tech stack
      Shell
      Git
      Python
      GitHub Copilot
    Use cases
      Structure AI coding sessions
      Keep an audit trail
      Undo AI mistakes
    Audience
      Developers
      AI-assisted coders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Keep a per-task log, status, and notes for every piece of work an AI assistant does with you.

USE CASE 2

Automatically commit every AI-driven file change to a local git repo so mistakes can be undone.

USE CASE 3

Save every ad-hoc SQL or Python check the assistant runs to an audit-trail notebook.

USE CASE 4

Block a new AI coding session from starting on top of an undocumented, messy previous session.

What is it built with?

ShellGitPythonGitHub Copilot

How does it compare?

theboogieman/ai-work-harnessbechsteindigital/claude-shiploophannes/quack
Stars333
LanguageShellShellShell
Last pushed2024-06-05
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/54/54/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires GitHub Copilot's preview custom-agent and hook features, VS Code, git, and a Python 3.12 venv named venv_global with nbformat installed.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

AI Work Harness is a local setup that adds structure and record keeping around an AI coding assistant, so the assistant behaves more like a careful colleague than a fast but forgetful one. The project was built after its author burned through forty thousand credits in a month of undisciplined AI use, and it exists so that does not happen again. The core idea is simple. All the working rules live in one markdown file that the AI assistant reads. A handful of small, cheap AI agents handle bookkeeping tasks like logging and note taking, so the more expensive, capable AI model can focus on actual thinking instead of chores. A bash script checks that things are in order before a work session starts, and a local git repository quietly records every change so mistakes can be undone. Setting it up has two parts. First, a sixty second demo script proves the underlying scripts work correctly on your computer, without needing an AI assistant connected at all. Second, an installer sets up a dedicated working folder, called an estate, with the folder structure, a local only git repository, and the small AI agents in place. This step needs a Python environment with a specific package installed beforehand, and it takes about ten minutes. Once set up, working on a task with the AI assistant automatically creates records instead of relying on memory. Every task folder keeps its own log, current status, and notes. Every one-off check you run, whether SQL or Python, gets saved to a notebook that acts as an audit trail. Every file change is automatically committed to the local git history. And a validator script refuses to let a new work session start if the previous one left things in a messy, undocumented state. The project is designed for one person working on one task at a time, currently depends on GitHub Copilot's custom agent and hook features, and works best with VS Code, git, and Python 3.12 already installed. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me run the demo script for AI Work Harness and confirm all six stages pass.
Prompt 2
Walk me through installing AI Work Harness into a new estate folder on my machine.
Prompt 3
Explain how AI Work Harness's auto-commit hook and validator work together.
Prompt 4
Help me set up the venv_global Python environment that AI Work Harness needs.

Frequently asked questions

What is ai-work-harness?

A local setup that adds rules, record keeping, and a git safety net around an AI coding assistant so its work stays disciplined and auditable.

What language is ai-work-harness written in?

Mainly Shell. The stack also includes Shell, Git, Python.

What license does ai-work-harness use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is ai-work-harness to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ai-work-harness for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.