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

@slaw-ai/slaw

v2026.611.1

Published

Slaw CLI — orchestrate AI agent teams to run a business

Readme

SLAW — Simple Localised Agent Workforce

Open-source orchestration for a simple, localised workforce of AI agents.

Localised agent fleet. Centralised control tower.

Slaw is a Node.js server and React UI that orchestrates a team of AI agents to run a business. Bring your own agents, assign goals, and track work and costs from one dashboard.

It looks like a task manager. Under the hood: org charts, budgets, governance, goal alignment, and agent coordination.

Self-hosted squads. Fleet-wide control.

| | Step | Example | | ------ | --------------- | ------------------------------------------------------------------ | | 01 | Define the goal | "Build the #1 AI note-taking app to $1M MRR." | | 02 | Hire the team | Squad Lead, discipline leads, engineers, designers, marketers — any bot, any provider. | | 03 | Approve and run | Review strategy. Set budgets. Hit go. Monitor from the dashboard. |

If it can receive a heartbeat, it's hired.

Slaw is right for you if

  • ✅ You want to build autonomous AI squads
  • ✅ You coordinate many different agents (Codex, Claude, Cursor) toward a common goal
  • ✅ You have 20 simultaneous Claude Code terminals open and lose track of what everyone is doing
  • ✅ You want agents running autonomously 24/7, but still want to audit work and chime in when needed
  • ✅ You want to monitor costs and enforce budgets
  • ✅ You want a process for managing agents that feels like using a task manager
  • ✅ You want to manage your autonomous businesses from your phone

Features

Problems Slaw solves

| Without Slaw | With Slaw | | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | ❌ You have 20 Claude Code tabs open and can't track which one does what. On reboot you lose everything. | ✅ Tasks are ticket-based, conversations are threaded, sessions persist across reboots. | | ❌ You manually gather context from several places to remind your bot what you're actually doing. | ✅ Context flows from the task up through the project and squad goals — your agent always knows what to do and why. | | ❌ Folders of agent configs are disorganized and you're re-inventing task management, communication, and coordination between agents. | ✅ Slaw gives you org charts, ticketing, delegation, and governance out of the box — so you run a squad, not a pile of scripts. | | ❌ Runaway loops waste hundreds of dollars of tokens and max your quota before you even know what happened. | ✅ Cost tracking surfaces token budgets and throttles agents when they're out. Management prioritizes with budgets. | | ❌ You have recurring jobs (customer support, social, reports) and have to remember to manually kick them off. | ✅ Heartbeats handle regular work on a schedule. Management supervises. | | ❌ You have an idea, you have to find your repo, fire up Claude Code, keep a tab open, and babysit it. | ✅ Add a task in Slaw. Your coding agent works on it until it's done. Management reviews their work. |

Why Slaw is special

Slaw handles the hard orchestration details correctly.

| | | | --------------------------------- | ------------------------------------------------------------------------------------------------------------- | | Atomic execution. | Task checkout and budget enforcement are atomic, so no double-work and no runaway spend. | | Persistent agent state. | Agents resume the same task context across heartbeats instead of restarting from scratch. | | Runtime skill injection. | Agents can learn Slaw workflows and project context at runtime, without retraining. | | Governance with rollback. | Approval gates are enforced, config changes are revisioned, and bad changes can be rolled back safely. | | Goal-aware execution. | Tasks carry full goal ancestry so agents consistently see the "why," not just a title. | | Portable squad templates. | Export/import orgs, agents, and skills with secret scrubbing and collision handling. | | True multi-squad isolation. | Every entity is squad-scoped, so one deployment can run many squads with separate data and audit trails. |

SLAW Botfather — the fleet control tower

SLAW and SLAW Botfather go hand in hand: SLAW runs a squad on one machine; Botfather puts a single self-hosted tower over every SLAW instance you (or your team) run.

Each instance stays fully local and sovereign — work content, prompts, and secrets never leave the machine. Enrolled instances report operational metadata outbound to the tower; the tower never reaches inbound into an instance.

| | | | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------ | | Fleet view | Every enrolled instance at a glance — health, squads, spend today/MTD, alerts — with one-click drill-down. | | Cost analytics | Network-wide spend by day, cost by model, and top-burner instances and squads. | | Budgets & limits | An enterprise-wide default plus per-instance overrides; plan-aware (dollars for metered, tokens for subscription) with soft warn or hard block. | | Alerts | Offline instances, missed heartbeats, budget breaches, and skill-catalog drift. | | Approvals & admin | Enrollment is approval-gated; revoke instances at any time; optional auto-approve rules. | | Skill registry | The tower masters a versioned skill catalog; instances pull it and install skills onto local squads. |

Enrolling an instance takes one setting: point Settings → Control Tower at your tower's URL and approve it in Botfather. Without a tower configured, SLAW runs standalone — Botfather is entirely optional.

Repo: github.com/slaw-ai/slaw-botfather · Docs: docs.slaw.run/botfather

What's Under the Hood

Slaw is a full control plane, not a wrapper. Before you build any of this yourself, know that it already exists:

┌──────────────────────────────────────────────────────────────┐
│                       SLAW SERVER                       │
│                                                              │
│  ┌───────────┐  ┌───────────┐  ┌───────────┐  ┌───────────┐  │
│  │Identity & │  │  Work &   │  │ Heartbeat │  │Governance │  │
│  │  Access   │  │   Tasks   │  │ Execution │  │& Approvals│  │
│  └───────────┘  └───────────┘  └───────────┘  └───────────┘  │
│                                                              │
│  ┌───────────┐  ┌───────────┐  ┌───────────┐  ┌───────────┐  │
│  │ Org Chart │  │Workspaces │  │  Plugins  │  │  Budget   │  │
│  │ & Agents  │  │ & Runtime │  │           │  │ & Costs   │  │
│  └───────────┘  └───────────┘  └───────────┘  └───────────┘  │
│                                                              │
│  ┌───────────┐  ┌───────────┐  ┌───────────┐  ┌───────────┐  │
│  │ Routines  │  │ Secrets & │  │ Activity  │  │  Squad  │  │
│  │& Schedules│  │  Storage  │  │ & Events  │  │Portability│  │
│  └───────────┘  └───────────┘  └───────────┘  └───────────┘  │
└──────────────────────────────────────────────────────────────┘
         ▲              ▲              ▲              ▲
   ┌─────┴─────┐  ┌─────┴─────┐  ┌─────┴─────┐  ┌─────┴─────┐
   │  Claude   │  │   Codex   │  │   CLI     │  │ HTTP/web  │
   │   Code    │  │           │  │  agents   │  │   bots    │
   └───────────┘  └───────────┘  └───────────┘  └───────────┘

The Systems

Identity & Access — Two deployment modes (trusted local or authenticated), board users, agent API keys, short-lived run JWTs, squad memberships, invite flows, and agent onboarding. Every mutating request is traced to an actor.

Org Chart & Agents — Agents have roles, titles, reporting lines, permissions, and budgets. Adapter examples match the diagram: Claude Code, Codex, CLI agents such as Cursor/Gemini/bash, HTTP/webhook bots, and external adapter plugins. If it can receive a heartbeat, it's hired.

Work & Task System — Issues carry squad/project/goal/parent links, atomic checkout with execution locks, first-class blocker dependencies, comments, documents, attachments, work products, labels, and inbox state. No double-work, no lost context.

Heartbeat Execution — DB-backed wakeup queue with coalescing, budget checks, workspace resolution, secret injection, skill loading, and adapter invocation. Runs produce structured logs, cost events, session state, and audit trails. Recovery handles orphaned runs automatically.

Workspaces & Runtime — Project workspaces, isolated execution workspaces (git worktrees, operator branches), and runtime services (dev servers, preview URLs). Agents work in the right directory with the right context every time.

Governance & Approvals — Board approval workflows, execution policies with review/approval stages, decision tracking, budget hard-stops, agent pause/resume/terminate, and full audit logging. Nothing ships without your sign-off.

Budget & Cost Control — Token and cost tracking by squad, agent, project, goal, issue, provider, and model. Scoped budget policies with warning thresholds and hard stops. Overspend pauses agents and cancels queued work automatically.

Routines & Schedules — Recurring tasks with cron, webhook, and API triggers. Concurrency and catch-up policies. Each routine execution creates a tracked issue and wakes the assigned agent — no manual kick-offs needed.

Plugins — Instance-wide plugin system with out-of-process workers, capability-gated host services, job scheduling, tool exposure, and UI contributions. Extend Slaw without forking it. Ships with first-party integrations like Jira Sync (bidirectional Jira board ↔ Slaw issue sync).

Secrets & Storage — Instance and squad secrets, encrypted local storage, provider-backed object storage, attachments, and work products. Sensitive values stay out of prompts unless a scoped run explicitly needs them.

Activity & Events — Mutating actions, heartbeat state changes, cost events, approvals, comments, and work products are recorded as durable activity so operators can audit what happened and why.

Squad Portability — Export and import entire organizations — agents, skills, projects, routines, and issues — with secret scrubbing and collision handling. One deployment, many squads, complete data isolation.

What Slaw is not

| | | | ---------------------------- | -------------------------------------------------------------------------------------------------------------------- | | Not a chatbot. | Agents have jobs, not chat windows. | | Not an agent framework. | We don't tell you how to build agents. We tell you how to run a squad made of them. | | Not a workflow builder. | No drag-and-drop pipelines. Slaw models squads — with org charts, goals, budgets, and governance. | | Not a prompt manager. | Agents bring their own prompts, models, and runtimes. Slaw manages the organization they work in. | | Not a single-agent tool. | This is for teams. If you have one agent, you probably don't need Slaw. If you have twenty — you definitely do. | | Not a code review tool. | Slaw orchestrates work, not pull requests. Bring your own review process. |

Quickstart

Open source. Self-hosted. No Slaw account required.

npx @slaw-ai/slaw onboard --yes

That quickstart path now defaults to trusted local loopback mode for the fastest first run. To start in authenticated/private mode instead, choose a bind preset explicitly:

npx @slaw-ai/slaw onboard --yes --bind lan
# or:
npx @slaw-ai/slaw onboard --yes --bind tailnet

If you already have Slaw configured, rerunning onboard keeps the existing config in place. Use slaw configure to edit settings.

Or manually:

git clone https://github.com/slaw-ai/slaw.git
cd slaw
pnpm install
pnpm dev

This starts the API server at http://localhost:3100. An embedded PostgreSQL database is created automatically — no setup required.

Requirements: Node.js 20+, pnpm 9.15+

FAQ

What does a typical setup look like? Locally, a single Node.js process manages an embedded Postgres and local file storage. For production, point it at your own Postgres and deploy however you like. Configure projects, agents, and goals — the agents take care of the rest.

If you're a solo entrepreneur you can use Tailscale to access Slaw on the go. Then later you can deploy to e.g. Vercel when you need it.

Can I run multiple squads? Yes. A single deployment can run an unlimited number of squads with complete data isolation.

How is Slaw different from agents like Claude Code? Slaw uses those agents. It orchestrates them into a squad — with org charts, budgets, goals, governance, and accountability.

Why should I use Slaw instead of just pointing my agent to Asana or Trello? Agent orchestration has subtleties in how you coordinate who has work checked out, how to maintain sessions, monitoring costs, establishing governance - Slaw does this for you.

(Bring-your-own-ticket-system is on the Roadmap)

Do agents run continuously? By default, agents run on scheduled heartbeats and event-based triggers (task assignment, @-mentions). You can also hook in continuous agents. You bring your agent and Slaw coordinates.

Development

pnpm dev              # Full dev (API + UI, watch mode)
pnpm dev:once         # Full dev without file watching
pnpm dev:server       # Server only
pnpm build            # Build all
pnpm typecheck        # Type checking
pnpm test             # Cheap default test run (Vitest only)
pnpm test:watch       # Vitest watch mode
pnpm test:e2e         # Playwright browser suite
pnpm db:generate      # Generate DB migration
pnpm db:migrate       # Apply migrations

pnpm test does not run Playwright. Browser suites stay separate and are typically run only when working on those flows or in CI.

See doc/DEVELOPING.md for the full development guide.

Roadmap

  • ✅ Plugin system (e.g. add a knowledge base, custom tracing, queues, etc)
  • ✅ Get continuous agent employees
  • ✅ squads.sh - import and export entire organizations
  • ✅ Easy AGENTS.md configurations
  • ✅ Skills Manager
  • ✅ Scheduled Routines
  • ✅ Better Budgeting
  • ✅ Agent Reviews and Approvals
  • ✅ Multiple Human Users
  • ⚪ Cloud / Sandbox agents (e.g. Cursor / e2b agents)
  • ⚪ Artifacts & Work Products
  • ⚪ Memory / Knowledge
  • ⚪ Enforced Outcomes
  • ⚪ MAXIMIZER MODE
  • ⚪ Deep Planning
  • ⚪ Work Queues
  • ⚪ Self-Organization
  • ⚪ Automatic Organizational Learning
  • ⚪ Squad Lead Chat
  • ⚪ Cloud deployments
  • ⚪ Desktop App

This is the short roadmap preview. See the full roadmap in ROADMAP.md.

Community & Plugins

Find Plugins and more at awesome-slaw

Bundled plugins live under packages/plugins/ and are auto-discovered at startup. Notably:

  • Jira Sync (@slaw-ai/plugin-jira-sync) — connects one Jira board to a squad. Mirrors Jira issues into Slaw (real-time webhook + hourly reconcile) and reflects Slaw completion back to Jira. Install it into a squad, point it at a board, and it provisions a sync agent and an hourly routine for you. See packages/plugins/jira-sync/README.md.

Contributing

We welcome contributions. See the contributing guide for details.

Community

License

MIT © 2026 Slaw AI

Credits

SLAW is a fork of Paperclip by @dotta, also MIT-licensed. Huge thanks to the Paperclip project and its contributors for the foundation this builds on.

Star History

Star History Chart