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

@liriraid/agentflow-ai

v1.0.29

Published

Multi-agent workspace orchestrator with TUI. Coordinates AI coding agents over your real frontend and backend projects.

Readme

agentflow-ai

Multi-Agent Orchestration System for AI-Powered Development

A reusable workspace orchestrator that coordinates multiple AI coding agents (Claude, Codex, OpenCode, etc.) to work in parallel on real projects, while keeping the project repository completely clean of orchestrator files.

project-workspace/
  my-project/          # Real project (stays clean)
  orchestrator-my-project/  # Orchestrator workspace (generated)

🎯 What It Does

  • Coordinates multiple AI agents (Claude, Codex, OpenCode, Gemini, Cursor, Abacus) to work simultaneously on your project.
  • Real-time monitoring with a modern TUI (Terminal User Interface) that shows live agent status, queue, and progress.
  • Automatic task delegation based on agent specialization (analysis, implementation, code review).
  • Persistent memory using Engram to maintain context across sessions.
  • Spec-Driven Development (SDD) support with OpenSpec for large, multi-phase changes.
  • Fallback system that automatically reassigns tasks when an agent fails or reaches rate limits.
  • Multi-language support (English and Spanish) for all templates and documentation.

✨ Key Features

1. Sibling Workspace Model

  • The orchestrator creates a separate workspace next to your real project.
  • Your project repository stays completely clean (no QUEUE.md, logs/, or orchestrator files).
  • Agents work on the real project files via absolute paths configured in orchestrator.config.json.

2. Multi-Agent Coordination

| Agent | Role | Priority | Notes | |-------|------|----------|-------| | Claude-Orchestrator | Session coordinator | - | Never implements code directly; delegates to workers | | Codex | Primary implementation | 1st choice | Structured tasks, tests, docs | | OpenCode | Analysis + Implementation | 2nd choice | Uses your configured model | | Claude-Worker (Backend/Frontend) | Fallback implementation | 3rd choice | Takes over when Codex/OpenCode fail | | Gemini | Code review/audits | Optional | Disabled by default | | Cursor/Abacus | Mechanical tasks | Optional | Disabled by default |

3. Real-Time Operation

  • fs.watch on QUEUE.md: Detects changes in ~1-2 seconds (Linux/macOS: direct file watch; Windows: directory watch fallback).
  • Live TUI updates: The dashboard refreshes automatically when tasks are added, started, or completed.
  • Instant notifications: Claude-Orchestrator receives alerts in INBOX.md and NOTIFY.md when tasks finish.

4. Smart Task Delegation

  • Analysis tasks → Always assigned to OpenCode.
  • Implementation tasks → Assigned to Codex (1st) → OpenCode (2nd) → Claude-Worker (3rd).
  • Fallback chain: Codex → OpenCode → Claude-Worker (automatic).

5. Persistent Memory & SDD

  • Engram: Stores decisions, bugs, and findings across sessions.
  • OpenSpec: Supports proposal.md, spec.md, design.md, tasks.md, and verify-report.md for large changes.
  • Handoffs: Session summaries for continuity.

🚀 Installation

Global CLI (Recommended)

pnpm add -g @liriraid/agentflow-ai

Local Development

git clone https://github.com/LiriRaid/agentflow-ai.git
cd agentflow-ai
pnpm install

🛠️ Quick Start

1. Create an Orchestrator Workspace

# Interactive (asks for language)
agentflow init-workspace C:/code/my-project

# Direct (English)
agentflow init-workspace C:/code/my-project --lang en

# Direct (Spanish)
agentflow init-workspace C:/code/mi-proyecto --lang es

This creates a sibling workspace (e.g., orchestrator-my-project/) with all configuration files.

2. Configure Repositories

Edit orchestrator.config.json in the generated workspace:

{
  "repos": {
    "backend": "C:/code/my-backend",
    "frontend": "C:/code/my-frontend"
  }
}

3. Start the TUI

cd orchestrator-my-project
agentflow ink --paused

Controls:

  • S: Start/Resume
  • P: Pause
  • R: Reload queue
  • Q: Quit (stops all agents)

4. Launch Claude Code

Open a second terminal in the orchestrator workspace (not the real project):

cd orchestrator-my-project
claude

Then run:

Read ORCHESTRATOR.md and start.

5. Request Work

Examples:

  • "Explore this project" → OpenCode analyzes and reports.
  • "Add JWT authentication" → OpenCode analyzes, then Codex/OpenCode implement.
  • "Refactor the API layer" → OpenCode explores, then workers implement in parallel.

📁 Workspace Structure

The generated workspace includes:

orchestrator-my-project/
├── ORCHESTRATOR.md      # Core rules for the orchestrator session
├── CLAUDE.md            # Routing rules for Claude
├── QUEUE.md             # Active task queue (TASK-NNN | title | agent | ...)
├── ENGRAM.md            # Persistent memory conventions
├── orchestrator.config.json  # Repos, agents, models, and profiles
├── agents/              # Agent-specific instructions
│   ├── BACKEND.md
│   ├── FRONTEND.md
│   ├── CODEX.md
│   └── OPENCODE.md
├── .claude/             # Local Claude skills and config
│   └── skills/          # Orchestrator skills (init, explore, etc.)
├── .codex/              # Codex config
├── .opencode/           # OpenCode config
├── openspec/            # SDD artifacts
│   ├── changes/
│   └── templates/
├── docs/                # Documentation
├── logs/                # Execution logs
├── handoffs/            # Session handoffs
└── progress/            # Agent progress reports

🎛️ Configuration

Agent Configuration (orchestrator.config.json)

{
  "projectName": "My Project",
  "workspaceLanguage": "es",
  "maxConcurrent": 5,
  "pollIntervalSeconds": 5,  // Fallback polling (realtime uses fs.watch)
  "taskTimeoutMinutes": 30,
  "repos": {
    "backend": "C:/code/my-backend",
    "frontend": "C:/code/my-frontend"
  },
  "agentProfiles": {
    "claude": { "enabled": true, "localConfigDir": ".claude" },
    "codex": { "enabled": true, "localConfigDir": ".codex" },
    "opencode": { "enabled": true, "localConfigDir": ".opencode" }
  },
  "agents": {
    "Backend": { "cli": "claude", "defaultRepo": "backend" },
    "Frontend": { "cli": "claude", "defaultRepo": "frontend" },
    "Codex": { "cli": "codex", "defaultRepo": "backend" },
    "OpenCode": { "cli": "opencode", "defaultRepo": "frontend" }
  }
}

Model Selection

Each agent uses the model you have configured in its own CLI. You can optionally override it by adding "model": "model-name" to any agent entry — for Claude this accepts values like sonnet or opus.

🔄 Workflow Example

  1. User Request: "Add user authentication to the backend."
  2. Claude-Orchestrator:
    • Creates TASK-001 (OpenCode): "Analyze current auth system"
    • Waits for OpenCode's report in progress/PROGRESS-OpenCode.md
  3. OpenCode:
    • Analyzes the codebase.
    • Writes findings to progress/PROGRESS-OpenCode.md and INBOX.md.
  4. Claude-Orchestrator:
    • Reads OpenCode's report.
    • Creates TASK-002 (Codex): "Implement JWT auth" (depends on TASK-001).
  5. Codex:
    • Implements the feature.
    • Reports completion in progress/PROGRESS-Codex.md.
  6. TUI:
    • Shows real-time updates (task status, agent activity, costs).

📊 Supported Agents & Models

| Agent | CLI | Model | Implementation? | Notes | |-------|-----|-------|----------------|-------| | Backend | claude | auto | ✅ Yes | Claude-Worker for backend tasks | | Frontend | claude | auto | ✅ Yes | Claude-Worker for frontend tasks | | Codex | codex | auto | ✅ Yes | Primary implementation | | OpenCode | opencode | auto | ✅ Yes | Secondary implementation | | Gemini | gemini | auto | ❌ No | Audits/reviews only | | Cursor | cursor | auto | ❌ No | Bulk edits only | | Abacus | abacusai | auto | ❌ No | Small focused tasks |

🛡️ Safety & Best Practices

  • No auto-commits: Agents never run git commit or git push.
  • No YOLO by default: Safe permissions mode is enabled unless --yolo is used.
  • Claude as reviewer: Claude-Orchestrator validates all work before user approval.
  • Clean repos: Project files stay untouched; orchestrator files live in the sibling workspace.
  • Fallback safety: Tasks are automatically reassigned if an agent fails.

📚 Documentation

  • Core Rules: See ORCHESTRATOR.md in the generated workspace.
  • Agent Routing: See CLAUDE.md.
  • Architecture: See docs/architecture.md.
  • OpenSpec: See openspec/FLOW.md.

🤝 Acknowledgements

Inspired by Orquestador-AI by Ariel Lontero (MIT). Built from scratch with a modern architecture: Ink TUI + React, npm package, real-time fs.watch, multi-language templates, and multi-agent coordination.