npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bowlofnoodles/agent-harness

v1.0.0

Published

A full-stack project scaffolding tool based on harness-engineering architecture for continuous autonomous development

Readme

@bowlofnoodles/agent-harness

A full-stack project scaffolding CLI tool powered by the harness-engineering architecture — designed for continuous development with AI coding agents (Claude Code, GitHub Copilot, etc.).

Tech Stack

| Layer | Technology | |-------|-----------| | Frontend | React 18 + TypeScript + Vite | | Backend | Nest.js + TypeScript | | Database | Prisma + PostgreSQL | | AI Agents | Claude Code · GitHub Copilot |

Architecture Flow

┌──────────────────────────────────────────────────────────────────────┐
│                                                                      │
│   developer / AI agent (Claude Code, Copilot)                        │
│        │                                                             │
│        ▼                                                             │
│   ┌──────────────┐                                                   │
│   │  agent-harness│  CLI                                             │
│   │  init / scaffold / guide / status / run                          │
│   └──────┬───────┘                                                   │
│          │                                                           │
│   ┌──────┴──────────────────────────────────────┐                    │
│   │              Agent Core Engine               │                   │
│   │  ┌──────────┐ ┌────────┐ ┌───────────────┐  │                   │
│   │  │TaskQueue │ │ Memory │ │    Config      │  │                   │
│   │  │(priority,│ │(persist│ │  (.harness.yaml│  │                   │
│   │  │ deps,    │ │ facts) │ │   + Zod)      │  │                   │
│   │  │ retries) │ │        │ │               │  │                   │
│   │  └──────────┘ └────────┘ └───────────────┘  │                   │
│   └──────┬──────────────────────────────────────┘                    │
│          │                                                           │
│   ┌──────┴──────┬──────────────┬─────────────────┐                   │
│   ▼             ▼              ▼                 ▼                   │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────────┐             │
│ │  Tools   │ │ Scaffolds│ │Validation│ │ AI Agent     │             │
│ │          │ │          │ │ Pipeline │ │ Instructions │             │
│ │•filesys  │ │• react   │ │          │ │              │             │
│ │•shell    │ │• nestjs  │ │• lint    │ │• CLAUDE.md   │             │
│ │•git      │ │          │ │• test    │ │• copilot-    │             │
│ │•(custom) │ │          │ │• security│ │  instructions│             │
│ └──────────┘ └──────────┘ └──────────┘ └──────────────┘             │
│                    │                                                 │
│                    ▼                                                 │
│   ┌─────────────────────────────────────────┐                        │
│   │       Generated Project (monorepo)       │                       │
│   │                                          │                       │
│   │  frontend/          backend/             │                       │
│   │  ├── src/            ├── src/            │                       │
│   │  │   ├── App.tsx     │   ├── main.ts     │                       │
│   │  │   ├── components/ │   ├── app.module   │                       │
│   │  │   └── pages/      │   ├── auth/       │                       │
│   │  ├── CLAUDE.md       │   ├── health/     │                       │
│   │  └── .github/        │   ├── prisma/     │                       │
│   │     copilot-         │   ├── CLAUDE.md   │                       │
│   │     instructions.md  │   └── .github/    │                       │
│   │                      │      copilot-     │                       │
│   │                      │      instructions │                       │
│   └─────────────────────────────────────────┘                        │
│                    │                                                 │
│                    ▼                                                 │
│          AI agent reads CLAUDE.md /                                  │
│          copilot-instructions.md and                                 │
│          builds features continuously                                │
│                                                                      │
└──────────────────────────────────────────────────────────────────────┘

Quick Start

# Install globally
npm install -g @bowlofnoodles/agent-harness

# Or install dependencies for local development
npm install

# Build the CLI tool
npm run build

# Initialize harness config in your project
npx agent-harness init

# Generate a fullstack project (React frontend + Nest.js backend)
npx agent-harness scaffold -t react -n frontend
npx agent-harness scaffold -t nestjs -n backend

# Open with an AI coding agent
cd frontend && claude    # or open in VS Code with Copilot
cd backend  && claude    # AI reads CLAUDE.md for context

CLI Commands

agent-harness init

Initialize Agent Harness configuration in the current directory.

agent-harness init
agent-harness init -n my-project

Creates .harness.yaml config and .harness/ directory.

agent-harness scaffold

Generate a new project scaffold with interactive prompts.

# Interactive mode
agent-harness scaffold

# Non-interactive mode
agent-harness scaffold -t react -n frontend
agent-harness scaffold -t nestjs -n backend

# Specify output directory
agent-harness scaffold -t nestjs -n api -o ./projects

| Template | Type | Description | |----------|------|-------------| | react | Frontend | React 18 + Vite + TypeScript + Tailwind + React Router + Zustand | | nestjs | Backend | Nest.js + TypeScript + Prisma + JWT Auth + Swagger + Docker |

Each generated project includes:

  • CLAUDE.md — AI instructions for Claude Code
  • .github/copilot-instructions.md — AI instructions for GitHub Copilot

agent-harness guide

Show AI agent workflow guides.

# Overview of all supported AI agents
agent-harness guide

# Detailed guide for a specific agent
agent-harness guide --agent claude-code
agent-harness guide --agent copilot-cli

agent-harness status

Show agent status, registered tools, scaffolds, and queue stats.

agent-harness status

agent-harness run

Start the agent loop for continuous task processing.

agent-harness run           # Continuous mode
agent-harness run --once    # Process one task and exit

AI Agent Workflow

Agent Harness generates projects that are AI-agent-ready out of the box. Every scaffolded project includes instruction files that popular AI coding tools read automatically.

With Claude Code

# 1. Generate a project
agent-harness scaffold -t nestjs -n backend

# 2. Open with Claude Code
cd backend && claude

# Claude automatically reads CLAUDE.md and understands:
# - Project structure & conventions
# - Available commands
# - How to add new modules
# - Code style rules

# 3. Ask Claude to build features
# "Add a users CRUD module with Prisma model"
# "Write unit tests for the auth service"
# "Create a products endpoint with pagination"

With GitHub Copilot

# 1. Generate a project
agent-harness scaffold -t react -n frontend

# 2. Open in VS Code (Copilot reads .github/copilot-instructions.md)
cd frontend && code .

# 3. Use Copilot Chat
# @workspace "How do I add a new page?"
# @workspace "Create a user profile component"
# "Explain this React hook"

Workflow Diagram

  ┌──────────┐     scaffold      ┌──────────────────┐
  │  agent-  │ ───────────────►  │  Generated        │
  │  harness │                   │  Project          │
  │  CLI     │                   │  ├── CLAUDE.md    │
  └──────────┘                   │  ├── .github/     │
                                 │  │   copilot-     │
                                 │  │   instructions │
       ┌─────────────────────────┤  └── src/...      │
       │                         └──────────────────┘
       ▼                                  │
  ┌──────────┐                            │
  │ AI Agent │◄───────────────────────────┘
  │          │  reads instructions
  │• Claude  │  understands structure
  │  Code    │  builds features
  │• Copilot │  runs tests
  └──────────┘

Development

# Run the CLI in development mode
npm run dev

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Lint
npm run lint

# Build
npm run build

Configuration

Agent Harness stores its config in .harness.yaml:

projectName: my-project
logLevel: info
maxConcurrentTasks: 3
defaultScaffold: nestjs
validation:
  lintOnSave: true
  testOnCommit: true
  securityScan: true
git:
  autoCommit: true
  commitPrefix: "[harness]"
  branch: main

Architecture

See docs/architecture.md for the full architecture documentation.

License

MIT