Kepler Documentation

Tasks and Resources

Last updated: November 2026

A task is the unit of work in Kepler. It is one thing you want to get done, plus everything the agents working on it need: the repositories, the issue or pull request it came from, the branches, the notes, and every agent session you have run on it.

You can start a task with as much or as little as you have:

  • Start a task from an issue in the Kepler interface, and it opens with the repository and the issue body already attached.
  • Start a task with nothing attached (no repository, no branch) to explore an idea, and attach the repositories and issues later.

The New task composer, with no repo or folder, issue, or pull request attached
Starting a task from an idea, with nothing attached yet.

What a task holds

Everything attached to a task is a resource.


The Notes group in the task's context panel, led by the task's Prompt row, with a + on the group header and the Manage resources button below.
The + on a group header and the Manage resources button both open the Resources screen.

To see and change what a task holds, use one of these controls on the task page:

  • Manage resources, at the bottom of the context panel or in the Task actions (⋮) menu, opens the Resources screen.
  • The + on a group header in the context panel opens the same screen on that kind’s tab.

The Resources screen has a tab for each kind of resource: Repos & folders, Issues, Pull requests, Notes, Links, and Files. Each tab lists what the task already holds, along with the way to add more.

On the Repos & folders, Issues, and Pull requests tabs, you pick first and save once. Tick a row to add it, or click X on a row the task holds to remove it. Nothing changes until you click Save changes, and Discard drops your picks. If you close the screen with unsaved changes, Kepler asks whether to save them. On the Notes, Links, and Files tabs, what you add goes onto the task at once.


The Resources screen on its Notes tab, with a tab for each kind of resource. The tab lists the task's 2 notes, Coding conventions and Prompt, beside a New note button.
The Resources screen on its Notes tab.

A task can hold these kinds of resource:

Resource What it is
Sessions Agent conversations that run on this task
Terminals Shells opened in one of the task’s working directories
Worktrees Git working copies that the agents change. The context panel lists them under Changes
Folders A directory that is not a Git repository, which the agent works on in place. If you later make it a Git repository, the task lists it under Changes
Files A single file, when you need the file rather than its whole folder. A file is either linked from disk by its path or uploaded to the task as a copy
Pull requests Pull requests from your connected Git hosts
Issues Issues from your connected trackers
Links Any URL you want to keep with the work
Notes Text you write, such as standing instructions, decisions, and reference material. The task’s own Prompt is the first item in this group

A task can hold more than one of each kind. For example, a task can span 3 repositories and link 2 issues.

To learn how the task page is laid out (the context panel, columns, split panes, and tabs), see the task page.

Picking issues and pull requests

The Issues and Pull requests tabs list the items already on the task, marked On this task, followed by the work on your connected providers. Type in the search field to find an item.

The scope filter sets which items the list shows:

Scope What it lists
Related to me Items you authored, are assigned, or were mentioned in or asked to review
All in my repos Every open item in the repositories added to Kepler
All visible Issues only: your GitHub and Azure organizations, or a Jira or Linear project or team you pick

To add an item, tick its row. To take an item off the task, click X on its row, and click Undo if you change your mind. Your picks take effect when you click Save changes.

A ticked issue or pull request brings its repository too, with the same branch and worktree chip a repository gets. Kepler picks the repository you used for that project before. To leave the repository out, click X on the chip. When no repository is chosen, click Add its repository to pick one.

To see more about an item before you add it, click Preview on its row, click Show preview in the screen’s header, or press Ctrl/⌘ + Alt/⌥ + P.

You can use the list from the keyboard:

Key What it does
↓ from the search field Moves into the list
↑ / ↓ Moves between rows
Space or Enter Ticks or clears the focused row

The Resources screen on its Issues tab, marked as having unsaved changes, with the Search GitHub issues field, Refresh and the filter pills GitHub, Related to me, Any repo, Open, Last 90 days, Any label and No active task. Cart total ignores discounts when tax is applied (#38) has a check and reads On this task; Gift card codes are case-sensitive at checkout (#42) is ticked, reads Will be added and shows the acme-web, default branch and worktree chips; Add a wishlist to product pages (#45) is unticked. The preview shows #42 in acme/acme-web by sam-ortiz with its bug and checkout labels, and the footer reads 1 to add with Discard and Save changes.
An issue ticked to add, with its repository chip and the preview open.

Pasting an issue link

To add a link, click Add link on the Links tab, paste a URL, and press Enter. To change a web link’s label later, click the pencil on its row, or press F2.

When you paste an issue’s URL, Kepler looks up the issue and adds the link as that issue, under its title. To add it as a plain link anyway, click Add as plain link. If Kepler cannot find the issue, it adds a plain link instead.


The Resources screen on its Links tab with a Linear issue URL pasted into the link field. Under it, Kepler reads Adds Linear issue SHOP-128: Show saved cards at checkout, beside an Add as plain link button.
A pasted Linear URL, resolved to the issue it points at.

Files: linked or uploaded

The Files group holds 2 kinds of file. Kepler removes them differently, because it owns only the uploaded copy:

Kind Where it lives Its row reads Removing it
Linked file Where it already was on disk. Kepler links to it by its path and never changes it Its path Detach file… leaves the file where it is
Uploaded copy In the task’s own folder. It belongs to this task only Task folder Delete file… deletes the copy

To add a file, click Add file on the Files tab of the Resources screen and pick it. Kepler attaches it at once and opens its description, so you can tell agents what it is for. To edit a file’s description later, or an uploaded copy’s name, click the pencil on its row, or press F2.

Other ways files reach a task:

  • When you attach a file to a prompt, Kepler copies it into the task when you send the prompt. That copy is an uploaded copy too.
  • In a window connected to another machine, the Files tab also offers Upload from this machine, which copies files from the machine you are using.

To save either kind of file somewhere else, choose Save as… from its menu. In a window connected to another machine, the menu offers Download… instead, which saves the file on the machine you are using.


The Files group in the task's context panel, holding two files: checkout-style-guide.md, a linked file whose row reads its path on disk, /srv/acme/brand/checkout-style-guide.md, and checkout-copy-draft.md, an uploaded copy whose row reads Task folder.
A linked file and an uploaded copy in the Files group.

Issues and pull requests attach themselves

You do not have to attach a task’s pull request yourself. When one of a task’s worktrees is on a branch that exactly matches an open pull request’s head branch, Kepler attaches that pull request to the task, even if the task already holds other pull requests. This works however the pull request was opened, including from a terminal, from GitKraken, or on the web.


A Pull requests group in the task's context panel holding one open pull request, feat: create action to fetch product page updates as resou…, on the resources-from-website-pages branch.
A pull request Kepler attached on its own, matched by branch.

Kepler attaches only your own pull requests: one you opened, or one whose head is the branch your worktree pushes to. A teammate’s pull request on a branch with the same name, or a pull request from a fork, is never attached automatically. Several tasks can share 1 pull request.

Issues attach the same way. When an issue’s branch matches one of the task’s checkouts, Kepler attaches the issue. A task you start from a branch name therefore gets the issue behind that branch.

Automatic attachment only adds links. It never removes one. To remove a link you do not want on the task, detach it. Detaching a pull request or issue that Kepler found by the branch moves it to the task’s archive, so the branch does not bring it back. Until Kepler adds a pull request it found by the branch, the Pull requests group shows it marked Found by branch branch.

Work item URLs attach as issues. When you or an agent attaches one of the following URLs, Kepler records it as an issue rather than a plain link:

  • A GitLab work item, such as https://gitlab.com/{group}/{project}/-/work_items/{number}
  • An Azure DevOps work item, such as https://dev.azure.com/{organization}/{project}/_workitems/edit/{id}, or the organization-level https://dev.azure.com/{organization}/_workitems/edit/{id}

A GitLab work item that belongs to a group rather than a project stays a plain link.

Keeping them current

Kepler refreshes a task’s pull requests and issues when they could have changed, such as when an agent ends a turn or someone pushes one of the task’s branches. A Jira or Linear issue that moves to a new key stays attached.

To refresh by hand, click the refresh button on the Pull requests or Issues group header, or choose Refresh in the task’s ⋮ menu.


Worktrees and working in place

A worktree is a private Git working copy for one task. Agents make their changes in the worktree, so nothing they do touches the checkout you work in, and several agents can run at once without changing each other’s files. Use a worktree for most work.

To add a repository or folder to a task, open the Repos & folders tab of the Resources screen, tick its row, and click Save changes. A ticked repository gets a chip that says how the task gets it: the base branch, the new branch’s name, and a worktree box. To add another branch of a repository, click + on its row, or Add branch on a repository the task already holds.

The chip’s worktree box sets whether the task gets a worktree, and the chip’s branch parts set the branch. The New task composer offers the same choice. See Create a task.

worktree box What it means
Ticked The task gets its own folder, and nothing else can switch its branch
Cleared The task uses your repository folder, so anything that switches the branch there switches it for the task too

If the branch you picked is already checked out somewhere, Git cannot check it out a second time. The worktree box locks and says where the task will work instead.


The Resources screen on its Repos & folders tab, marked as having unsaved changes, with the search field, Open folder… and Clone…. The acme-web row is ticked and reads Will be added, with a chip for a new branch from main and the worktree option on, a remove button and an add button for another branch. The footer shows the repositories folder with Scan and Change, and 1 to add with Discard and Save changes.
A ticked repository with its branch and worktree chip, before you save.

With isolation off, the task has no branch of its own. The task uses your repository folder exactly as it is. Kepler copies nothing and protects nothing. Turn isolation off only when you want an agent to work in your own checkout. Otherwise, leave it on.

Kepler always isolates a repository linked to a pull request, and locks the worktree box.

When you attach the repository, you can also pick the branch:

  • Use this branch works directly on an existing branch.
  • New branch creates a branch from the repository’s default branch.

Each option says where the work will happen. Kepler names a new branch for you unless you set a name. To fetch the latest branches from your remotes, click Refresh branches, beside Find a branch….

A new branch starts from the repository’s remote default branch, not from the branch you have checked out. To start from another branch, name a base yourself:

  • A local base starts from its upstream.
  • If the local base has commits you have not pushed, the new branch starts from your local tip instead, so it includes those commits.

With no remote default branch available, the new branch starts from your current commit.

Starting or resuming a session brings an older worktree up to date. When you start a session in an existing worktree, or resume a stopped session there, and the worktree’s branch has no changes or commits of its own and is not published, Kepler first moves the branch up to its merge target. Kepler never moves a branch that holds work.

Kepler suggests branch names from the task’s own context. A suggested name starts with the issue identifier when the task has one, and sits under the kepler/ prefix unless you configure another prefix. See Create a task.

A task does not require a worktree, or even a repository. Attach a plain folder, and the agent works on it in place. Attach nothing, and you have a space to explore an idea. You can attach repositories and other resources later, when you are ready to start the work.

When a worktree goes missing

A worktree deleted outside Kepler stays bound to its task, so the task keeps its record of where the work was, even after a git worktree prune. The row is flagged Gone from disk, and the pane shows the details Kepler recorded: Current branch, Base branch, and Recorded path.

To bring the worktree back, click Recreate worktree on the pane, or choose it from the worktree’s menu. Kepler recreates the worktree at the recorded path. If the branch was deleted too, Kepler restores the branch where it can, otherwise recreates it from its base, and tells you which.

An attached folder that was removed stays on the task the same way. If you start a new session in a worktree or folder that is gone, Kepler asks first, then rebuilds it before the session starts. A task with no repository or folder starts its sessions in the task’s own folder.

Make a new worktree ready to build

A new worktree is a clean checkout. It has no node_modules, no build output, and none of the files your setup script would normally create. An agent that starts there has to install dependencies first, or its first build fails.

To prepare new worktrees automatically, use Commands. Save a repository’s setup steps once, such as pnpm install or a code generation step, and tick Run on worktree creation. Each time Kepler creates a worktree for that repository, it runs those commands in order in the new worktree’s folder, in the background. The agent can start before they finish. To run a command that is not set to run on creation, right-click a worktree in the context panel and choose Run command here.

Copy ignored files such as .env into new worktrees. A new worktree has none of the Git-ignored files in your checkout. List the ones a worktree needs in a .worktreeinclude file at the repository’s root, in .gitignore syntax. Kepler copies the matching files from your checkout into each new worktree, before any Run on worktree creation command runs, and never overwrites a file that is already there. Lines that start with ! are skipped.

The worktree’s menu has the same entries wherever the worktree appears:

  • Run command here, New session here, which opens a draft session in that worktree, and New terminal here.
  • The Branch submenu, with Rename branch, the upstream, Change merge target…, and Rebase onto {target} or Merge {target} into this branch. For the upstream and updating the branch, see Review What a Coding Agent Changed.
  • The copy actions, Refresh, Detach worktree…, and Delete worktree….

A worktree row's right-click menu in the task's context panel, with its Branch submenu open on Rename branch, Set upstream, Change merge target… (main), Rebase onto main and Merge main into this branch. The menu also lists Open, Open changes, Open in, New session here, New terminal here, Run command here, Copy branch name, Copy worktree path, Copy remote URL, Refresh, and Detach worktree… and Delete worktree…, unavailable while a session is using the worktree.
A worktree’s right-click menu, with its Branch submenu open.

To set up commands, open Settings → Repositories and go to the repository’s own page. See Settings for the fields, the Variables a command can use, and what happens when one fails.

What a worktree does not separate

A worktree gives each task its own copy of the files, but nothing else. Tasks still share everything outside the worktree’s folder:

  • Ports. Two worktrees that start the same dev server on the same port collide, and the second server fails to start.
  • Databases and other local services. Agents in different worktrees that point at the same database read and write the same data.
  • Caches and files outside the repository. A global package cache or a file in your home folder is the same for every worktree.

To keep tasks apart, give each worktree its own settings when Kepler creates it. Add a per-repository command that runs on worktree creation and writes those settings, such as a port or a database name, into a local config file in the new worktree. The command runs in the new worktree’s folder, and its Variables menu can insert the worktree’s path. See Settings.


Shared context: how resources reach your agents

Kepler sends everything attached to a task to every agent session in the task as shared context: the task’s prompt, the issue body, the pull request, your notes, and the links. When a prompt refers to something “described in the shared context above”, it means these items.

Kepler sends each kind of item differently:

  • The task’s prompt goes in full, as background to the work rather than as an instruction. The agent acts on the messages you send it.
  • Each note goes as a reference, with its title and size. The agent reads the note’s text when it needs it.

Launching a task saves its issues’ descriptions as notes. When you launch a task with linked issues, Kepler reads each issue again and saves its description as a note titled Issue {identifier}: {title}, with the issue’s URL at the top. A long description is cut short, with a link to the issue.


A session with a collapsible 'Task context added' row listing one attached item
A session’s shared context, expanded to show what was attached.

In the conversation, shared context appears as a collapsible row with a count of the items included. The row reads Task context added the first time, and Task context updated each time the context changes. Expand the row to see exactly what the agent received.

You do not edit shared context directly. To change it, attach, detach, archive, or edit resources. Each session receives the change with its next prompt.

The task’s prompt is context too

The text you wrote when you started the task is a context item of its own: the Prompt, at the top of the Notes group. Every session on the task works toward this prompt, so Kepler sends it with the rest of the shared context. When the goal changes, edit the prompt the same way you edit a note. Unlike a note, the prompt cannot be deleted.

Starting a session without the task’s context

Sometimes you want an agent that forms its own view, such as a reviewer that should not be influenced by the implementer’s brief. To start a session without the task’s prompt and notes, follow these steps:

  1. Click + on the Sessions group in the context panel, or press Ctrl/⌘ + T. A draft session tab opens.
  2. In the draft’s composer footer, untick the Task context chip. The chip is on by default.
  3. Type your prompt and click Start.

The new session does not receive the task’s prompt or notes. It still gets the task’s worktrees, folders, files, and links, because it still needs to know where to work. The chip applies only to that draft, so turning it off does not change your other sessions. See Starting a session.


A draft session's composer with the Task context chip ticked in its footer. Its tooltip, Leave out the task context, says the chip gives the agent the task's prompt and notes.
The Task context chip, on by default.

Notes are how you give standing instructions

Attach a Note for anything every agent on the task should follow, such as a style rule, a constraint, or a decision you do not want reopened. Write it once, and every session gets it, including sessions you start later. A session sees a note’s title first and opens the note when it is relevant, so give each note a title that says what it covers. A note can be up to 1 MB.

To add a note, click New note on the Notes tab of the Resources screen, then type a title and the text, in Markdown. The note saves when you click away or click Save note.


The Resources screen on its Notes tab with a new note being written: the title reads Coding conventions, and the body lists three standing instructions (money stays in cents until it is shown, every cart change gets a test in cart.test.js, never change the checkout copy without the style guide), with Save note below. Under it the tab lists 1 note, the Prompt, beside New note.
Writing a note with a title and Markdown content.

To rename a note, click its name while you are in the note, press F2 on the open note, or choose Rename note from its right-click menu. The name becomes a field. Press Enter to keep the new name, or Escape to restore the old one. A note with no name reads Untitled note. The task’s Prompt cannot be renamed.

To edit an open note, click Edit, or press Enter on the focused note. The note opens in Kepler’s code editor, with highlighted Markdown, line numbers, and find. To save, press Ctrl/⌘ + S. If the note changed while you were editing it, such as when an agent wrote to it, Kepler stops the save and asks first: Save anyway keeps your version, and the note’s history keeps the version it replaces.

Beside Edit, Copy copies the note and Save as… saves it as a Markdown file. If you leave an edit unsaved, Kepler keeps it as a draft: the note reads Unsaved draft, and Edit becomes Resume draft.

A checklist item in a note, such as - [ ] Add a test, shows as a checkbox. Tick it in the open note, without opening the editor. Each tick saves a new version of the note.

To point someone, or an agent, at a note, choose Copy link to note from its menu. Hover a heading and click Copy link to section to copy a link that opens the note at that section. To ask an agent to change part of a note, comment on it. See Comment on a note.

A note keeps its saved versions. To see them, click What changed on the open note, or See what changed on the line that says who last edited it. The note shows what changed since your last edit. To compare other versions, pick them in Changes after … up to …. To bring a version back as the newest one, click Restore version {version}. Back to note returns to the note. A deleted note can be restored too: click Deleted on the Notes tab of the Resources screen, open the note, and restore a version from its history.


The Coding conventions note open on the task page, its text replaced by What changed: Earlier version and Later version arrows, Version 2 by You, 2 of 3, and Back to note; the line Changes after Version 1 up to Version 2, with Restore version 2 beside it; and below, the note's lines with the one Version 2 added, Every cart change gets a test in cart.test.js., marked as added.
A note’s What changed view, with a saved version ready to restore.

Detaching and deleting

Removing a resource from a task leaves the resource itself intact, unless only the task holds it. The menu shows which action you are taking:

  • Detach removes something that lives elsewhere, such as a folder or a pull request, from the task.
  • Delete removes something that only the task holds, such as a note or an uploaded copy.
  • Archive, on the Resources screen, sets a resource aside without removing it. See Archiving a resource.

A linked file's right-click menu in the task's context panel, open on checkout-style-guide.md, with Open, Open to the side, Save as…, Copy path, and Detach file… at the bottom.
Removing a resource from its right-click menu in the context panel.

From the context panel, Kepler asks you to confirm each removal and says what it does:

Resource What removing it does
Folder or linked file Removes it from the task and leaves it on disk
Uploaded copy Deletes the copy in the task folder
Pull request, issue, or link Removes it from the task. One that Kepler found by the branch moves to the task’s archive
Note Deletes the note

The task’s Prompt has no remove action.

On the Resources screen, a removal can be undone. When you remove a note, a file, or a web link there, Kepler asks you to confirm, then its row shows Undo for a short time. On the Repos & folders, Issues, and Pull requests tabs, a removal waits until you click Save changes.

To remove several resources at once, tick their checkboxes, or tick Select all, then use the buttons in the selection bar.

Archiving a resource

To set a note, link, or file aside without removing it, open the Resources screen and choose Archive from its row’s menu. An archived resource leaves the context panel and the task’s shared context.

To see what is archived, click Archived in the tab’s toolbar. Click Restore on a row to put it back on the task.


The Resources screen on its Notes tab with Archived 1 turned on, listing the archived note Coding conventions with a restore button. A line above it says archived items are hidden from the task and from agents.
The archived items on the Notes tab, each with Restore.

You cannot archive a worktree, the task’s Prompt, or the task’s own folder. To archive a folder a session works in, archive that session first.

A tab can also offer a one-click cleanup, such as Archive {count} merged for merged pull requests, or Remove {count} missing for files and folders that are gone from disk.

Deleting a worktree

Deleting a worktree can lose work, so Kepler adds more checks before it deletes one.


The Detach worktree? dialog, saying the worktree stays on disk and is only removed from this task, with Cancel and Detach worktree buttons.
Detaching a worktree leaves it on disk.

The worktree’s menu, in the context panel, in the worktree tab’s header, or on its row on the Repos & folders tab of the Resources screen, has 2 separate entries:

  • Detach worktree… removes the worktree from the task and leaves it on disk.
  • Delete worktree… removes the worktree from disk, after you confirm in the Delete worktree? dialog. The repository’s main worktree has no Delete worktree… entry.

The Delete worktree? dialog lists the worktree with what deleting it would cost, such as No uncommitted changes and Branch kept, under a verdict such as Safe to delete. To remove the branch along with the worktree, tick Also delete branch. You cannot delete a worktree that another task still uses. In that case, the dialog names the task that uses it and offers Detach worktree instead of Delete worktree.

You cannot detach or delete a worktree while a session is still running in it. The menu tells you how many sessions to archive first. If another program has the folder open, the delete fails. Close any editors, terminals, or file explorers that have the folder open, then try again.

The dialog’s tags show what you could lose, such as uncommitted files, commits not on any remote, or commits on a detached HEAD. A branch whose commits are in a pull request, merged, or pushed loses nothing. The tags update when you tick Also delete branch. A branch merged through a rebase or squash merge counts as merged.

Kepler keeps a worktree that would lose work, unless you tick the extra box that names the worktree and what it would lose. Kepler never deletes uncommitted or unpushed work without your confirmation.

If the worktree is locked, the dialog says what locked it: a task, with View task to check it, or another tool. To delete it anyway, tick Unlock and delete anyway and click Unlock and delete. Cleaning up several tasks at once leaves a locked worktree in place. To remove it, delete that worktree on its own.


Renaming, archiving, and deleting a task


The Task actions menu with Rename task highlighted. It lists Open task page at the top and Shut down all agents, Archive task, and Delete task at the bottom.
The Task actions menu, where you rename, archive, or delete a task.

To rename, archive, or delete a task, open the Task actions (⋮) menu on the task’s row or in the task page’s header. The menu has these actions:

Action What it does
Mark as read / Mark as unread Mark as read appears while any of the task’s sessions is unread, and marks them all read. Otherwise the menu offers Mark as unread
Rename task Turns the name into a field. Auto-name suggests a name from the task’s prompt and resources
Add to group Puts the task in one of your groups or a New group…, or takes it out with Remove from group
Manage resources Opens the task’s Resources screen. See What a task holds
Copy task link Copies a Kepler link to the task. Ctrl/⌘ + C on a focused task row does the same
Refresh Reads the task’s worktrees and its pull requests and issues again
Archive task Moves the task out of the active list and stops its running agents. Its sessions and resources are kept, and prompting it puts it back
Restore task Replaces Archive task on an archived task, and returns it to the active list and its group
Delete task Removes the task along with its sessions and resources, and deletes the task’s folder and the files in it. On the task page, Ctrl/⌘ + Shift + Backspace does the same

Kepler suggests archiving a finished task. When a task meets all of these conditions, its header asks Ready to archive? with an Archive button:

  • The task is at Done.
  • Its worktrees have no unpushed work.
  • No session is still working, waiting on you, or running background work.

If you dismiss the suggestion, Kepler stops suggesting it for that task.

Archive and Delete open the same dialog, with the same 3 checkboxes for the task’s worktrees and branches. Each box stays unavailable until you tick the one above it, and Kepler remembers your choices for next time:

  • Also delete worktrees
  • Also delete branches
  • Also delete the branch on the remote

Until you tick a box, worktrees and branches stay on disk. With Also delete worktrees ticked, every agent of the task ends, and Kepler closes the terminals open in those worktrees before it deletes them.

When you tick Also delete worktrees, Kepler lists every worktree with the same tags a single worktree delete shows, and says what will happen to each. It deletes a worktree that is safe to delete, and keeps one that would lose work unless you tick the box that names it and confirms the loss. A worktree it cannot delete, such as one another task uses, is listed with the reason.

When Also delete the branch on the remote is ticked, Kepler also deletes each branch’s remote copy. It keeps the remote branch if deleting it could lose something, such as an open pull request or commits that are not on both sides, and tells you why.


The Archive task? dialog for Upgrade the payment SDK, saying its sessions and resources are kept and its worktrees and branches stay on disk unless you tick the boxes below. Also delete worktrees is unticked, and Also delete branches and Also delete the branch on the remote are unavailable.
The Archive task? dialog, before you tick anything.

The Archive task? dialog with Also delete worktrees and Also delete branches ticked, its list reading 1 of 2 will be deleted: kepler/payment-sdk-v5, with 1 uncommitted file, is kept because deleting it would lose work, and kepler/payment-sdk-docs goes. Below the list, an unticked box offers to delete kepler/payment-sdk-v5 anyway.
The same dialog with worktrees and branches ticked: one worktree goes, one is kept.

On an archived task, the header on its task page and in its Dashboard panel offers Restore and Delete instead of new sessions and terminals. Hover its Archived status to see when it was archived. On a row in the main list, Restore task appears only after you filter Activity to Archived. See Arranging Your Work.

To archive or restore a single session, use the session’s own menu in the context panel.


What an agent can do with a task’s resources

Agents work with tasks through Kepler’s own MCP server, kepler-workspace. With its tools, an agent can keep the task’s resources up to date for you, and can find and coordinate with the rest of your work.

Note: Allow-listing the tools by name? Each tool is named for what it acts on, then what it does, such as task_get or worktree_create. If an agent’s settings allow-list mcp__kepler-workspace__ tools by name, use the names below.

If you paste a Kepler link to a task or a session into the chat, the agent can use it to find that task or session. Wherever a tool takes a repository, the agent can also name the repository by one of its Aliases, which you set on the repository’s page in Settings → Repositories. See Settings.

Reading tasks and notes

Tool What it does
task_get Read a task: its stage, group, places to work, notes, files, links, related tasks, and sessions
task_list Find tasks by name, prompt, notes, or files, filtered by stage, hold, repository, or group
task_note_read Read one note’s full text
task_note_history List a note’s saved versions, or the task’s notes that have history
task_comment_read Read the review comments you sent on a task’s code or notes, with their replies

Finding sessions, agents, and places

Tool What it does
session_list Find agent sessions, with each one’s state and what it is waiting on
session_read Read another session’s conversation, including one you link with Copy session link
agent_list List the agents, accounts, models, modes, and saved presets a new session can start with. It can also show each account’s plan usage, so the agent can pick an account with room left
repo_list List the repositories and folders where work can happen
repo_get Read a repository’s details and its Run commands
action_list / action_get List your Actions, or read one Action’s full prompt

Notes, links, and files

Tool What it does
task_note_write Create or edit a note. It never overwrites edits made since the agent read the note
task_note_delete Delete a note
task_note_restore Restore a saved version of a note as its newest version
task_comment_reply Reply on a review comment you sent, and resolve it once the request is done
task_link_update Attach or detach issues, pull requests, and other links, such as the local URL of a dev server the agent started for you
task_file_attach Attach files by path, or save a file the agent wrote as an uploaded copy, up to 200 MiB
task_file_detach Detach files. An uploaded copy is deleted
task_resource_archive Archive or restore a task’s files, folders, links, and notes

Worktrees

Tool What it does
worktree_create Create a worktree on a new branch and bind it to the task
worktree_attach Bind an existing worktree or folder to the task
worktree_detach Detach a worktree or folder from the task, leaving it on disk
worktree_update Record a branch’s new merge target, such as after a rebase onto another branch
worktree_delete Delete a worktree from disk. An unmerged branch is kept unless the agent asks to delete it

Where AI Sync and AI Compose are turned on, the sync_* and compose_* tools also let an agent update a branch from its base with a rebase or merge, and reorganize its commits. See Review What a Coding Agent Changed.

Terminals

Tool What it does
terminal_list List the terminals on the agent’s own task
terminal_start Start one of the repository’s Run commands, such as a dev server, or open an empty shell, on the agent’s own task. Some Run commands ask you first
terminal_read Read a terminal’s output, and whether it has exited
terminal_stop Stop a terminal, and close its tab. Stopping a terminal you opened asks you first

An agent cannot type into a terminal, or run a command that is not one of the repository’s Run commands.

Progress and lifecycle

Tool What it does
task_create Create a separate task, linked back to this one as a sub-task, follow-up, or related task. Nothing starts on it
task_update Set the task’s stage or hold, set it aside for Later, rename it, move it to a group, restore it from the archive, or adopt another task into the agent’s own work. A hold can lift by itself, such as when CI finishes on the task’s pull request
task_archive Archive a task and keep its sessions. It can also delete the task’s worktrees and merged branches
watch_pr Watch the task’s open pull request. Kepler wakes the agent when checks finish, a review or comment arrives, or the pull request gets conflicts, merges, or closes

Starting and coordinating work

Tool What it does
session_start Start an agent session on a task, such as a delegate or a reviewer, with a first message. It can start without the task’s context
session_send Send another session a prompt or a message, or stop its running turn
session_update Rename a session, or restore an archived session without starting it
session_archive Archive a session. A session cannot archive itself
inbox_read Read this session’s inbox, or wait for reports from the sessions it started
approval_list List the requests waiting on your approval. It cannot approve or deny anything
approval_cancel Withdraw a request the agent made that is still waiting. Its card closes
theme_get / theme_save Read Kepler’s theme format, then check a theme file and install it into the themes folder

Repositories and Actions

Tool What it does
repo_update Rename a repository, or change its description or aliases. A change to its sync settings asks you first
repo_command_create / repo_command_update / repo_command_delete Add, replace, or delete a repository’s Run commands. Each one asks you first
action_update Change the prompt of an Action you created, when you ask it to. Each change asks you first
issue_create / issue_update / issue_delete Create, edit, close, reopen, or delete a GitHub issue as one of your connected GitHub accounts. Deleting one always asks you first

What runs at once, and what asks you

Every workspace tool is pre-approved, in Chat and in Terminal, so none of them shows the agent’s own permission prompt. Instead, Kepler decides which requests can run at once.

An agent works freely within its own work. Its own work is its own task, plus the tasks and sessions it created or started sessions on, and any task you approved it adopting. These requests run at once:

  • Reads, anywhere.
  • Creating a task, a note, or a worktree.
  • Changes inside the agent’s own work, except changes that can lose something.

These requests wait for your approval:

  • Sending a prompt to any session other than one the agent started itself, or a message to a session outside its own work
  • Stopping or renaming a session outside its own work, or archiving any session other than one it started
  • Changing a task outside its own work, such as its stage, hold, name, group, links, or notes, detaching its files, or archiving its resources
  • Changing a Kepler setting that affects your accounts, privacy, other tools, what runs, or where files go. Only Ask Kepler can change settings, and you approve each change on its own. See Approval requests
  • Adopting a task into its own work. Once you approve, the agent can change that task, its notes, worktrees, and sessions as freely as its own
  • Adding, replacing, or deleting a repository’s Run command, or changing a repository’s sync settings
  • Starting a Run command whose Agents can start this without asking is cleared, or any Run command in a repository that is not trusted
  • Stopping a terminal you opened
  • Changing an Action’s prompt
  • Deleting a GitHub issue
  • Deleting any note
  • Detaching an uploaded file, because Kepler deletes its saved copy
  • Archiving a task outside its own work or with other live sessions, and any archive that also deletes worktrees
  • Setting a task aside for later while its other sessions are working
  • Deleting a worktree that has something to lose (uncommitted changes, unpushed commits on a branch being deleted, commits on a detached HEAD, a status Kepler cannot read), or that another task is bound to
  • Starting a session in a more permissive mode than the agent’s own, or on a task outside its own work
  • Overwriting a theme file when there is no Trash to keep the old one
  • The AI Sync and Compose tools that change a repository or rewrite its history

A session that an agent starts cannot run in a higher mode than the session that started it unless you approve.

The request appears as an approval card above the asking session’s composer, with Approve and Deny. The Approve menu can approve every request of that kind from the session, or always. For an action that can lose work, Always approve asks you to confirm first. A rule you make with Always approve is listed under Settings → Approvals, where Remove deletes it. Always approve is not offered for adopting a task, for changing an Action’s prompt, for deleting a GitHub issue, or for adding or replacing a Run command. See Agent Sessions.

A request to start a Run command offers Always allow instead, which ticks Agents can start this without asking for that command. No other rule covers starting a Run command.


An amber approval card, Run a command in a new terminal, with the command pnpm dev, In acme-web@kepler/fix-cart-total, on Fix the cart total, and This Run command is set to ask before an agent starts it. Its buttons are Approve, Always allow and Deny.
An agent asks to start a Run command that is set to ask first.

The agent does not wait for you to answer the card. Kepler tells the agent the request is awaiting your approval, the agent continues, and the outcome arrives in its inbox. Before an approved request runs, Kepler checks again. If the target changed in the meantime, such as a worktree that has new commits, nothing runs.

worktree_delete has the same protection as your own delete. It refuses while a live session is running in the worktree, including the agent’s own session. A worktree it deletes stays on the task, marked as gone, until someone detaches it.

Reports between sessions

Each session has an inbox for what other agents send it:

  • Reports and messages
  • Changes in the state of a session it started
  • The outcomes of its approval requests

When an item arrives for an idle session, Kepler wakes the session to read it. A busy session reads it when its turn ends. In Terminal, Kepler can wake only some agents; see Reports from other agents.

When a session has unread reports, the band above its composer says how many. To have the agent read them now, click Have it read them.

Agents that keep waking each other can loop. To stop a loop, after 20 turns started by agents rather than by you, reports stop waking the session. The band reads Reports from other agents are paused, and the session’s tab and row show a reports badge with the count. To turn wakes back on, click Resume reports, or send the session a message of your own.


Have feedback about this article? Did we miss something? Let us know!
On this page