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

@wangzt_mw/my-coder

v0.6.0

Published

Minimal AI coding agent — stripped, independent, research-grade

Readme

my-coder

Minimal AI coding agent — stripped from Claude Code, rebuilt from scratch. ~1,800 lines, 12 tools, multi-agent, zero bloat.

Install

npm i -g my-coder

Requires Node.js ≥ 18.

Configure

Set your API key via environment variable:

export MYCODER_API_KEY=sk-ant-...   # Anthropic (Claude)
# or
export MYCODER_API_KEY=sk-...       # DeepSeek / OpenAI

Optional: set model and provider in ~/.mycoder.json (auto-created on first run):

{
  "model": "deepseek-chat",
  "provider": "openai",
  "openaiBase": "https://api.deepseek.com"
}

User memory: write personal preferences to ~/.mycoder/MYCODER.md — automatically injected into every session.

Usage

mycoder
my-coder v0.4.0
Provider: openai  |  Model: deepseek-chat  |  Tools: 12
Config: ~/.mycoder.json  |  Memory: ~/.mycoder/MYCODER.md

mycoder >>> What is 2+2?

2 + 2 = 4

mycoder >>> /exit
Bye.

Commands

| Command | Action | |---------|--------| | /help | List all tools | | /exit or /quit | Quit | | Any other input | Sent to the AI agent |

Tools (12 total)

Code: Bash, Read, Write, Edit, Glob, Grep Web: WebSearch, WebFetch AI: Agent (parallel sub-agents), Task (lifecycle management) Extension: MCP, Skill (stubs for future use)

Multi-agent

# Spawn parallel sub-agents for research, code review, etc.
mycoder >>> Use Agent to research topic A, topic B, topic C in parallel, then summarize

Development

git clone https://github.com/wangztmw/my-coder.git
cd my-coder
npm install
npm run build
MYCODER_API_KEY=sk-... node dist/Mycoder.js

Architecture

src/
├── Mycoder.ts         65行  入口:检测配置 → 连线 → 启动
├── cli.ts             60行  REPL 循环 + EOF 优雅退出
├── agent.ts          294行  核心引擎(主Agent + 子Agent)
├── config.ts         120行  配置持久化(~/.mycoder.json)
├── task.ts            46行  Task 生命周期
├── ansi.ts            56行  Markdown→ANSI 终端渲染
├── provider.ts        41行  Provider 检测
├── llm/
│   ├── types.ts       38行  统一 LLMProvider 接口
│   ├── anthropic.ts   53行  Anthropic 实现
│   └── openai.ts     100行  OpenAI/DeepSeek 实现
└── tools-v2/              12 个原生工具

License

MIT