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

cervellaswarm

v0.1.2

Published

16 AI agents working as a team for your project. Not an assistant - a TEAM.

Readme

CervellaSwarm

16 AI agents working as a team for your project. Not an assistant - a TEAM.

cervellaswarm task "Add user authentication"

  Agent: cervella-backend
  Model: claude-sonnet-4-20250514

  Working...

  [Output with complete code, ready to use]

Why CervellaSwarm?

Traditional AI assistants are generalists. CervellaSwarm gives you 16 specialized agents organized in a hierarchy:

The Queen (Orchestrator)

| Agent | Role | |-------|------| | cervella-orchestrator | Coordinates all agents, delegates tasks |

The Guardians (Quality Gates)

| Agent | Specialty | |-------|-----------| | cervella-guardiana-qualita | Code quality, standards, reviews | | cervella-guardiana-ops | DevOps, infrastructure, deploy | | cervella-guardiana-ricerca | Research validation, fact-checking |

The Workers (Specialists)

| Agent | Specialty | |-------|-----------| | cervella-backend | Python, FastAPI, API, Database | | cervella-frontend | React, CSS, Tailwind, UI/UX | | cervella-tester | Testing, Debug, QA | | cervella-docs | Documentation, README, Guides | | cervella-devops | Deploy, CI/CD, Docker | | cervella-data | SQL, Analytics, Database Design | | cervella-security | Security Audit, Vulnerabilities | | cervella-researcher | Research, Analysis, Best Practices | | cervella-ingegnera | Architecture, Refactoring, Tech Debt | | cervella-marketing | UX Strategy, Copywriting, Positioning | | cervella-reviewer | Code Review, Best Practices | | cervella-scienziata | Market Research, Competitor Analysis |

Quick Start

1. Install

npm install -g cervellaswarm

Requires: Node.js 18+

2. Initialize your project

cd your-project
cervellaswarm init

The wizard will:

  • Ask for your API key (get one at console.anthropic.com)
  • Set up your project constitution (10 quick questions)
  • Create the .sncp/ memory directory

Your API key is saved securely - you only need to enter it once.

3. Run your first task

cervellaswarm task "Create a REST API endpoint for user registration"

4. Check your setup

cervellaswarm doctor

Shows if everything is configured correctly.

Talk to Your AI Team

CervellaSwarm understands natural language. Here are the essential phrases:

| Say This | To Do This | |----------|------------| | cervellaswarm task "..." | Execute a task with your AI team | | checkpoint | Save your progress (during a session) | | prossimo passo | Move to the next step | | spawn-workers --backend | Activate a specific agent | | chiudiamo | End session cleanly |

Pro tip: CervellaSwarm is not an assistant - it's a team. Delegate decisions:

"volete decidere" → Let the team choose the best approach
"consigli"        → Get suggestions before implementing

"Not an assistant - a TEAM."

Commands

cervellaswarm init

Initialize CervellaSwarm in your project. Creates a .sncp/ directory for persistent memory.

cervellaswarm task <description>

Execute a task with an AI agent.

# Auto-route to best agent
cervellaswarm task "Add login page"

# Specify agent manually
cervellaswarm task "Write unit tests" --agent cervella-tester

cervellaswarm status

Show current project status and recent sessions.

cervellaswarm resume

Resume the last task session with context recap.

cervellaswarm doctor

Diagnose your setup and fix issues.

cervellaswarm doctor            # Quick health check
cervellaswarm doctor --validate # Test API key with actual call
cervellaswarm doctor --config   # Show all configuration values

Key Features

  • 16 Specialized Agents: Not one generalist, a full team
  • Smart Routing: Automatically selects the best agent for your task
  • Persistent Memory (SNCP): Never explain your project twice
  • Session Management: Track and resume tasks across sessions
  • Quality Gates: Guardian agents review before merge
  • Retry Logic: Automatic retries on rate limits or temporary errors

Architecture

                    +-------------------+
                    |     QUEEN         |
                    | (Orchestrator)    |
                    +--------+----------+
                             |
        +--------------------+--------------------+
        |                    |                    |
+-------v-------+    +-------v-------+    +------v--------+
|   GUARDIAN    |    |   GUARDIAN    |    |   GUARDIAN    |
|   Qualita     |    |     Ops       |    |   Ricerca     |
+---------------+    +---------------+    +---------------+
        |
        +-- Reviews all worker output

+-----------------------------------------------+
|                 12 WORKERS                    |
|  backend, frontend, tester, docs, devops,    |
|  data, security, researcher, ingegnera,      |
|  marketing, reviewer, scienziata             |
+-----------------------------------------------+

Requirements

Configuration

API Key Setup

CervellaSwarm supports two ways to configure your API key:

Option 1: Through the wizard (recommended)

cervellaswarm init
# The wizard will ask for your key and save it securely

Option 2: Environment variable

export ANTHROPIC_API_KEY=sk-ant-...

The environment variable takes priority if both are set.

Config Location

Your configuration is stored at:

  • macOS: ~/Library/Preferences/cervellaswarm-nodejs/config.json
  • Linux: ~/.config/cervellaswarm-nodejs/config.json
  • Windows: %APPDATA%\cervellaswarm-nodejs\Config\config.json

View/Reset Configuration

cervellaswarm doctor --config    # View current config

Our Promise

We'll always tell the truth.

CervellaSwarm has limitations. Context limits. Session management. Manual checkpoints.

But also: moments of pure magic. When the swarm works together like an orchestra.

We're not perfect. We're honest. We're improving every day.

"Sometimes it feels like magic."


License

Apache-2.0


"16 agenti. 1 comando. Il tuo team AI."

Sometimes it feels like magic.

Built with love by Cervella & Rafa