Skip to main content

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

Project description

akritrim-colab

akritrim-colab is a Textual-based collaboration TUI for running a User / Codex / Claude workflow inside any repository.

Requires Claude CLI and Codex CLI to be installed and authenticated before use.

Install

cd akritrim-colab
pipx install .

or

cd akritrim-colab
uv tool install .

Use In Any Repo

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

Default behavior:

  • if collaboration files are missing, scaffold them into .collab/
  • then launch the TUI

Explicit commands are still available:

akritrim-colab init
akritrim-colab run

Useful run options:

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

How To Use The TUI

When the TUI starts:

  • the left pane is the shared session chat
  • the upper-right pane is Claude
  • the lower-right pane is Codex
  • the bottom box is the Master input

Input behavior:

  • Enter sends the current Master message
  • Ctrl+Enter inserts a newline

Master can route a message directly:

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

The built-in work commands are:

/fix <bug>
/audit <target>
/feature <description>
/refactor <target>
/analyze <question>
/decide <text>

Other useful commands:

/approve
/deny
/compare
/status
/save
/exit
/theme <name>

What the built-in commands do:

  • /fix runs a bug-fix flow
  • /audit runs an independent review/comparison flow
  • /feature drives design then implementation
  • /refactor maps call sites and verifies the refactor
  • /analyze compares Codex and Claude positions
  • /decide writes a decision to collaboration memory

Approval flow:

  • if an agent needs Master input, the app pauses and surfaces the request
  • reply with /approve or /deny

Diff viewer:

  • after each agent turn, ▶ [DIFF] <file> links appear inline in that agent's pane for every file the agent changed during that turn
  • only files that actually changed in the turn are shown — not all uncommitted changes
  • each diff link is permanently bound to the exact patch from its own turn — even if the same file is edited again later, the old link still opens the old diff
  • click a diff link to open a full-screen overlay with the complete patch, color-coded (+ green, - red, @@ cyan)
  • click ⎘ Copy in the overlay to copy the raw diff text to the clipboard
  • click X to close the overlay
  • diff links accumulate in the scrollback, so you can review any previous turn's changes

Themes:

/theme akritrim    # default
/theme nord
/theme dracula
/theme solarized

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

Legacy layout support:

akritrim-colab --legacy
akritrim-colab run --legacy

Publish To PyPI

cd akritrim-colab
python -m build
python -m twine upload dist/*

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.7.tar.gz (36.8 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.7-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: akritrim_colab-0.1.7.tar.gz
  • Upload date:
  • Size: 36.8 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.7.tar.gz
Algorithm Hash digest
SHA256 daf233442aab0ff94ea992016a20b77927933a3998fa86bfa8ac50f6573573b8
MD5 91b14b37602f9536320f39ac4eb06f40
BLAKE2b-256 3ecc065d362bc43c82c2c72f9892423a12b12dc97712b0e8aa64390ebafc84d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: akritrim_colab-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for akritrim_colab-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 aebe1459410e5059e8181227d4023d426f1a6176d984cd8ed5e8b5784bb753be
MD5 addaa52d7e8655128d80cb1736330079
BLAKE2b-256 99b3aed0f07fba789c902a1ae8a4a1460295d5fb9e81b0800531c51723d32045

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