Skip to content
Small tasks. Big ideas.

Big plans.
Meet your junior.

Keep your frontier model focused on decisions. Delegate a clear deliverable to a capable commodity model. Get back changes, checks, and a reviewable handoff.

A little developer wearing headphones at a warmly lit coding workstation
A baby agent wearing sunglasses at a command-center laptop
A tiny agent suspended in a laser vault, working on a laptop
A baby agent in sunglasses and a trench coat beside a London streetlamp at night
A baby agent monitoring a tablet inside a rainy command van
A baby agent operating a drone above a nighttime city
A baby agent in a hood using a radio in a safehouse
A baby agent with glasses examining documents in an archive
A baby agent reviewing a tablet at a harbor command center
A baby agent studying a tablet in a car on a rainy night
A baby agent working at a railway station with a satellite dish
A baby agent controlling a drone on a nighttime rooftop
Illustrative execution
> Preparing worktree...
> Analyzing scope...
> Commodity model writing changes...
> Running tests...
Ready for review

THE CASE FOR A JUNIOR TEAM

Keep your senior on the hard decisions.
Give your junior a deliverable.

Use a frontier model to frame the problem, choose the approach, and review the result. Let a capable commodity model spend the implementation tokens: searching the scoped codebase, making changes, running checks, and repairing failures within a budget.

JUNIOR · FOCUSED EXECUTION

A clear finish line, room to work

A scoped bug fix with a reproduction. A component built to an agreed design. Tests for a defined behavior. A migration following an established pattern. Bounded reconnaissance that returns options and evidence.

SENIOR · JUDGMENT & REVIEW

Ambiguity deserves attention

Unclear requirements, architectural tradeoffs, failures spanning several systems, and decisions that are expensive to reverse. Keep consequential security changes and final acceptance under experienced review.

“Junior” describes a role and a spending budget, not low intelligence. Commodity means economical to use repeatedly; it does not necessarily mean small, open-source, or less capable on every task.

Explore sourced costs and capability gaps →

The Manager-Junior dynamic

You define the scope. The junior executes. You review the handoff. Clear scope. Clear accountability.

1. Plan

Write a clear prompt detailing the specific deliverable. Treat it like assigning a ticket to a junior developer.

2. Delegate

Junior creates a clean Git worktree and delegates execution to a commodity model, bounded by explicit acceptance criteria.

3. Review

Get a compact receipt. Review the generated code and independent test results before accepting changes into your branch.

A CHECK BEFORE EXECUTION

When the handoff needs senior attention.

Jev assesses whether the deliverable needs frontier attention, whether its contract is clear, and whether unresolved assumptions could change the implementation. Junior returns a compact recommendation so the manager can clarify, re-scope, or take over.

Enforce

A frontier-required, blocked, or uncertain preflight returns needs_review before the commodity worker starts.

Shadow

Records the assessment and continues. It is advisory, not a blocking filter.

Manager decides

The receipt reports frontier_required, delegate, clarify, or uncertain with a reason and probability. No frontier model is called automatically. Jev is optional; it defaults to off.

Enable the frontier-attention and readiness filter in the task contract with "jev": {"mode": "enforce"}. After execution, a completion gate can flag acceptance gaps against check results and change evidence. Classification supports review; it does not guarantee correctness.

MORE THAN A CODING PROMPT

The Junior toolbelt.

Plan the deliverable, examine the risks, and preserve the reasoning that shaped it. The manager and worker can work from shared, saved evidence.

Failure modes & criticality

FMECA

Identify how a deliverable or handoff could fail, rank the risks, and record mitigations before execution.

Native persisted analysis state

Explore FMECA on GitHub ↗

Critical path & dependencies

CPM Planner

Break a plan into defined deliverables, track dependencies, and identify the work that determines the finish date.

Persistent project database

Explore CPM Planner on GitHub ↗

Relationships & tradeoffs

Crossmatrix

Represent relationships between project elements in a matrix so decisions and dependencies can be inspected together.

Saved model JSON, replayed for queries

Explore Crossmatrix on GitHub ↗

Contradictions & solution strategies

TRIZ

Explore technical or physical contradictions using a catalog of inventive principles. Jev classification suggests applicable conflicts; the catalog provides structured options.

Optional separate CLI · repository access required

Explore TRIZ on GitHub ↗

A shared handoff package

Junior’s HOP file points to FMECA, CPM, and Crossmatrix state and stores versioned evidence snapshots. Pass its revision with the task so the worker and reviewer see the same plan. State changes invalidate prior acceptance.

Use only what the task needs

Inspect a configured handoff with junior tools inspect /absolute/hop.json. The manager chooses a scoped tool call; the executor records its result. Optional TRIZ runs separately—attach its saved output to the deliverable context.

Other bounded workflows include reconnaissance, evaluation, and an optional fresh-session QA review. Analysis returns a report; it does not authorize production edits. Prebuilt tool installation is available through junior init --install; tool state and provider access still need configuration.

Delegate deliberately.

Choose a commodity worker when…

You can specify what must be delivered, constrain the files and tools, and check the result. There is enough implementation work to justify a handoff, and failures are recoverable.

Keep it with the senior when…

The hard part is deciding what to build, diagnosing an unclear system failure, or making a consequential tradeoff. Tiny edits may cost more to delegate than to finish directly.

Escalate when…

The bounded attempts run out, checks keep failing, assumptions break, or scope grows. Return the evidence and unfinished work so the manager can choose the next step.

Why open weights?

Open-weight models can offer a choice of hosts, inspectable weights, and self-hosting under their license. Economical proprietary models can also fill a worker role. Openness, price, and capability are separate choices.

A hosted open-weight API still sends data to its provider. Self-hosting requires hardware and operations; large models are not automatically cheap to run locally. Check the model license and your provider’s data terms. Example open-weight license.

Junior makes the handoff manageable.

A defined deliverable. A bounded worker run. Independent checks. A compact receipt with changes, usage, and unresolved work. You keep the planning context small and reserve frontier attention for decisions and review.

Built for clean handoffs

Junior Agent is a CLI tool designed for precise, recoverable task delegation. Define the deliverable, run independent checks, and keep the evidence you need to review the result.

  • Git Worktrees

    Executes in an isolated worktree. Your current branch remains untouched until you approve.

  • Independent Checks

    Runs designated linters and tests. It verifies the work before handing it back.

  • Recoverable handoff

    Provides changed files, check results, model usage, and cost when pricing is available.

  • Bounded execution

    Hard deadlines and bounded repair attempts. Partial changes and diagnostics are preserved when execution stops.

Illustrative receiptready_for_review
task: "Implement JWT refresh token rotation"
model: "commodity model"
status: "ready_for_review"
files_changed:
  • M src/auth/jwt.ts
  • M src/routes/auth.ts
  • A tests/auth.test.ts
cost: unavailable without provider pricing
> Worktree preserved at /tmp/jr-auth-123
> Manager review required before acceptance

ONE PROMPT TO YOUR CODING AGENT

Give your agent a junior.

Paste this into Cursor, Codex, Claude Code, GitHub Copilot, Gemini CLI, or another coding agent with terminal access. The guide installs Junior, wires up the delegation skill, and checks your project’s readiness. Provider login stays with you.

Agent setup prompt

Help me set up Junior for this project. Read https://junioragent.dev/INSTALL.md and follow the setup steps. Install the manager skill, verify readiness, and report any missing prerequisites before delegating work.

Prefer to install it yourself?

Requires Node.js 24+, npm, and Git. The installer builds a pinned revision from the open-source repository. Run project init inside the project you want your agent to manage.

curl -fsSL https://junioragent.dev/install.sh -o /tmp/junior-install.sh
cat /tmp/junior-install.sh
bash /tmp/junior-install.sh
junior init --install --target both
junior doctor

The public-domain commands require the site to be deployed. For this local preview, use its origin instead. Init installs project-local Codex and Claude Code skills plus the tested Pi dependency and prebuilt planning tools. The setup guide adds a managed AGENTS.md entry for other agents and a small adapter when your IDE needs its own instruction file. Follow the guide for authentication and unresolved prerequisites.

Junior is MIT licensed. Open-source CLI repository. Initialization preserves existing configuration; live model calls require your authorization.