Tasks

Hand a coding task to any engine you have. It works in its own copy of the project, shows each step as it happens, and keeps going when the app is closed.

Last reviewed November 18, 2026 (checked against the app).

Where to find it: Tasks in the sidebar's Tools group, or search "Tasks" in the command palette (Ctrl+K). You can also type /tasks in a Terminal, pick Hand off a coding task in Start Work, or press Tasks on a phase of a saved plan in a project. An old /codex link opens Tasks.


What is a task?

A task is a piece of coding work you hand to an engine: Claude Code, Codex, Antigravity or opencode, on any model you have set up. You describe the work, or pick a saved plan of the project, and the engine works on it in its own copy of the project. You see what it reads, what it changes and what it runs, and you decide what happens to the result when it finishes.

Tasks run on the CPLai service, so a task keeps working when you close the app, and the desktop app and the web dashboard show the same tasks.

The page follows the project selected at the top of CPLai. It shows that project's tasks, and new tasks start in that project. To work on another project, change the selection at the top.


How do I start a task?

  1. Select the project at the top of CPLai.
  2. Open Tasks and press New task.
  3. Say what it should do. For example: "Add an Export CSV button to the invoices table and a test for it."
  4. Optionally pick a saved Plan of the project. Under it, Phases to run lists each phase with how many of its steps are already ticked: pick the phases to run, or none to run the whole plan. With a plan, the box above is for extra notes, and the task ticks each plan item as it finishes it.
  5. Pick the engine and model with Model, at the top right of the card. The line under it says what the model runs in and how it is paid. Compare engines, at the foot of the list, opens Engines and what they cost.
  6. Choose how much it may do without asking (see How much a task may do without asking).
  7. Choose where it works: Its own copy (the default) or This checkout.
  8. Press Start task (or Ctrl+Enter in the box, Command+Enter on a Mac or an iPad). While something is missing, Start task stays grey and the reason shows under it.

Nothing starts until you press Start task. A request handed over from Start Work or a plan card only fills in the box.


Engines and what they cost

The engine picker groups every model you can use in three groups, the same as the Designer picker:

Group What it means
Covered Runs on a plan or sign-in you already pay for (your Claude plan, ChatGPT plan, Google sign-in or Ollama Cloud plan). No charge per task.
Charged per task Paid from an API key, such as OpenRouter. The picker shows an estimate from your recent runs.
Free · local Runs on your own machines (Ollama or vLLM). Only servers that are running are listed.

Providers you have not set up are hidden; the line at the bottom of the picker opens Settings, Providers to add them.

A task on a plan never switches to a paid key. If the plan sign-in stops working, the task stops and says so.

The task's header and its This task card always show which engine, model and billing it runs on. Billing unknown means CPLai cannot tell how that engine is billed: an OpenCode model from a provider other than OpenRouter, Ollama Cloud or your own machines (such as GitHub Copilot, which may be a subscription or a key), or a Codex sign-in CPLai could not read. A Codex task signed in with an API key says Charged, because Codex bills that key. An agent's task on an engine CPLai cannot tell about still waits for your yes, as a charged one does, and its card says it may be charged.


How much a task may do without asking

The same three choices are offered on every engine:

Choice What the task may do
Plan only Reads the project and proposes a plan. It changes nothing.
Asks first Edits files in its copy, and asks you before commands, installs and anything outside the project.
On its own Works without asking, inside its own copy of the project.

Asks first is the default where the engine can do it. Engines handle it differently, and each choice says under it what that engine does. Codex, Antigravity and opencode cannot stop in the middle of a task to ask: with Asks first they work inside the task's folder and refuse anything outside it. When a choice is not available for an engine, it says why.

A task an agent starts follows that agent's own permission setting, and the task shows that an agent started it.


How do I answer a task's question?

When a task needs your answer, it stops and shows an amber card in the task. Claude Code is the engine that stops to ask: the card shows the exact command, file or address it wants, with Claude's own description of the step. When Claude asks in its own terminal and the command cannot be read, the card quotes Claude's question instead (for example "Do you want to proceed?").

  • Allow once: lets it do this one thing.
  • Deny and say why: refuses, with a note the engine reads (for example, what to do instead).

If CPLai cannot read which step Claude is asking about, the card offers only Deny and says why.

The task shows Waiting for you, the Tasks entry in the sidebar shows how many tasks wait for you, and the question also appears on Today and in the Inbox. Allowing it there allows it once; denying it there refuses it without a note. A question that can only be refused opens the task from there instead. A question nobody answers within an hour counts as a deny.


Following a task

  • Steps: each step appears as it happens: plan, read, edit, run, tool and commit. Steps are kept, so they are still there after a restart.
  • Changes: the files the task changed, with line counts, and the diff of the selected file. While it works this shows the changes so far; new files appear once the turn commits. With several turns, pick which turn's changes to see.
  • Follow-ups: the box at the bottom sends more work to the same task, and the engine continues its session. You can send a follow-up when a turn has finished.
  • Stop: stops the task's current turn. What it wrote so far is kept.

When it is done

The When it is done card offers what to do with the result:

Action What it does
Open a pull request Shows the pull request first: the repository, the task's branch, the base branch, the commit, and the title and description exactly as they would go, with any secrets hidden. You can change the title. Open pull request then pushes the branch to your checkout's GitHub remote with your own git credentials (never forced) and opens the pull request with your company's GitHub connection. Only the title and description are checked for secrets, not the files. On a task with an open pull request, the press pushes its newest commit to that pull request; on a continued task, it pushes to the pull request the task it continues already opened. If the project has no linked GitHub repository or GitHub connection, the card says which is missing.
Turn into a ticket Makes one ticket on the project's board (a task, a bug or a feature) with the brief, the engine, the branch, each turn and what it reported last, with any secrets hidden. Pressing it again opens the same ticket. It works on a continued or discarded task too.
Apply to my checkout Brings every change this task, and the tasks it continued from, made into your project folder, uncommitted: nothing is staged or committed, your branch stays, and new files show as untracked. It is all or nothing: if the changes do not fit your files, nothing changes and you are told why. On a continued task, Changes shows only this task's own turns, while Apply brings the whole chain. Apply writes line endings the way your own Git for Windows would. If your git came from somewhere else (scoop, MSYS2 or a Git desktop app), or Git for Windows is installed only for your user account and the task runs in the CPLai service, Apply uses the git CPLai provides, which writes Windows line endings, and your git may show whole files as changed; a .gitattributes file in the project keeps line endings fixed whichever git writes them.
Continue on another engine Starts a new task on the engine you pick, in the same folder and on the same branch, and its first turn starts at once. The picker never starts on the task's own engine, nor on a charged model unless that is your default. The new engine does not remember the old session: its first message says what the earlier engine did, the brief, what it reported last and what you typed. The first task stays readable and takes no more turns. Under This task, it shows Continued as with a link to the new task, and the new task shows Continues with a link back.
Discard its copy Removes the task's folder; your checkout is never removed. The branch, every turn's commit and the task's steps are kept unless you also choose to delete the branch, which asks again. With the branch kept, Apply and Open a pull request still work afterwards. If the copy has changes no turn committed, you are shown the files and asked once more. If the copy holds links that lead outside it, it is not discarded until you remove them. After Discard, a task whose branch is still there (you kept it, or git could not delete it) shows Delete its branch; press it to delete the branch now.

All five wait while a turn is running.


Window sizes

The page lays itself out by the room it has:

  • Wide: the task list, the task, its changes and its details side by side.
  • Around 1920 pixels wide: the task list folds into the switcher next to the page title.
  • Narrower (a window beside the chat dock, a tablet): the task sits beside one pane that switches between Changes and Details, and on the narrowest screens Task, Changes and Details become tabs.
  • When Details has a wide but short pane (an iPad held sideways) and its cards do not fit one above the other, it shows the task and its pull request on the left and When it is done on the right, so the finish actions sit beside the task instead of below it.
  • On a task whose copy was discarded, When it is done comes before the pull request card at every size, so Delete its branch is in view.

New task, Stop, Send and Start task always stay in view.


Earlier Codex sessions

Tasks replaced the Codex page. Sessions started on the old Codex page are listed under From the Codex page on the web dashboard, and open on the old page with Back to Tasks at the top. See Codex for that page.


Can my agents start tasks?

Yes. An agent on Claude or Codex can hand a piece of coding work to a task and carry on with its own work. It uses six tools of the CPL Memory server: list its tasks, read one, start one, follow one up, cancel one, and read what a task changed. An agent on OpenCode does not have them yet. The agent needs the CPL Memory server (see How do I connect my CLI to CPL memory?).

  • A task an agent starts works in its own copy of the project's repository, on a new branch, and runs as that agent: only in the agent's own company's projects, against its budget, and with at most 3 of its tasks running at once. A task's own run cannot start tasks.
  • Spending: a plan engine or a local model starts at once. A charged engine follows your setting for agents. By default you are asked first, and the turn waits until you allow it on a spending card (at most 24 hours); if your setting does not allow the agent charged engines, it is told why.
  • An agent sees only its own tasks. Applying a task's changes, opening a pull request, turning it into a ticket, answering its questions, continuing it on another engine and discarding it stay yours, on this page.

What is not available yet

  • Preview and Terminal: the tabs beside Changes will show the app a task starts and the output of what it runs. They say so until that arrives; each command a task runs is listed in its steps.
  • Claude asking from the desktop app: a task started in the desktop app cannot answer Claude Code's questions. Choose On its own or Plan only, or start the task from the web app so the CPLai service runs it.
  • Cloud runs for Claude Code and Antigravity, and share links: not offered on this page.
  • One task on several engines at once: use Parallel Agent Racing for that.

  • Parallel Agent Racing: run several engines on the same prompt and compare them.
  • Projects: saved plans you can run as a task.
  • Codex: the old Codex page and its sessions.

CPLai user manual, version of November 20, 2026. This is the same manual that ships inside the app.