For AI agents: a documentation index is available at https://www.plungeai.com/docs/llms.txt. Append .md to any page URL, or send Accept: text/markdown, to get markdown. Setup instructions for agents are at https://www.plungeai.com/docs/agents.md. One ozk_ key opens every plane, models included.

Documentation Index: fetch the complete documentation index at /llms.txt. Use this file to discover all available pages before exploring further.

A work mode decides how agents work together on your prompt. There are three answers to "who decides?":

  • The model (Model, the default): the model decides on its own whether to work alone, call sub-agents or run a workflow. Every tool is offered, nothing is added to the prompt, there are no new limits and no badge.
  • Jev (Auto): once per prompt, Jev picks one of the modes below; when it cannot, simple rules pick.
  • You: one of seven diagrams, Solo, Delegate, Pair, Pipeline, Orchestrate, Goal or Race.

Nothing needs setting up. Until you pick another mode, nothing changes.

Picking a mode

F4 or /mode opens the picker: the modes on the left, the highlighted one's description, picture and cost on the right. Model is first and tagged default; your own diagrams follow a divider.

KeyWhat it does
↑ / ↓Move; the picture follows.
EnterUse this mode for this session.
dMake it the current agent's default (written to your oceancode.json).
eCopy a built-in to .oceancode/modes/<id>-copy.jsonc to edit.
EscClose without a change.

Typed, /mode <id> sets the session's mode and /mode default clears it. The status bar's badge names the mode in force; under Auto it also says who picked (auto → goal · Jev 0.82, auto → solo · rules: short task).

The diagram language

Every diagram, built-in or custom, is made of six blocks and nothing else. The green pill is you.

agent

agent: a writer box with ✎ and a lighter read-only box

A role (lead · research · code · review · judge) with a model and effort. ✎ means it may change files; without ✎ it is read-only, enforced.

hand-off

hand-off arrow from A to B

A ──▶ B: B starts from A's result; A is finished.

call

two-way call arrow between A and B

A ◀─▶ B: A asks B, B answers with evidence, A carries on.

parallel

parallel: three boxes side by side in a dashed frame labelled ×N

×N: N agents at once, results gathered; never more than the at-once limit.

loop

loop: a curved return arrow labelled ↺ ≤k

↺ ≤k: repeat until the check passes, at most k passes.

gate

gate: a diamond

◇: a check — tests, a judge, a sceptic panel, your approval, your pick.

Two rules hold for every diagram, custom ones included. One writer per copy of the project: two ✎ agents run at once only if each has its own copy. Every loop has a limit: every ↺ carries its k, and every ×N stays within the at-once limit.

The modes

Model, Solo, Delegate, Pair and Orchestrate are lead modes: your prompt is an ordinary turn, and the mode shapes what the lead may do. Pipeline, Goal and Race are script modes: each prompt becomes the task of a workflow run; the turn answers at once and the result arrives later in the session.

Model — the model decides

Model — the model decides

You hand the task to one writing lead, which decides on its own to work alone, call sub-agents or run a workflow
  • What happens. Ocean Code as it is without a mode: every tool, any sub-agent type, no prompt block, no limit of its own (sub-agents nest four deep). Only the numbers you set in subagent.max_* apply.
  • Pick it for. Everything, until you want a shape. First in the picker, tagged default.
  • Cost. Varies with the task.

Solo — one agent does everything

Solo — one agent does everything

One writing lead loops over its own plan, then hands back to you
  • What happens. One model, one context. The plan, the work-off and the no-progress guards keep it going; no sub-agents exist in this mode.
  • Pick it for. Small or tightly connected changes, and strong models. Models keep getting better, so this is right for more and more work.
  • Cost. 1×, the reference.

Delegate — a lead with read-only helpers

Delegate — a lead with read-only helpers

The lead calls read-only helpers (explore, research, review), at most four at once
  • What happens. The lead does the work and sends side questions to helpers: where is X handled, what do the docs say, check this diff. Helpers return evidence, not conclusions.
  • Pick it for. Everyday Build and Ask work.
  • Cost. About 1.2–2×.

Pair — a thinker and a builder

Pair — a thinker and a builder

The lead writes a change spec, one builder edits and runs the checks, the lead reads the diff and accepts or corrects
  • What happens. The lead never edits. It writes a change spec (what, which files, how to check it); the builder edits, runs the checks and reports the diff and the test output; the lead reads the diff, then accepts or sends corrections. The builder keeps its context between hand-offs.
  • Pick it for. A strong thinker with a faster, cheaper coder.
  • Cost. About 1.3–2×.

Pipeline — stages in order

Pipeline — stages in order

Spec, your approval gate, build, review with at most two fix passes, then back to you
  • What happens. Stages run in order, each its own agent and model. Nothing is built until you approve the spec; review findings go back to Build at most twice.
  • Pick it for. Features where the spec should be agreed first; the automatic version of Plan → Shift+Tab → Build.
  • Cost. About 1.5–3×.

Orchestrate — the lead writes a workflow

Orchestrate — the lead writes a workflow

Scouts read in parallel, a plan from the evidence, one builder, checkers in parallel with at most two fix passes, a report back to you
  • What happens. For a substantive task the lead writes a workflow shaped like this and adjusted to the task: scouts, a plan from the evidence, one writer (or disjoint slices, each in its own copy), checkers from another model family. Short answers stay plain turns.
  • Pick it for. Specs, research, architecture and large changes with several parts.
  • Cost. About 3–15×.

Goal — until proven done

Goal — until proven done

One resumed worker loops on the objective; a sceptic panel judges by majority, at most ten passes
  • What happens. The goal workflow: one resumed worker, three sceptics by default, at most ten passes, a pause when the same gaps repeat.
  • Pick it for. Long tasks with a clear finish line: "make the suite green", "port this module". Start one with /goal <objective>.
  • Cost. About 5–20×.

Race — attempts you choose between

Race — attempts you choose between

Three attempts, each in its own copy of the project and possibly a different model; tests in each copy, a judge ranks them, you pick one
  • What happens. Each attempt runs in its own local git clone of the project under Ocean Code's data directory, never inside the project; the copy carries your uncommitted changes. Tests run in each copy, the judge ranks the attempts on the evidence, you pick one, and only then does the winner come back as one patch applied to your working tree, nothing staged.
  • Pick it for. Important changes with tests, or comparing models on your own code.
  • Cost. About N× plus the judge.

Auto — Jev picks

Auto — Jev picks

Once per prompt Jev picks one of the seven modes, with the rules as the backstop; the pick runs as that diagram
  • What happens. Once per prompt, Jev answers one typed question, which of the modes that can run here fits the task, and its pick runs when its confidence is at least 0.6. With Jev off, no TypeSafe key, an error or a time-out, the rules pick: three or more file paths or list lines → Orchestrate; a finish line (until, tests pass) → Goal; one short line that is not a question → Solo; anything else → Model.
  • Pick it for. When you want a shape per task without choosing each time. The badge says who picked (auto → goal · Jev 0.82); /mode overrides it. See Jev decisions.
  • Cost. The pick's.

Which diagram

QuestionDiagram
Is the change small, or are its edits tightly connected?Solo
Does the agent need to look around a lot first?Delegate
A strong thinker and a cheaper, faster coder?Pair
Agree a spec first, then build and review?Pipeline
Big or wide: research, a spec, many parts?Orchestrate
A long task with a check that says "done"?Goal
An important change, and you want options to choose from?Race

Seven is the upper end of a list people read: Amp found that 69 % of users never leave the default, and Cursor removed custom modes in 2.1. Left out, with reasons: agent swarms that message each other (measured failure rates of 41–87 %), debate (loses to plain sampling at equal compute) and deep hierarchies (Orchestrate at depth 2, not a new shape).

Limits

A mode bounds sub-agents three ways: how many run at once in the whole tree, how many one turn may start, and how deep they nest. Your subagent.max_* setting wins, then the mode's own.

ModeAt oncePer turnDepth
Modelnonenone4
Solo0none4
Delegate, Pair, Pipeline4302
Orchestrate8302
Goalthe workflow'snone4
Race3302

When no slot is free, a spawn waits and the dock shows waiting (4/4 running). At the per-turn limit a question card asks Sub-agents this turn reached 30. Continue?. A refused spawn reaches the model as that call's error; the turn goes on. Edit the three numbers under F2 › Sub-agents or in oceancode.json.

Custom diagrams

A diagram is one .jsonc file in <project>/.oceancode/modes/ or ~/.config/oceancode/modes/. The quickest start is e in the picker, which copies a built-in beside your project; edit it and save, and the picker has it on its next open. The file names the flow (lead or script), the agents with their roles, models and whether they may write, the limits and the picture the pager draws. The schema and the full picker are in the work-modes reference.

Requirements

Pipeline, Goal and Race run as workflows (workflows.enabled, on by default). Race needs a git project and a test_command in oceancode.json; Pipeline and Race need an interactive session, because they ask you to approve or pick, so headless runs refuse them. A mode that cannot run answers the prompt with the reason (race needs a git project). Commands from project files, the test_command and a custom step's command, run through the same bash permission rules as the model's own.

Planned: TI-34

The docs assistant is not available yet. You can hand these docs to your own assistant instead.