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

agentmatrix-cli

v0.1.16

Published

CLI for AgentMatrix multi-agent orchestration service

Readme

agentmatrix-cli

Command-line interface for AgentMatrix multi-agent orchestration service.

Install

npm install -g agentmatrix-cli

Configuration

agentmatrix config set server http://localhost:8088
agentmatrix config set apikey csp_your_api_key
agentmatrix config list

Config is stored in ~/.agentmatrix/config.json. You can also use --server and --apikey flags on any command to override.

Quick Start

# Create a team
agentmatrix team create --name my-team

# Add a Claude agent
agentmatrix agent add --team $TEAM_ID --id coder --type claude --model claude-opus-4-5

# Create a thread
agentmatrix thread create $TEAM_ID

# Send a message
agentmatrix message send $TEAM_ID $THREAD_ID coder "Hello, please help me review this code."

# Upload an attachment and send with it
agentmatrix attachment upload $TEAM_ID ./report.pdf
agentmatrix message send $TEAM_ID $THREAD_ID coder "Review this file" --attachment-ids $ATT_ID

# Broadcast to all agents
agentmatrix message broadcast $TEAM_ID $THREAD_ID "Team sync: what's your status?"

Global Options

| Flag | Description | |------|-------------| | --server <url> | Server URL (overrides config) | | --apikey <key> | API key (overrides config) | | --json | Output as JSON instead of formatted tables |

Commands

config

agentmatrix config set <key> <value>    # Set config value (server, apikey)
agentmatrix config get <key>            # Get config value
agentmatrix config list                 # List all config values

health

agentmatrix health                      # Check service health

team

agentmatrix team create --name <name> [--metadata <json>]
agentmatrix team list
agentmatrix team get <teamId>
agentmatrix team destroy <teamId>

agent

agentmatrix agent add --team <teamId> --id <agentId> [options]
  --type <type>              Agent type: claude, codex, openclaw, pi (default: claude)
  --template <templateId>    E2B template ID
  --model <model>            Model ID
  --prompt <text>            System prompt
  --allowed-tools <tools>    Comma-separated tool names
  --mcp-servers <json>       MCP server specs as JSON array
  --files <json>             File specs as JSON array
  --skills <ids>             Comma-separated skill IDs
  --timeout <seconds>        Sandbox timeout
  --env <json>               Environment variables as JSON
  --metadata <json>          Metadata as JSON

agentmatrix agent list --team <teamId>
agentmatrix agent get <agentId> --team <teamId>

agentmatrix agent update <agentId> --team <teamId> [options]
  --model <model>            Model ID
  --prompt <text>            System prompt
  --allowed-tools <tools>    Comma-separated tool names
  --env <json>               Environment variables as JSON
  --mcp-servers <json>       MCP server specs as JSON array
  --files <json>             File specs as JSON array
  --skills <ids>             Comma-separated skill IDs

agentmatrix agent remove <agentId> --team <teamId>

thread

agentmatrix thread create <teamId> [--metadata <json>]
agentmatrix thread list <teamId> [--limit <n>] [--offset <n>]
agentmatrix thread get <teamId> <threadId>
agentmatrix thread archive <teamId> <threadId>

message

agentmatrix message send <teamId> <threadId> <agentId> <text> [options]
  --timeout <ms>             Response timeout in milliseconds
  --async                    Send asynchronously (fire-and-forget)
  --request-id <id>          Custom correlation ID
  --attachment-ids <ids>     Comma-separated attachment IDs

agentmatrix message broadcast <teamId> <threadId> <text> [options]
  --timeout <ms>
  --async
  --request-id <id>
  --attachment-ids <ids>

agentmatrix message multicast <teamId> <threadId> <text> --agents <ids> [options]
  --agents <ids>             Comma-separated agent IDs (required)
  --timeout <ms>
  --async
  --request-id <id>
  --attachment-ids <ids>

agentmatrix message history <teamId> <threadId> [--limit <n>] [--offset <n>]

attachment

agentmatrix attachment upload <teamId> <filePath> [--name <filename>] [--content-type <type>]
agentmatrix attachment list <teamId>
agentmatrix attachment download-url <teamId> <attachmentId>
agentmatrix attachment delete <teamId> <attachmentId>

artifact

agentmatrix artifact list <teamId> <threadId> [--dir <subdir>]
agentmatrix artifact read <teamId> <threadId> <path>
agentmatrix artifact write <teamId> <threadId> <path> --content <text> | --file <filePath> [--encoding <utf-8|base64>]
agentmatrix artifact delete <teamId> <threadId> <path>
agentmatrix artifact archive <teamId> <threadId> [--output <file>]

skill

agentmatrix skill create <teamId> --name <name> --desc <description> [--file <zipPath>]
agentmatrix skill list <teamId>
agentmatrix skill get <teamId> <skillId>
agentmatrix skill update <teamId> <skillId> [--name <name>] [--desc <description>] [--file <zipPath>]
agentmatrix skill delete <teamId> <skillId>

volume

agentmatrix volume upload <volumeId> <filePath> [--name <filename>]
agentmatrix volume upload-url <volumeId> <filename>
agentmatrix volume sync <volumeId> <r2Key>

apikey

agentmatrix apikey create --name <teamName>
agentmatrix apikey list
agentmatrix apikey revoke <id>

admin

agentmatrix admin refresh-env           # Refresh env vars across all active agents

License

MIT