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

multi-agent-copilot-sdk

v1.0.3

Published

Multi-agent orchestration system built on GitHub Copilot SDK with APEV (Ask-Plan-Execute-Validate) workflow

Readme

Team Copilot: Multi-Agent AI Collaboration System

Coordinate multiple specialized AI agents to solve complex tasks through collaboration.

Features

APEV Workflow - Ask → Plan → Execute → Validate with auto-retry
🔄 YAML Pipelines - Define custom agent workflows with DAG execution
🤖 4 Specialized Agents - Architect, Implementer, Reviewer, Analyst
🔍 Built-in Validation - Every output is reviewed before delivery
Fault Isolation - Each agent runs independently for robustness

Quick Start

Prerequisites

Installation

npm install -g multi-agent-copilot-sdk

Usage

APEV Mode (Interactive collaboration):

copilot-agents

Pipeline Mode (YAML-defined workflows):

copilot-pipeline examples/simple-pipeline.yml --prompt "Your task"

Try It Out

APEV Mode Examples

# Interactive session
copilot-agents
> Create a TypeScript calculator with add, subtract, multiply, divide

# Or in development:
npm run ape

Agents collaborate: Bob plans → Alice implements → Dave validates → Auto-retry if needed

Pipeline Mode Examples

Simple 3-agent pipeline:

# examples/simple-pipeline.yml
name: "Code Review Pipeline"
agents:
  - id: implementer
    profile: IMPLEMENTER
  - id: reviewer
    profile: REVIEWER
    dependsOn: [implementer]
  - id: verifier
    profile: ANALYST
    dependsOn: [reviewer]

Run it:

# After global install:
copilot-pipeline examples/simple-pipeline.yml --prompt "Build a REST API"

# In development:
npm run pipeline examples/simple-pipeline.yml -- --prompt "Build a REST API"

Agent Profiles

| Agent | Role | Expertise | |-------|------|-----------| | Alice | Implementer | Code generation, file creation | | Bob | Architect | System design, planning | | Carol | Analyst | Analysis, debugging, insights | | Dave | Reviewer | Code review, validation |

Pipeline Configuration

Create custom workflows in YAML:

name: "My Pipeline"
version: "1.0"

agents:
  - id: "step1"
    name: "Data Processor"
    profile: "IMPLEMENTER"
    customInstructions: "Process CSV data"
  
  - id: "step2"
    name: "Quality Check"
    profile: "REVIEWER"
    dependsOn: ["step1"]

settings:
  continueOnFailure: false  # Stop on first error
  maxParallelAgents: 3      # Limit concurrency
  verbose: true

See Pipeline Guide for complete reference.

Architecture

Per-Agent Isolation:

  • Each agent runs its own CopilotClient process
  • Independent stdio streams eliminate contention
  • Failures in one agent don't cascade to others

DAG Execution:

  • Topological sort determines execution order
  • Parallel execution of independent agents
  • Dependency validation prevents cycles

Coordinated Cleanup:

  • Promise.allSettled() for parallel shutdown
  • Proper error logging (no suppression)
  • 100ms stream flush delay for graceful termination

Details: Architecture Docs | Implementation Summary

Development

# Clone and install
git clone https://github.com/tdevere/Team-Copilot.git
cd Team-Copilot
npm install

# Build
npm run build

# Test APEV mode
npm run apev

# Test pipeline
npm run pipeline examples/simple-pipeline.yml -- --prompt "Your task"

# Run tests
npm test

Global Installation:

npm install -g .
# Then use copilot-agents and copilot-pipeline directly

Configuration (Optional)

# Custom Copilot CLI path
export COPILOT_CLI_PATH=/path/to/copilot

# Debug logging
export COPILOT_LOG_LEVEL=debug

Troubleshooting

"Cannot find copilot CLI"

  • Install: winget install GitHub.Copilot (Windows) or brew install copilot-cli (macOS)
  • Set path: export COPILOT_CLI_PATH=/path/to/copilot

Pipeline fails with "Cycle detected"

  • Check dependsOn - must form valid DAG (no circular dependencies)

Agents hang during initialization

  • Each agent needs its own client - per-agent architecture prevents this

See Troubleshooting Guide for more.

Documentation

License

MIT - See LICENSE