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

@liftping/repochief-demo-todo

v0.1.0

Published

TODO App Demo Scenario for RepoChief - Demonstrates AI agent swarm capabilities

Downloads

3

Readme

RepoChief TODO App Demo

This package contains the official demonstration scenario for RepoChief, showcasing how a swarm of 3-5 AI agents can collaboratively build a complete TODO application with REST API, tests, and frontend.

Overview

The demo orchestrates the following agents:

  1. Requirements Analyst - Comprehends and analyzes the TODO app requirements
  2. Backend Developer - Generates the REST API implementation
  3. Test Engineer - Creates comprehensive test suites
  4. Quality Validator - Reviews code quality and security
  5. Frontend Developer - Builds a React-based UI (optional)

Quick Start

# Run in mock mode (no AI costs)
npm run demo:mock

# Run with real AI models (requires API keys)
npm run demo:real

# Interactive mode - choose your configuration
npm run demo

Features Demonstrated

  • Multi-Agent Orchestration: 5 specialized agents working in parallel
  • Task Dependencies: Smart DAG-based execution flow
  • Quality Gates: Automated ESLint, test runner, and complexity checks
  • Cost Tracking: Real-time token usage and cost monitoring
  • Progress Visualization: Live dashboard and terminal updates
  • Artifact Generation: Complete working code output

Demo Scenarios

Scenario 1: Basic TODO API (3 agents)

  • Requirements analysis
  • REST API generation
  • Test suite creation

Scenario 2: Full Stack TODO App (5 agents)

  • All of Scenario 1, plus:
  • Code quality validation
  • React frontend generation

Scenario 3: Enterprise TODO App (5 agents)

  • All of Scenario 2, plus:
  • Authentication & authorization
  • Database integration
  • Docker containerization

Configuration

Environment Variables

# AI Model API Keys
OPENAI_API_KEY=your-openai-key
ANTHROPIC_API_KEY=your-anthropic-key

# Demo Settings
MOCK_MODE=true          # Use mock responses (no API calls)
DEMO_BUDGET=10          # Maximum budget in USD
DEMO_SCENARIO=basic     # basic, fullstack, or enterprise

Custom Configuration

Edit scenarios/config.json to customize:

  • Agent models and roles
  • Task specifications
  • Quality gate thresholds
  • Output preferences

Output Structure

.repochief/artifacts/
├── comprehend-todo-api/
│   └── analysis.md
├── generate-todo-api/
│   ├── src/
│   │   ├── app.js
│   │   ├── routes/
│   │   └── models/
│   └── package.json
├── test-todo-api/
│   └── test/
│       ├── unit/
│       └── integration/
├── validate-todo-api/
│   └── report.md
└── generate-todo-frontend/
    ├── src/
    │   ├── components/
    │   └── App.jsx
    └── package.json

Recording a Demo

# Start recording (opens tmux session)
npm run demo:record

# The script will:
# 1. Set up screen recording
# 2. Run the demo with visual enhancements
# 3. Capture all agent activities
# 4. Generate a video file

Integration with RepoChief CLI

# Using the CLI
repochief demo todo --agents 5 --budget 10

# With specific scenario
repochief demo todo --scenario enterprise --real-mode

Development

Adding New Scenarios

  1. Create a new file in scenarios/
  2. Define agent configurations and tasks
  3. Add to scenario loader in src/scenarios.js

Customizing Agents

Edit src/agents/ to modify agent behaviors, models, or prompts.

Testing

npm test

Troubleshooting

Common Issues

  1. "No API key found"

    • Ensure environment variables are set
    • Check .env file in project root
  2. "Budget exceeded"

    • Increase DEMO_BUDGET value
    • Use mock mode for testing
  3. "Quality gate failed"

    • Review generated code
    • Adjust quality thresholds in config

Learn More