Dance with coding agents.

A high-performance
development environment for coding agents.Work in worktrees, from prompt to merged pull request.

Free and open source. macOS 14 or later, Apple Silicon.

A dark Codans window in front of a mountain on Mars, with the command palette open: New Agent, New Workspace, Open Project and other actions. The Agents View in the sidebar shows agents that work, wait for approval, and are done.
The New Agent dialog over a light Codans window in front of pink sand dunes: the inboxlm project, a new worktree named feat/label-rules, a prompt, and Claude Code selected.
A Codans window in the Gruvbox Dark theme above the blue edge of Earth, with the Moon behind it. Claude Code works in a wide pane beside a narrow pane that runs a dev server.
A Codans window in the Rosé Pine Dawn theme on a backdrop of blue waves. Codex works in a narrow pane beside a terminal diff viewer.
A dark Codans window without the sidebar, above the surface of the Moon. Five panes: Claude Code in the first column, Codex and omp in the second, OpenCode and Pi in the third. Claude Code waits for approval to push.
A light Codans window on a plain green backdrop. The pull request popover under the header shows three passed checks and a Merge button.

Built around the agent, not the editor.

Codans knows which panes run agents and what state each one is in. It can start, queue, resume, and hand over their work.

The Agents View panel. One agent waits for approval, three work, and then two of them finish.

Agents View

Every agent in every project, with its live state. Click a row to go to its pane.

The New Agent dialog with a project, a new worktree, a prompt, and an agent.

New Agent

Press ⌘⇧N, pick a project, name a branch, write the prompt. The worktree and the agent start together.

The Command Queue dialog with a prompt that repeats every 30 minutes, then the list of three queued commands.

Command Queue

Line up prompts while the agent is busy: after the current task, now, or on a schedule.

The Agent Sessions popover with six sessions, the Resume in menu, and then the resumed session in a new split.

Session History

Every Claude Code and Codex session of a worktree. Resume one in a new tab, in place, or in a split.

The Agents pane of Settings with a profile that starts Claude Code with the Opus model in plan mode.

Agent Profiles

Launch presets: agent, model, effort, mode, placement, arguments, and environment.

The Hand Off panel with a list of agent profiles and Codex Reviewer selected.

Workflows Beta

Hand a task to another agent with a briefing, or chain agents into loops such as author and reviewer.

Two Codans notifications in the macOS Notification Center: Claude waits for input, and a task is complete. Then the sidebar with the Unread filter on: six worktrees with a bell.

Notifications

A bell marks the worktree where an agent asked or finished. A macOS banner takes you to the pane.

The quit dialog: six panes are busy, with the choices Keep session running, Snapshot and exit, and Cancel.

Sessions outlive the window

Quit Codans and the agents keep working. The next launch brings every terminal back.

A terminal that runs codans agent status, then a Codex prompt that asks it to use the codans skill to open a worktree and start an agent.

CLI and Agent Skill

Everything in the window is a codans command. Agents use it to create worktrees, start other agents, and read their output.

Work in many worktrees at the same time.

Give each task its own worktree and let them all move at once. The sidebar shows the state of every one.

The sidebar with five projects and twelve worktrees; most worktrees show a diff size and a pull request number.
  • One task, one worktree

    Each worktree has its own directory, branch, tabs, and panes. Agents never edit the same checkout.

  • State in the sidebar

    Diff size, pull request, running commands, and unread bells for every worktree. You see what moved without opening it.

  • Switch without losing your place

    Tabs and split layouts stay as you left them, across restarts.

  • Built for many terminals

    Deeply optimized for many terminals that work in parallel: memory stays low and the app stays fast. Terminals that you have not opened stay asleep.

The pull request, from open to merged.

Codans reads pull requests through the gh and glab CLIs that you are already logged in to. It sends no HTTP request of its own and stores no token.

GitHub

Through gh, on github.com.

  • Pull Request badges
  • Check status
  • Create merge commit
  • Squash and merge
  • Rebase and merge
  • Mark ready for review
  • Rerun failed checks
  • Review status

GitLab

Through glab, on gitlab.com or self-managed.

  • Merge Request badges
  • Pipeline status
  • Merge
  • Squash and merge
  • Rebase and mergeThe project's merge method applies
  • Mark ready
  • Retry failed pipeline jobs
  • Review status

Work across repositories and machines.

A workspace groups several repositories under one branch name. A remote project runs on another machine over SSH. Filters keep the sidebar short.

The Codans window with the Remote filter on: a project on a host named Mac mini.

Remote projects

Work on a project on another machine as if it were local. Its terminals run over a persistent SSH session, so they survive a dropped connection.

The Codans window with the Workspace filter on: a workspace with a default group and a release group.

Workspaces

Put several projects in one space and work on them like a monorepo: one branch name and one checkout in each project, so one agent can change all of them.

The Codans window with the PR filter on: six worktrees with a pull request.

Pull requests

Only the worktrees that have a pull request, each with its number and diff size.

The Codans window with the Unread filter on: six worktrees with a bell.

Unread notifications

Only the worktrees where an agent asked or finished and you have not looked yet.

Themes

Every Ghostty theme is built in, 463 of them. Choose one for light and one for dark; the window follows the system and takes its colors from the terminal.

  • Dracula theme in the Codans window

    Dracula

  • GitHub Dark Default theme in the Codans window

    GitHub Dark Default

  • Catppuccin Mocha theme in the Codans window

    Catppuccin Mocha

  • Catppuccin Latte theme in the Codans window

    Catppuccin Latte

  • Monokai Pro theme in the Codans window

    Monokai Pro

  • Night Owl theme in the Codans window

    Night Owl

  • TokyoNight Storm theme in the Codans window

    TokyoNight Storm

  • GitHub Light Default theme in the Codans window

    GitHub Light Default

  • Solarized Dark Patched theme in the Codans window

    Solarized Dark Patched

  • Gruvbox Dark theme in the Codans window

    Gruvbox Dark

  • Kanagawa Wave theme in the Codans window

    Kanagawa Wave

  • Gruvbox Light theme in the Codans window

    Gruvbox Light

  • Nord theme in the Codans window

    Nord

  • Atom One Dark theme in the Codans window

    Atom One Dark

  • Rose Pine theme in the Codans window

    Rose Pine

  • Rose Pine Dawn theme in the Codans window

    Rose Pine Dawn

  • Everforest Dark Hard theme in the Codans window

    Everforest Dark Hard

  • Ayu Mirage theme in the Codans window

    Ayu Mirage

Quick actions

The actions you use all day are one key or one click away.

The command palette with the query agent and a list of Launch Agent actions.
The Run menu with four project commands and the scripts found in package.json.
The Shortcuts pane of Settings with a table of actions and key combinations.
The Open in menu with a list of editors, terminals, and git clients.

Start with the project you have open.

brew install --cask wanggang316/tap/codans

Free and open source. macOS 14 or later, Apple Silicon.