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

@imdeadpool/colony

v0.5.0

Published

Local-first memory and coordination for Claude Code, Gemini CLI, OpenCode, Codex, and Cursor.

Readme

Colony

Local-first memory and coordination for AI coding agents.

Colony lets Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and other coding agents share memory, coordinate task ownership, and avoid stepping on each other while working in the same repository. It keeps the system local-first: observations, task threads, claims, handoffs, and search indexes live on your machine instead of requiring a hosted coordinator.

The design is ant-colony inspired on purpose. Agents do not need a central planner or direct messages to collaborate. They leave useful traces in a shared environment, then future agents react to those traces. That stigmergic model gives Colony a practical shape: active work leaves heat, repeated interest reinforces good follow-up tasks, and stale signals fade.

What Colony Provides

  • Persistent session memory across agent runs.
  • MCP tools under the colony namespace.
  • CLI commands under the colony binary.
  • Local SQLite storage under ~/.colony.
  • IDE installers for Claude Code, Codex, Cursor, Gemini CLI, and OpenCode.
  • Task threads for shared work, notes, answers, blockers, and decisions.
  • File claims and handoffs so agents can coordinate without a human acting as dispatcher.
  • Foraging-style proposals that can be reinforced into real work.
  • Pheromone-style activity signals for hot files and recent focus.

Install

npm install -g @imdeadpool/colony

Register Colony with your IDE or agent runtime:

colony install --ide claude-code
colony install --ide codex
colony install --ide cursor
colony install --ide gemini-cli
colony install --ide opencode

Check wiring:

colony status

Example status shape:

Colony 0.2.0
data: ~/.colony/data.db
mcp namespace: colony
ides: claude-code, codex
memory: 1284 observations, 22 sessions
tasks: 3 active, 0 pending handoffs
embeddings: local / Xenova/all-MiniLM-L6-v2

Daily Commands

| Command | Purpose | | --- | --- | | colony install --ide <name> | Register hooks and MCP config for one IDE/runtime. | | colony status | Show storage, installed IDEs, worker state, and memory counts. | | colony search "<query>" | Search prior observations and session memory. | | colony timeline <session-id> | Inspect one session chronologically. | | colony observe | Watch current task threads and coordination state. | | colony viewer | Open the local web viewer. | | colony debrief | Summarize recent work and surface follow-ups. | | colony config show | Print current settings and documented defaults. | | colony uninstall --ide <name> | Remove installed hooks and MCP config for one IDE/runtime. |

MCP Namespace

IDE installs register the server as colony, so tool calls appear as mcp__colony__....

Common tools:

| Tool | Purpose | | --- | --- | | mcp__colony__search | Find compact memory hits. | | mcp__colony__get_observations | Fetch full observation bodies. | | mcp__colony__list_sessions | List recent agent sessions. | | mcp__colony__timeline | Read one session timeline. | | mcp__colony__hivemind | Summarize active sessions and ownership. | | mcp__colony__task_list | List task threads. | | mcp__colony__task_timeline | Read task-thread events. | | mcp__colony__task_post | Post a question, answer, decision, blocker, or note. | | mcp__colony__task_claim_file | Claim file ownership on a task. | | mcp__colony__task_hand_off | Transfer work and file claims to another agent. | | mcp__colony__task_foraging_report | Review proposals that may become real tasks. |

Storage

Default local state:

~/.colony/settings.json
~/.colony/data.db
~/.colony/models/
~/.colony/logs/

Colony keeps memory local and uses SQLite for the coordination substrate. Embeddings are lazy: the local model downloads only when semantic search or backfill first needs it.

The Coordination Model

Colony borrows three mechanisms from ant colonies.

Pheromones: file activity leaves decaying traces. Recent edits, claims, and task focus make hot areas visible without requiring permanent locks.

Foraging: agents can leave weak proposals for future improvements. Proposals that other agents reinforce become real work; proposals nobody touches fade out.

Response thresholds: handoffs can be scored against agent profiles so the best-fit agent sees stronger routing guidance, while ambiguous work remains available to any capable agent.

These mechanisms are intentionally simple. Colony favors observable signals, decay, and reinforcement over a central coordinator that has to know the whole plan.

Rough Edges

  • Older installs may still have the previous MCP namespace in IDE config; running colony install --ide <name> rewrites the active entry to colony.
  • Pheromone and proposal thresholds need tuning from real multi-agent usage, not theoretical defaults.
  • MCP transport is stdio-based, so IDE/runtime restarts can close the server process; the next tool call should reconnect through the installed config.
  • The viewer is useful for inspection, but the primary workflow is still terminal/agent-driven.

Roadmap

  • Finish release hygiene for the renamed colony package.
  • Expand task-thread views in the local viewer.
  • Tune pheromone half-life and proposal promotion thresholds from real work.
  • Add richer routing profiles for handoffs between Claude, Codex, Cursor, and other agents.
  • Improve debrief output so useful follow-ups become proposals instead of chat-only notes.
  • Harden migration from older installs into ~/.colony and the colony MCP namespace.

Contributing

Use Colony on real work, then report the exact places where coordination felt wrong: stale claims, confusing handoffs, missing session context, noisy proposals, or files that should have shown up as hot but did not.

For code changes:

  1. Keep behavior local-first.
  2. Prefer small, observable coordination primitives over central orchestration.
  3. Add regression tests when changing hooks, storage, MCP tools, or CLI output.
  4. Keep CLI, MCP namespace, package names, paths, and README examples aligned on colony.

License

MIT © Imdeadpool