Purpose
YYLO (why-lo) is a command-line orchestrator for coding agents, serving repeatable workflows and receipt-based repository changes. Its target users include: developers who want to quickly set up agent loops, and project operators who need typed tasks, verification, merging, and release-readiness boundaries.
Key Capabilities
- Provides equivalent yylo and yy launchers, with ypl equivalent to yy pi --live.
- Active agent sessions: ypl (i.e., yy pi --live) runs an interactive terminal agent, with tool calls, streaming output, and a status bar all rendered in the terminal.
- Outputs an execution summary after each run, including iteration count, tool calls, cost, and session ID.
- Supports supervised workflow runs: uses reviewed YAML workflows to execute ordered, repeatable steps, preserving rendered command identities, stdout/stderr, responses, session IDs, declared receipt hashes, attempt counts, and terminal manifest. --tmux creates an observer session but does not detach the producer.
- Typed tasks and merge flow: in an initialized repository, runs lifecycle commands from the registered metadata controller. When starting a task, freezes the protected target SHA, creates a dedicated branch/worktree, and completes configured dependency injection before reporting WORKING; upon completion, independently performs scope, dirty bytes, runtime, injection, requirements, ownership, and selected verification checks, requiring a clean committed tip and queueing it; merging uses native Git and automatically records the verified integration to the Ledger.
- Stable machine output: use --format json|ndjson --raw on task, merge, and integration commands, or Ledger's -f json|ndjson --raw, to get a strict data channel on stdout only. The capabilities command publishes command-specific projections in either machine format.
- Local observable commands: watch optionally observes existing run evidence without owning execution. All watch operations are read-only.
- Skill installation: YYLO skill content is versioned independently in the public yylo-dev/yylo-skills repository and is not bundled in @yylo/cli. Seven user-intent-first skills include artifact-yylo, ledger-tasks-yylo, plan-ledger-tasks-yylo, ralph-loop-yylo, understand-project-yylo, wiki-yylo, and workflow-yylo are copied to .agents/skills, .claude/skills, and .pi/skills.
Usage
Prerequisites: Node.js 20.10 or later, npm, and Git. The npm package is @yylo/cli; commands include yylo and yy (equivalent); ypl is yy pi --live.
A successful run prints the installed YYLO version, initializes .juno_task/, then emits a watch receipt with "state":"COMPLETED", "exit_code":0, and non-zero log_bytes. This canary test does not contact a model provider. In an empty, unborn Git repository, yy init creates the initial workspace commit, keeps the original branch as the product target, and creates a detached protected integration owner worktree under the user state directory. Existing or dirty repositories are not bootstrapped, committed, or rearranged by this.
The stable npm channel is @latest (0.2.2); prereleases remain on @next. This unreleased source targets CLI 0.2.10 and requires Ledger to be exactly 0.4.0 to support generic Record retrieval and storage type-prefixed IDs. Older Ledger 0.3.3, prereleases, and later versions are rejected before delegation.
Installing agent skills: a fresh Simple initialization installs skills by default; use yy init --mode simple --no-skills to opt out. Guided Simple setup accepts the same flags. Otherwise explicitly use skills install or skills update. These skill acquisition paths access the network, first staging via npx skills add, then falling back to a shallow exact-tag Git clone. skills list and skills status check local bytes and receipts offline.
Run yy --help for the full top-level inventory of the installed version; each listed command prints its own usage when invoked with -h. The old lifecycle commands have been removed; use typed tasks and merge commands instead.
Beginner agent workflow: separately install and configure the codingagent and its provider credentials that you want to use. Pi is optional and supports multiple providers. For reusable prompts or shell-sensitive text, prefer files. Interactive Pi uses the ypl shortcut; live mode requires an interactive terminal and the Pi extension enabled.
Controlled iteration: quote prompts so the shell does not expand backticks or $() before YYLO receives them. -i limits the number of iterations inside an agent invocation; yy loop -n limits the outer command workflow. Each step receives 1-based loop metadata via YYLO_LOOP_ID, YYLO_ITERATION, YYLO_ITERATION_COUNT, YYLO_STEP, and YYLO_STEP_COUNT.
Ledger references in prompts: use ##ABC123, ##readable-slug, or ##{readable-slug} to include a Ledger Record by exact ID, slug, or reserved alias. Existing ## ABC123 spacing works. Tasks, Wiki/PDR/workflow documents, and artifacts share native Record lookup; ambiguous identities are never resolved by guessing. Injection is limited to 32 distinct identities, a shared 30-second lookup budget, and 64 KiB of inserted context (16 KiB per Record).
Model and project shortcuts: yy pi --help is the source of truth for published aliases. Aliases are subagent-specific. Project shortcuts can be added in .juno_task/config.json, scoped to the selected subagent.
Choosing Simple or Advanced: for a new Simple project, run git init, then yy init --mode simple to initialize immediately. Add --directory PATH to select an existing Git root. Simple (recommended starting point): code, notebooks, notes, and Ledger in one checkout. Agents share files; yy task local is bookkeeping, not delivery. No implicit commits, worktrees, or package installs. Advanced: a separate controller, isolated task worktrees, and managed merges. Simple → Advanced is unsupported, including with --force.
Maintainer npm publishing: normal tasks and yy merge own integration. After a normal version upgrade integrates, maintainersThe user uses scripts/release-cli.sh prepare CLI_VERSION BENCHM.
Applicable scenarios
- Development teams that need to incorporate coding agents (such as Pi, Codex) into repeatable, observable workflows.
- Projects that need to isolate workspaces, control merge boundaries, and retain verification evidence when running multiple tasks in parallel.
- Scenarios that want to pin exact versions in CI and use machine-readable output for automated integration.
- Workflows that need to reference Ledger records in prompts to inject project context.
Limitations
- Prerequisites are Node.js 20.10 or later, npm, and Git.
- Skill installation and some commands require network access, and skill content is not bundled in @yylo/cli and must be obtained separately.
- This unreleased source code requires Ledger to be exactly 0.4.0; other versions will be rejected before delegation.
- Simple → Advanced conversion is not supported, including with --force.
- No alternative implementations are bundled; yy ledger and yy benchmark delegate to separately installed CLIs.
- Initialization does not install dependencies, nor does it prove that the agent is ready.
- Merge status only reports active tasks that can land independently, and always reports model_calls: 0.
- More information about pricing, specific supported platforms, or performance effects is not yet available.