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

@cle-does-things/multipilot

v0.2.0

Published

Orchestration layer to run multiple Copilot tasks concurrently.

Readme

multipilot

A simple orchestration layer based with Temporal Workflows to run multiple Copilot tasks at once.

Prerequisites

  • Temporal CLI installed, or a Temporal cluster running
  • Go v1.24+
  • GitHub Copilot CLI

Installation

With npm (recommended):

npm install @cle-does-things/multipilot@latest

With Go (1.24+ required):

go install github.com/AstraBert/multipilot

Usage

Start a Temporal server:

temporal server start-dev --db-filename multipilot.db

Start the temporal worker that will orchestrate all the tasks:

multipilot start-worker

Create a configuration file with all the tasks you want Copilot to perform, following this blueprint:

{"tasks": 
  [
    {
      "log_file": "copilot-session-backend.log",
      "cwd": "/home/user/backend",
      "log_level": "info",
      "env": [
        "PATH=/usr/local/bin:/usr/bin:/bin",
        "NODE_ENV=production",
        "API_KEY=secret123"
      ],
      "prompt": "Analyze the codebase and suggest improvements for performance",
      "token": "$GH_TOKEN",
      "ai_model": "claude-haiku-4-5",
      "system_prompt": "You are a helpful coding assistant specializing in Go and Python.",
      "exclude_tools": [
        "shell(rm)",
        "shell(git push)",
      ],
      "skills": [
        "code_review",
        "refactoring",
        "testing"
      ],
      "local_mcp_servers": {
        "filesystem": {
          "tools": ["read_file", "write_file", "list_directory"],
          "type": "stdio",
          "timeout": 30,
          "command": "npx",
          "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/project"],
          "env": {
            "NODE_ENV": "production"
          },
          "cwd": "/home/user/project"
        },
        "database": {
          "tools": ["query", "execute"],
          "type": "local",
          "timeout": 60,
          "command": "/usr/local/bin/db-mcp-server",
          "args": ["--config", "/etc/db-config.json"],
          "env": {
            "DB_HOST": "localhost",
            "DB_PORT": "5432"
          }
        }
      },
      "remote_mcp_servers": {
        "weather_api": {
          "tools": ["get_weather", "get_forecast"],
          "type": "http",
          "timeout": 15,
          "url": "https://api.weather.example.com/mcp",
          "headers": {
            "Authorization": "Bearer token123",
            "Content-Type": "application/json"
          }
        },
        "analytics": {
          "tools": ["track_event", "get_metrics"],
          "type": "sse",
          "timeout": 45,
          "url": "https://analytics.example.com/mcp/stream",
          "headers": {
            "X-API-Key": "analytics_key_456"
          }
        }
      },
      "timeout_sec": 300
    },
    {
      "log_file": "copilot-session-frontend.log",
      "cwd": "/home/user/frontend",
      "log_level": "info",
      "env": [
        "PATH=/usr/local/bin:/usr/bin:/bin",
        "NODE_ENV=production",
        "API_KEY=secret123"
      ],
      "prompt": "Analyze the codebase and suggest improvements for performance",
      "token": "$GH_TOKEN",
      "ai_model": "gpt-4.1",
      "system_prompt": "You are a helpful coding assistant specializing in Typescript and React.",
      "exclude_tools": [
        "write",
        "shell(npm remove)",
        "shell(npm install)",
      ],
      "skills": [],
      "local_mcp_servers": {
        "filesystem": {
          "tools": ["read_file", "write_file", "list_directory"],
          "type": "stdio",
          "timeout": 30,
          "command": "npx",
          "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/project"],
          "env": {
            "NODE_ENV": "production"
          },
          "cwd": "/home/user/project"
        }
      },
      "remote_mcp_servers": {},
      "timeout_sec": 300
    }
  ]
}

As you can see, you have a list of tasks under tasks, each having the following structure:

  • log_file: Path where session logs will be written (it is advised to use a .jsonl file since the logs are produced as JSON lines)
  • cwd: Current working directory for the copilot session
  • log_level: Logging verbosity (e.g., "debug", "info", "warn", "error")
  • timeout_sec: Maximum duration in seconds before the session times out
  • env: Array of environment variables in KEY=VALUE format, available to tools and MCP servers
  • token: GitHub personal access token for authentication. It is advised to use $GITHUB_TOKEN or $GH_TOKEN to reference environment variables, without pasting the actual token in the configuration file.
  • ai_model: The AI model to use
  • system_prompt: Custom instructions that define the AI's behavior and role
  • prompt: The user's actual task or question for the AI to process
  • exclude_tools: Black list of tools Copilot cannot use (e.g., shell(rm), write, shell(git push))
  • skills: Directories containing files detailing higher-level capabilities or specialized knowledge areas the AI should employ
  • local_mcp_servers: Stdio/local processes that run on the same machine:
    • tools: List of tool names this server provides
    • type: "stdio" or "local" - how to communicate with the server
    • command: Executable to run (e.g., "npx", "/usr/local/bin/tool")
    • args: Command-line arguments
    • env: Server-specific environment variables
    • cwd: Working directory for the server process
    • timeout: Maximum execution time in seconds
  • remote_mcp_servers: HTTP/SSE endpoints for cloud-based tools:
    • tools: List of tool names this server provides
    • type: "http" or "sse" (Server-Sent Events for streaming)
    • url: API endpoint URL
    • headers: HTTP headers for authentication and content type
    • timeout: Maximum request duration in seconds

Take a look at the example configuration to see a real-world example on how you can use multipilot to run two tasks concurrently on two different projects (multipilot and workflows-acp) to identify the underlying workflow engines that they are using.

Once the configuration is defined, run the tasks:

# use with a custom configuration path
multipilot --config config.json
# use with the default config, `multipilot.config.json`
multipilot

Each task will be run concurrently and, at the end, you will have a report of successfull and failed tasks.

You will be able to render the events produced by the session by running:

multipilot render --input log-file.jsonl

Contributing

Contributions are welcome! Please read the Contributing Guide to get started.

License

This project is licensed under the MIT License