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

kodingx

v2.0.4

Published

KodingX - Multi-agent software factory CLI by Lexaplus

Readme

KodingX

Multi-Agent Software Factory by Lexaplus

A distributed multi-agent production system for enterprise-grade software delivery using AI agents (Cursor, Claude Code, Gemini, Codex, Kilo Code, and Playwright).

npm version License: MIT

What Is This?

This is not "using an AI coding assistant." This is a complete production system where:

  • Work is decomposed into atomic tasks
  • State is stored in a file-based blackboard (not chat history)
  • Agents operate on tasks via deterministic protocols
  • Truth is verified via automated tests + browser reality checks
  • The system runs in a self-healing loop until "Definition of Done" is satisfied
  • The orchestrator can take one initial input and then run autonomously, spawning tasks and coordinating agents without further prompts (within guardrails)

Example (one prompt → autonomous run):

User: "Add CI checks, update docs, and ship v2.0.0."
Orchestrator: creates tasks → dispatches agents → verifies results → updates STATE/TASK_BOARD → reports completion

Key Outcome: Software delivery becomes an orchestrated pipeline, not a single developer's session.


Version & Protocol (Current)

  • Protocol: KodingX Agency Protocol v1.0 Draft (PROTOCOL.md)
  • Runtime: Lexbot orchestration protocol (LEXBOT_SPEC.md)
  • Autonomy Status: Becoming fully autonomous with guardrails (self-tasking + scheduling + verification, with human approval required for risky changes)

The Core Principle: Filesystem Over Chat

Agents never communicate directly. Everything goes through files.

┌─────────────┐                    ┌─────────────────────────┐
│   Cursor    │ ── writes task ──► │inbox/claude/2026-01-31/ │
│(Orchestrator)│                    │  T001-1030.md           │
└─────────────┘                    └───────────┬─────────────┘
       ▲                                       │
       │                                       ▼
       │                              ┌─────────────┐
       │                              │ Claude Code │
       │                              │  (works)    │
       │                              └──────┬──────┘
       │                                     │
       │                                     ▼
       │                           ┌─────────────────────────┐
       └── reads report ────────── │outbox/claude/2026-01-31/│
                                   │  T001-1045.md           │
                                   └─────────────────────────┘

Naming: T{ID}-{HHMM}.md = Task ID + time (24hr). Organized by date folders.

Why Files, Not Chat?

| Chat-Based Problem | File-Based Solution | |--------------------|---------------------| | Context window fills up | Agents read only what's needed | | State lost when session ends | Files persist forever | | Can't run agents in parallel | Agents read/write independently | | No audit trail | Git tracks all changes | | Token waste on context | Zero repetition | | Cursor must "watch" each agent | Cursor just reads reports |

How It Works

  1. Cursor writes a task file to inbox/claude/T001.md
  2. Claude (in a separate session) reads the task, does the work
  3. Claude writes a report to outbox/claude/T001-report.md
  4. Cursor reads the report, decides next steps
  5. Rinse and repeat - no session coupling

Each agent run is stateless. All context comes from files.


Quick Start

New to KodingX? See QUICKSTART_MINIMAL.md for a 5-minute setup with just the essentials.

Lexbot Simple Setup

For the deterministic orchestration runtime (Telegram polling + scheduler), see LEXBOT_SETUP.md.

For automated agents, see LEXBOT_AGENT_GUIDE.md.

Install CLI

npm install -g @lexaplus/kodingx

This install includes the full KodingX stack: Agency protocol/docs and the Lexbot runtime.

New Project

cd your-project
agency init

Legacy Codebase (Safe Install)

cd existing-project
agency install

What install does differently:

  • Detects existing .cursorrules, CLAUDE.md, etc.
  • Appends agency rules instead of overwriting
  • Respects your existing configs
  • Won't break current workflows
# Minimal install (inbox/outbox/STATE only)
agency install --minimal

# Force overwrite existing .agency/
agency install --force

The CLI will ask you:

  1. Orchestrator? (Cursor, Claude Code, Windsurf, Aider, etc.)
  2. Builder agents? (Claude, Codex, Gemini, Kilo)
  3. License mode? (LexaPlus, Community, Dual)

It creates:

  • .agency/ - The protocol folder (Single Source of Truth)
  • Tool-specific adapter (e.g., .cursor/rules/agency.mdc)

CLI Commands

agency init                  # Initialize .agency/ in project
agency task new              # Create a new task
agency status                # View project status
agency verify --task T0001   # Verify completed work
agency help                  # Show help

Enterprise Features

# Risk-Task Governance (§21)
agency verify --task T0001 --check-risks
# → Fails if linked P0/P1 risks are OPEN

# Human Override with Audit Trail (§20)
agency verify --task T0001 --override \
  --reason "Hotfix for INC-1234" \
  --followup T0002 \
  --approver "[email protected]"
# → Records override in verify artifact + requires DECISIONS.md entry

Workflow

  1. agency task new — Create a task (goes to builder's inbox)
  2. Builder reads task, does work, writes report to outbox
  3. agency verify --task T0001 — Run DoD verification
  4. Orchestrator marks DONE (only after verify passes)

Architecture

┌─────────────────────────────────────────────────────────────┐
│                    ORCHESTRATOR (Cursor)                     │
│  • Reads outbox/ reports                                     │
│  • Writes tasks to inbox/                                    │
│  • Updates TASK_BOARD.md, STATE.md                          │
└────────────┬─────────────────────────────────────┬──────────┘
             │ writes                              │ reads
             ▼                                     ▼
┌────────────────────────┐           ┌────────────────────────┐
│        INBOX/          │           │        OUTBOX/         │
│  inbox/claude/T001.md  │           │ outbox/claude/T001.md  │
│  inbox/gemini/T002.md  │           │ outbox/gemini/T002.md  │
│  inbox/codex/T003.md   │           │ outbox/playwright/...  │
└────────────┬───────────┘           └────────────▲───────────┘
             │                                     │
             │ reads                               │ writes
             ▼                                     │
┌─────────────────────────────────────────────────────────────┐
│                  AGENTS (Independent Sessions)               │
│  ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐           │
│  │ Claude  │ │ Gemini  │ │  Codex  │ │  Kilo   │           │
│  │  Code   │ │   CLI   │ │         │ │  Code   │           │
│  └─────────┘ └─────────┘ └─────────┘ └─────────┘           │
│       Each agent: read task → do work → write report        │
└────────────┬────────────────────────────────────────────────┘
             │
             ▼
┌─────────────────────────────────────────────────────────────┐
│                    VERIFICATION LAYER                        │
│  CI/CD │ Tests │ Linter │ Playwright │ Security             │
└─────────────────────────────────────────────────────────────┘

Key: Agents have NO direct communication. All coordination through files.

Full Architecture: See .kodingx/ARCHITECTURE.md


Core Components

Protocol Files (Single Source of Truth)

.agency/
├── agency.json          # Manifest (machine-readable config)
├── STATE.md             # Canonical state (SSoT)
├── TASK_BOARD.md        # Human-friendly task board
├── RISKS.md             # Risk register
├── DECISIONS.md         # Architecture decisions
├── dod/profiles/        # Definition of Done profiles
├── inbox/{agent}/       # Tasks TO agents (by date)
├── outbox/{agent}/      # Reports FROM agents (by date)
├── verify/              # Verification artifacts
└── agents/              # Builder contracts

See PROTOCOL.md for the full specification.

Agents & Their Roles

| Agent | Role | Best For | |-------|------|----------| | Cursor | Orchestrator | Task decomposition, quality gates, merge strategy | | Claude Code | Builder | Code implementation, refactoring, unit tests | | Gemini CLI | Auditor | Risk detection, dependency analysis, repo scanning | | Codex | Builder | High-precision patches, test scaffolding | | Kilo Code | Coordinator | Parallel execution via git worktrees | | Playwright | Reality Checker | E2E verification, ground truth |


Practical Workflow Example

Step 1: Cursor Creates a Task

Cursor writes to inbox/claude/2026-01-31/T001-1030.md:

# Task: T001
**Assigned:** 2026-01-31 10:30 UTC

## Objective
Add email validation to user registration.

## Files in Scope
- `src/api/auth/register.ts`
- `tests/api/auth/register.test.ts`

## Acceptance Criteria
- [ ] Invalid emails return 400 error
- [ ] Valid emails pass through
- [ ] Unit tests cover edge cases

Step 2: Claude Picks Up the Task

In a separate session, Claude:

  1. Checks inbox/claude/2026-01-31/ for pending tasks
  2. Reads T001-1030.md
  3. Implements the changes
  4. Runs tests
  5. Writes report to outbox/claude/2026-01-31/T001-1045.md

Step 3: Cursor Reads the Report

Cursor reads outbox/claude/2026-01-31/T001-1045.md:

# Report: T001
**Status:** ✅ SUCCESS
**Completed:** 2026-01-31 10:45 UTC

## Files Modified
- `src/api/auth/register.ts` (+25 / -3)
- `tests/api/auth/register.test.ts` (+40 / -0)

## Acceptance Criteria Status
- [x] Invalid emails return 400 error
- [x] Valid emails pass through
- [x] Unit tests cover edge cases

## Commands Run
npm test -- register → PASS (8/8 tests)
npm run lint → PASS

Step 4: Cursor Updates State

Cursor marks T001 as DONE in TASK_BOARD.md. Old date folders can be archived.

No session coupling. No shared context. Just files organized by date.


The Self-Healing Loop

INTAKE → DECOMPOSE → ANALYZE → ASSIGN → BUILD → VERIFY
                                                    │
                                                    ├─ PASS → CLOSE
                                                    │
                                                    └─ FAIL → HEAL (loop back)
  1. Intake - User provides work request
  2. Decompose - Cursor breaks into atomic tasks
  3. Analyze - Gemini identifies risks
  4. Assign - Cursor writes task to agent's inbox/
  5. Build - Agent reads task, works, writes to outbox/
  6. Verify - CI + Playwright test
  7. Heal - If fail, new task to inbox/
  8. Close - If pass, mark DONE

Details: See .kodingx/protocols/TASK_ASSIGNMENT.md


Quality Gates

Pre-Assignment

  • Task is atomic
  • Scope is clear
  • Files are explicit
  • Acceptance criteria are testable

Pre-Closure

  • All acceptance criteria met
  • All DoD items checked
  • STATE.md shows PASS
  • No critical risks open
  • Playwright flows pass

Full Checklist: See .kodingx/protocols/DOD_CHECKLIST.md


Cost Model (CWU → ED → Time/Cost)

Code Work Units (CWU)

CWU = w_E·E + w_P·P + w_U·U + w_F·F + w_X·X + w_R·R + w_T·T

Where:

  • E = Entity/data complexity
  • P = Process/workflow complexity
  • U = UI/UX surface
  • F = Feature logic complexity
  • X = External integrations
  • R = Risk/compliance/security
  • T = Testing depth

Engineering Days (ED)

ED = CWU / K

Where K = productivity constant:

  • K_manual = 50-100 (human-only)
  • K_cursor = 200-400 (Cursor-only)
  • K_factory = 600-3500 (Multi-agent factory)

Calendar Time

CalendarDays = (ED × 8 / 14) × q / Speedup

Where:

  • 14 = machine hours per day
  • q = rework factor (1.15-1.35)
  • Speedup = parallel speedup (Amdahl's Law)

Full Math: See .kodingx/ARCHITECTURE.md


Tools

Gemini Risk Analyzer

Analyze your codebase for risks using Gemini CLI:

# Analyze entire repository
./.kodingx/tools/gemini-risk-analyzer.sh repo

# Analyze specific files
./.kodingx/tools/gemini-risk-analyzer.sh files src/app.ts src/utils.ts

# Analyze dependencies
./.kodingx/tools/gemini-risk-analyzer.sh deps

# Analyze recent changes
./.kodingx/tools/gemini-risk-analyzer.sh diff

Output is saved to .kodingx/LOGS/ and can be used to update RISKS.md.


Engineering Constitution (Non-Negotiable Rules)

  1. Filesystem is the only source of truth - Not chat, not memory, not session state
  2. Agents communicate via files only - inbox/ for tasks, outbox/ for reports
  3. Every agent run is stateless - Read files → Work → Write files → Exit
  4. Atomic tasks only - One objective, explicit file boundaries
  5. DoD is hard-gated - Tests + E2E must pass before DONE
  6. Every report is structured - Same format, easy to parse
  7. Risk ledger is mandatory - RISKS.md is always up to date
  8. Reality checks beat arguments - Playwright > discussion

Parallelization

Pattern A: Git Branches (Simple)

git checkout -b task/T001
# Work on task
git checkout main && git merge task/T001

Pattern B: Git Worktrees (High Parallel)

git worktree add ../worktree-T001 -b task/T001
git worktree add ../worktree-T002 -b task/T002
# Multiple agents work in parallel
# Cursor merges sequentially

Kilo Code natively supports worktree-based parallelism.


Metrics

Track these in STATE.md:

  • Task Throughput - Tasks completed per day
  • Task Cycle Time - Time from TODO to DONE
  • Rework Rate - Tasks that failed verification
  • Test Pass Rate - Percentage of tests passing
  • Risk Materialization Rate - Risks that became issues

Example Task

### Task ID: T042
**Status:** 🟡 IN PROGRESS
**Assigned To:** Claude Code
**Priority:** High

**Scope:**
Add input validation to user registration endpoint.

**Files in Scope:**
- `src/api/auth/register.ts`
- `src/validators/user.validator.ts`
- `tests/api/auth/register.test.ts`

**Acceptance Criteria:**
- [ ] Email validation rejects invalid formats
- [ ] Password validation enforces 8+ chars, 1 uppercase, 1 number
- [ ] Username uniqueness check queries database

**Definition of Done:**
- [ ] Code implemented
- [ ] Unit tests pass (100% coverage)
- [ ] No linter errors
- [ ] Type checking passes
- [ ] API documentation updated

**Commands to Run:**
npm test -- register
npm run lint
npm run typecheck

**Dependencies:** None
**Out of Scope:** Email verification flow (separate task)

Documentation

All documentation lives in .kodingx/:

| Document | Description | |----------|-------------| | ARCHITECTURE.md | Complete system architecture | | protocols/TASK_ASSIGNMENT.md | Task creation & assignment protocol | | protocols/DOD_CHECKLIST.md | Definition of Done checklist | | MASTER_PLAN.md | Project goals & phases | | TASK_BOARD.md | Active tasks & status | | STATE.md | Current system state | | KNOWLEDGE.md | Project knowledge base | | RISKS.md | Risk register |


Resources


Contributing

KodingX is open source. Contributions welcome:

  1. Fork the repository
  2. Create your feature branch
  3. Submit a pull request

GitHub: github.com/parsabarati/kodingx


License

MIT License - Copyright (c) 2026 Lexaplus


Support

For questions or issues:


KodingX by Lexaplus - Enterprise Software Solutions

Built with Cursor, Claude Code, Gemini CLI, and the principles of deterministic software delivery.