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

agentforge-multi

v0.1.18

Published

Multi-agent CLI: Worker + Evaluator agents collaborate in a loop to achieve your goal

Downloads

1,656

Readme

AgentForge

A multi-agent CLI that forges code through a Worker and an Evaluator collaborating in a loop — until the goal is achieved.

Inspired by OpenCode, AgentForge wraps AI coding CLIs (currently codex, with Claude and Gemini support planned) to orchestrate two specialized agents: one that acts, one that judges.

한국어 README


Demo

┌─ ⚙ WORKER AGENT ──────────────────────┬─ ◈ EVALUATOR AGENT ────────────────────┐
│                                        │                                         │
│ > Reading App.tsx...                   │ [Iter 1]                                │
│ > Writing dark_mode.css...             │ IMPROVE:                                │
│ > Modifying index.html...              │ Toggle button is missing.               │
│ ▌                                      │ Save state to localStorage.             │
│                                        │                                         │
│ [Iter 2]                               │ [Iter 2]                                │
│ > Adding ThemeToggle.tsx...            │ ✓ DONE                                  │
│ ✓ Created 2 files                      │ 결과물: ./src/ThemeToggle.tsx            │
│                                        │                                         │
└────────────────────────────────────────┴─────────────────────────────────────────┘
[AgentForge] > /plan Add dark mode to the React app

How It Works

User input (goal)
       │
       ▼
 ┌─────────────┐     code changes      ┌────────────────┐
 │   Worker    │ ───────────────────►  │   file system  │
 │   Agent     │   (full-auto sandbox) └────────────────┘
 └──────┬──────┘
        │ output
        ▼
 ┌──────────────────┐
 │   Evaluator      │
 │   Agent          │  (read-only sandbox — cannot modify files)
 └────────┬─────────┘
          │
          ├── DONE      →  Print Korean summary, wait for next command
          ├── IMPROVE   →  Send feedback to Worker → repeat
          └── REDIRECT  →  Change strategy entirely → repeat

The loop continues until the Evaluator decides DONE or the iteration limit is reached.

DONE Output Example

════════════════ ✓ Done — 3 iterations ════════════════

판단 이유
  Dark mode has been fully implemented with a toggle button.
  The theme state persists via localStorage across page reloads.

결과물 위치
  • ./src/ThemeToggle.tsx
  • ./src/App.tsx  (modified)

결과 요약
  React-based dark mode with persistent state. No extra dependencies.

Requirements

  • Python 3.10+
  • codex CLI — installed and authenticated
  • Python packages: rich, prompt_toolkit

Installation

via npm (recommended)

npm install -g agentforge-multi

Dependencies (rich, prompt_toolkit) are installed automatically via postinstall.

via git

git clone https://github.com/<your-username>/AgentForge.git
cd AgentForge
bash install.sh

manually

cp agentforge ~/.local/bin/agentforge
chmod +x ~/.local/bin/agentforge
pip install rich prompt_toolkit

Usage

agentforge                  # Launch interactive CLI
agentforge -d /my/project   # Set working directory
agentforge -n 20            # Set max iterations (default: 5000)

Slash Commands

| Command | Description | |---------|-------------| | <goal text> | Send goal directly to the Worker agent and start the loop | | /plan <goal> | Plan Agent drafts a plan → Q&A → confirm → execute | | /exit | Exit AgentForge |

Type / to see available commands with autocomplete (like Claude Code).

/plan Flow

[AgentForge] > /plan Build a simple web page that says hello

[Plan Agent]
계획:
- Create index.html
- Add <h1>hello</h1>

accept (y/n) > y

▶ Starting Worker + Evaluator loop...

Options

| Flag | Default | Description | |------|---------|-------------| | -d DIR | . | Working directory | | -n N | 5000 | Max iterations | | --worker-model M | config default | Model for Worker agent | | --eval-model M | config default | Model for Evaluator agent |


Roadmap

  • [x] codex CLI backend
  • [ ] Claude CLI backend
  • [ ] Gemini CLI backend
  • [ ] Configurable agent personas
  • [ ] Session history export

Project Structure

AgentForge/
├── agentforge      # Main executable script
├── install.sh      # Installation script
├── README.md       # English README (this file)
├── README.ko.md    # Korean README
└── .gitignore

Inspiration


License

MIT