Skip to main content

Three-party AI collaboration TUI for Codex, Claude, and the user

Project description

akritrim-colab

A three-pane collaboration TUI that puts you between Claude and Codex inside any repository. You direct, they implement and review.

Requires Claude CLI and Codex CLI installed and authenticated.

Install

pip install akritrim-colab

Or, for an isolated CLI install:

pipx install akritrim-colab

Quick Start

cd /path/to/your-repo
akritrim-colab

On first run, collaboration files are scaffolded into .collab/. Then the TUI launches.

Layout

Pane Contents
Left Shared session chat
Upper right Claude
Lower right Codex
Bottom Master input

Panes are resizable — drag the dividers between them.

Input

Key Action
Enter Send message
Ctrl+Enter Insert newline
Tab Accept autocomplete suggestion
/ Browse command history or navigate autocomplete
Escape Cancel active agent work
Ctrl+C Quit

Type / to open the command autocomplete palette.

Routing

Direct a message to a specific agent:

@claude propose a UI improvement
@codex review the current changes
@both compare these two approaches

Or use /ask for one-off direct messages:

/ask claude explain this function
/ask codex run the tests
/ask both what are the risks here

Work Flows

Structured multi-agent flows that coordinate Claude and Codex automatically:

/fix <bug>           isolate → patch → review
/audit <target>      independent dual review + comparison
/feature <desc>      design → implement
/refactor <target>   map call sites → refactor → verify
/analyze <question>  dual analysis + position comparison
/decide <text>       log a decision to collaboration memory

Session Commands

/fresh                   start a new session (clears history)
/resume                  resume from last saved state
/status                  show current session state
/save                    persist session state to disk
/exit                    exit the TUI

Agent Control

/approve                 approve a pending agent request
/deny                    deny a pending agent request
/compare                 run a manual comparison round between agents
/mode <value>            broadcast a mode change to both agents
/role <target> <role>    reassign agent roles at runtime

Role targets: claude, codex, both. Role values: implementer, reviewer, collaborator.

Example:

/role codex implementer
/role both reviewer

Collaboration Memory

/decision D-XXX | Title | Decision | Rationale    log a structured decision
/topic T-XXX | Title | Codex pos | Claude pos      open a scratchpad topic
/resolve-topic T-XXX | D-XXX                       mark a topic resolved

Export

/export claude session_claude.txt     export Claude pane to file
/export codex session_codex.txt       export Codex pane to file
/export master session_chat.txt       export the shared chat to file

Diff Viewer

After each agent turn, ▶ [DIFF] <file> links appear inline for every file the agent changed. Each link is permanently bound to the exact patch from that turn — later edits to the same file do not overwrite earlier history.

  • Click a link to open a full-screen diff overlay (color-coded: + green, - red, @@ cyan)
  • Click ⎘ Copy to copy the raw diff to the clipboard
  • Click X to close

Themes

/theme akritrim    (default)
/theme nord
/theme dracula
/theme solarized

The active theme is saved to settings.toml and restored on next launch.

Run Options

akritrim-colab run --codex-role reviewer --claude-role implementer
akritrim-colab run --claude-model claude-opus-4-5
akritrim-colab run --debug-log .collab/session/tui_debug.log

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akritrim_colab-0.1.12.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

akritrim_colab-0.1.12-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file akritrim_colab-0.1.12.tar.gz.

File metadata

  • Download URL: akritrim_colab-0.1.12.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for akritrim_colab-0.1.12.tar.gz
Algorithm Hash digest
SHA256 984621a37e67cc1dd99eb4fcd69ae3e2dcafdb53e9e7d5cdb0af169bff2db52a
MD5 e54916e0966264492c1492ec5a2e9fdd
BLAKE2b-256 2c170001834b331328241f3508baffd29dabfd09b75be00319ab719e222a5eb5

See more details on using hashes here.

File details

Details for the file akritrim_colab-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for akritrim_colab-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 32978a29f84084316a4953a36821dab6bf800ffdd73da596bafcf61cfa6ea98a
MD5 736f53a6889e9b576ed10e299c02f254
BLAKE2b-256 2c07a6b369e9f70aaf9470ff5452bc74242087d08f539b61125bc4c59ae2e8b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page