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

platypus-cli

v1.1.1

Published

Multi-agent orchestration CLI for autonomous software development teams

Readme


Platypus is an open-source, provider-agnostic coding agent CLI. Spawn AI agents, orchestrate multi-agent workflows, and automate your development process — all from your terminal. Think Claude Code or Cursor, but fully open and under your control.

Installation

npm install -g platypus-cli

Also works with pnpm, yarn, or bun — any npm-compatible package manager.

Requires Node.js 20+.

Quick Start

# 1. Add an API key
platypus keys add openai       # or: anthropic, google

# 2. Start chatting
platypus

That's it. Platypus opens an interactive REPL where you can talk to your chosen LLM, run tools, and apply changes to your codebase.

# Single-shot task execution
platypus run "Add input validation to the signup form" --wait 120

# Check system health
platypus doctor

Features

| | | | ----------------------------- | -------------------------------------------------------------------------------------------- | | Multi-Agent Orchestration | Spawn teams of specialized AI agents with role-based routing and parallel execution via TMUX | | Provider Agnostic | OpenAI, Anthropic, and Google Gemini — switch with a single flag | | Encrypted Key Storage | AES-256-GCM encryption with OS keychain integration (keytar) | | 15 Built-in Tools | Read, write, patch, search, list files, run commands, JSON ops, MCP bridge, LSP requests | | Staged Changes | Review diffs before applying — nothing hits disk until you approve | | Plan & Build Modes | Read-only "plan" mode for analysis, full-access "build" mode for changes | | Workflows | Pre-built workflows for code review, dev stories, and quick specs | | TMUX Integration | Run agents in parallel terminal sessions with split panes and layouts | | State Persistence | SQLite-backed storage for agents, tasks, and workflow state | | Redis Message Bus | Optional inter-agent communication via Redis pub/sub |

Commands

Core

| Command | Description | | ----------------------- | --------------------------------------- | | platypus | Interactive chat REPL (default) | | platypus chat | Explicit chat mode with flags | | platypus run "<task>" | Execute a single task non-interactively | | platypus doctor | Check system health and dependencies | | platypus stats | Show usage statistics | | platypus upgrade | Upgrade to the latest version |

Agent Management

platypus agent spawn-team --prefix myapp --agents frontend,backend,qa
platypus agent list
platypus agent create --name reviewer --role qa
platypus agent start <id>
platypus agent stop <id>
platypus agent destroy <id>

Key Management

platypus keys add <provider>        # openai | anthropic | google
platypus keys list
platypus keys validate
platypus keys remove <provider>

Workflows

platypus workflow code-review --branch feature/auth
platypus workflow dev-story --feature "User authentication"
platypus workflow quick-spec --prompt "REST API for user management"

Screen / TMUX

platypus screen list
platypus screen attach <session>
platypus screen split --layout tiled
platypus screen layout <name>

REPL Commands

Inside the interactive chat, these slash commands are available:

| Command | Description | | --------------------- | ---------------------------------- | | /mode <plan\|build> | Switch between plan and build mode | | /provider <name> | Switch LLM provider | | /model <name> | Switch model | | /cd <path> | Change working directory | | /diff | Show pending staged changes | | /apply [indices] | Apply staged changes to disk | | /discard [indices] | Discard staged changes | | /clear | Clear conversation history | | /exit | Exit the REPL |

Configuration

API Keys

Keys are encrypted with AES-256-GCM and stored securely in your OS keychain via keytar, with a SQLite fallback.

platypus keys add openai
platypus keys add anthropic
platypus keys add google

Profiles

Create custom profiles for different workflows:

# ~/.platypus/config/profiles/review.yaml
name: review
mode: plan
provider: anthropic
model: claude-3-5-sonnet-20241022
autoApprove: false
allowedTools:
  - read_file
  - list_files
  - search_files
  - run_command
platypus chat --profile review

Environment Variables

| Variable | Description | | ----------------------- | ---------------------------------------------------- | | PLATYPUS_BANNER | 0 to disable startup banner | | NO_COLOR | 1 to disable colors | | PLATYPUS_MASTER_KEY | Master encryption key (32 bytes hex) | | OPENAI_API_KEY | OpenAI API key (alternative to keys add) | | ANTHROPIC_API_KEY | Anthropic API key | | GOOGLE_API_KEY | Google API key | | PLATYPUS_MODEL | Default model name | | PLATYPUS_PROVIDER | Default provider (openai / anthropic / google) | | PLATYPUS_MODE | Default mode (plan / build) | | PLATYPUS_AUTO_APPROVE | 1 to auto-approve tool actions |

Architecture

┌─────────────────────────────────────────────┐
│                  CLI Layer                   │
│         oclif commands + REPL engine         │
├─────────────────────────────────────────────┤
│                Engine Layer                  │
│    Chat session · Tool orchestration · MCP   │
├──────────────┬──────────────┬───────────────┤
│   LLM Layer  │  State Layer │  Agent Layer  │
│  OpenAI      │  SQLite DB   │  Multi-agent  │
│  Anthropic   │  Redis bus   │  runtime &    │
│  Google      │  Workflows   │  TMUX manager │
├──────────────┴──────────────┴───────────────┤
│              Security Layer                  │
│    AES-256-GCM · OS Keychain · Key store    │
└─────────────────────────────────────────────┘

Development

git clone https://github.com/firfircelik/platypus-cli.git
cd platypus-cli
npm install

npm run build          # Compile TypeScript + generate oclif manifest
npm run dev            # Watch mode
npm test               # Run all tests (vitest)
npm run test:coverage  # With coverage report
npm run lint           # ESLint
npm run format         # Prettier

See CONTRIBUTING.md for guidelines on submitting changes.

Documentation

License

MIT