# Repository Briefing: code-yeongyu/lazycodex
> Source: https://repoforai.com/repo/code-yeongyu/lazycodex (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/code-yeongyu/lazycodex
- **Official Docs / Website**: https://lazycodex.ai
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v5.1.92 (2026-12-02) — https://github.com/code-yeongyu/lazycodex/releases
- **Review Snapshot**: 2026-12-02 (Note: v5.1.92 on 2026-12-02 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: CLI
- **Momentum**: 3,974 ★ total (+1 24h / +19 7d) · 256 forks
- **Topics**: `ai`, `ai-agents`, `claude`, `claude-code`, `cli`, `codex`, `developer-tools`, `lazy`, `lazycodex`, `oh-my-openagent`, `omo`, `openai`
- **When to Use**: Best for: Teams already using Codex for multi-step changes in complex repositories that need directory-level guidance, resumable execution, and explicit completion evidence. Skip if: Most work is single-file edits, your team cannot approve hooks or managed Codex configuration changes, or fully offline inference is mandatory.

## Overview
```text
### Architecture & Core Mechanics
LazyCodex is a thin TypeScript distribution layer around oh-my-openagent (OmO), the engine referenced as a Git submodule under `src/`. The npm manifest exposes `lazycodex-ai` as a CLI, and the primary installer delegates to `omo install --platform=codex`. Skills and lifecycle hooks extend the existing Codex session; role definitions under `~/.codex/agents/` supply specialized instructions and model choices for native sub-agents.

The experimental marketplace is a second distribution path, not a separate runtime. Its approved bootstrap worker installs managed configuration, roles, executable links, and a pinned `sg` binary for the `ast_grep` MCP server. The website under `packages/web/` uses Next.js 15, Tailwind v4, and OpenNext on Cloudflare Workers; that stack serves the site and is not required to run the CLI.

### Key Capabilities & Differentiators
`$init-deep` writes hierarchical `AGENTS.md` guidance close to the code it governs. `$ulw-plan` writes a plan without modifying product code, while `$start-work` executes the checklist with persistent Boulder progress and an optional worktree. For less structured tasks, `$ulw-loop` uses Oracle to check completion evidence. Its iteration caps are 100 in normal mode and 500 in ultrawork mode; these are ceilings, not estimates of time or token use.

OmO defines task categories and fallback chains for model routing. `quick` can route to GPT-5.4 mini, `ultrabrain` can use a high-reasoning GPT model, and agentic coding paths can use GPT-5.3-Codex when available. Parallel roles have distinct instructions, while LSP operations and AST-grep structural search and rewriting give agents tooling beyond text search.

### Trade-offs & Limitations
Compared with plain Codex, LazyCodex adds a repeatable planning and review workflow on top of the same native agent machinery. That can help on cross-module changes where capturing local constraints and preserving progress matter. For small edits, generating guidance, delegating work, and reviewing completion evidence may take more effort than the change itself. Compared with installing OmO directly for Codex, the main difference is packaging and setup, not a distinct orchestration engine.

Category-based routing can reserve higher-reasoning models for harder work, but parallel agents and long loops can still raise quota consumption. Oracle checks provide an additional review step, not a guarantee of correctness. Hook approvals, Codex feature compatibility, and managed changes to user configuration also create maintenance work. Pilot with default permissions on a representative repository and compare test evidence, review quality, and token use against plain Codex before standardizing on it.

### Hardware & Deployment Guide
Use Codex and a Node.js/npm environment with `npx`. The primary path is `npx lazycodex-ai install`, followed by `npx lazycodex-ai doctor` to inspect the installed cache, hooks, MCP services, roles, and configuration. The marketplace path requires hook approval on startup and a restart after background bootstrap. Upgrades require reapproval and rerun bootstrap. The marketplace path does not change Codex permission settings.

The harness installs locally, but that is not a documented offline inference setup. No local GPU requirement or minimum Node.js version is specified. Size local resources for repository builds, tests, and concurrent work rather than for model weights. Releases v5.1.88 through v5.1.90 synchronize the Codex Light marketplace payload with corresponding OmO versions, so version checks should cover the bundled upstream payload as well as the wrapper.
```

## Key Capabilities
```text
- Distribution: The `lazycodex-ai` npm CLI delegates installation to OmO for the Codex platform.
- Project memory: `$init-deep` generates scoped `AGENTS.md` guidance for complex directories.
- Plan execution: `$ulw-plan` writes the implementation plan; `$start-work` tracks progress through Boulder and supports `--worktree`.
- Completion checks: `$ulw-loop` gates completion on Oracle verification, with caps of 100 normal or 500 ultrawork iterations.
- Agent integration: Selectable roles use Codex's native `spawn_agent` interface where `agent_type` is available.
- Diagnostics: `npx lazycodex-ai doctor` checks the plugin cache, hooks, MCP servers, agent roles, and configuration.
```

## Quick Start / Clone
```bash
npx lazycodex-ai install
```
