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

dogukan

v0.0.2

Published

A multi-agent swarm coding CLI on top of Claude Code — plan, swarm, and talk to each agent while they work.

Readme

dogukan

A multi-agent swarm coding CLI built on top of Claude Code. You give it a topic, it plans like a senior engineer, you trigger the loop, and a swarm of coding agents builds the plan in parallel — each in its own git worktree — while you talk to any one of them live.

It's the "type and talk" feel of Claude Code, but orchestrating many agents you can each converse with mid-task.

The flow

topic → plan → (review/refine) → /loop → swarm → talk to agents → /merge → done
  1. Topic — you say what you want to build.
  2. Plan — a planner agent produces a full plan (problem, actors, acceptance criteria, data model, API, sequence flow, architecture, slices, tests, risks) following the senior-engineering rules in src/prompts/senior-coding-agent.md.
  3. Review — read it in the planner pane; chat with the planner to refine.
  4. /loop — the plan is decomposed into independent slices; one worker agent per slice spawns in its own git worktree (parallel, no file clobbering).
  5. Talk to any agentTab switches the focused agent (tmux-style sidebar + conversation pane). Type to steer the focused agent; Ctrl-C interrupts it; /broadcast messages every worker.
  6. /merge — agent branches merge back into the base branch.

Architecture

  • Engine: each agent is a Claude Code session via the Claude Agent SDK (@anthropic-ai/claude-agent-sdk), running locally with cwd set to its worktree. Streaming-input mode + interrupt() are what let you steer a running agent — that's the load-bearing capability the whole tool rests on.
  • TUI: Ink (React for the terminal) — focus-switch layout.
  • Isolation: one git worktree + branch per worker; sequential merge back.

Key modules: src/core/agent.ts (steerable session wrapper), orchestrator.ts (state machine + scheduler + bus), planner.ts / decompose.ts / worktrees.ts / store.ts, and src/ui/*.

Requirements

  • Node 20+ and git.
  • Claude Code authentication: an existing claude login or ANTHROPIC_API_KEY.

Install & run

npm install
npm run build
node dist/cli.js            # or: npm link  →  dogukan
# work in another repo:
node dist/cli.js --repo /path/to/your/project

Dev (no build step):

npm run dev

Keys & commands

  • Tab / Shift-Tab — switch focused agent
  • Ctrl-C — interrupt the focused agent (press twice to quit)
  • /loop — decompose plan and start the swarm
  • /merge — merge agent branches back
  • /focus N, /broadcast <msg>, /pause [N], /resume [N], /agents, /help, /quit

Configuration

Optional .dogukan/config.json in the target repo (all fields have defaults):

{
  "model": "claude-opus-4-8",
  "workerModel": "claude-opus-4-8",
  "maxConcurrentAgents": 4,
  "permissionMode": "acceptEdits",
  "worktreeBase": ".dogukan/worktrees"
}

To cut cost while iterating, set "workerModel": "claude-sonnet-4-6" and "maxConcurrentAgents": 2.

Tests

npm test          # vitest — uses a mocked SDK (no tokens) + a temp git repo
npm run typecheck

Status / known simplifications

  • A worker reaching a turn boundary counts as its slice "complete" for scheduling (frees a concurrency slot and unblocks dependents). You can keep steering it afterward; acceptance criteria aren't auto-verified yet.
  • Merge conflicts are surfaced for manual resolution (no auto-resolver agent yet).
  • Off-focus agents update status live; their full transcript is read when focused.