Skip to main content

A deterministic supervisor that runs Claude Code and Codex CLI through a Plan -> Implement -> Review -> Test workflow

Project description

codemate

codemate is a sequential AI development team runner.

It does not replace Codex CLI or Claude Code. It supervises them:

Plan -> Implement -> Review -> Test

The CLI owns sequencing, git state, run artifacts, local test execution, and policy checks. Agent CLIs only receive one bounded role at a time.

Install

The PyPI distribution is codemate-team; it installs a codemate command.

As a global CLI tool (recommended):

uv tool install codemate-team
# or: pipx install codemate-team
codemate --help

Run once without installing:

uvx --from codemate-team codemate --help

For local development from a checkout:

uv run --with-editable . codemate --help

Quick Start

Initialize a repo:

codemate init

Review and edit team.yml, then check local prerequisites:

codemate doctor

Start an interactive session (run codemate with no arguments):

codemate
codemate · interactive session
repo: my-project   flow: plan_implement_review_test
type a task and press enter · /help for commands · /exit to quit

codemate› Fix the flaky checkout test
● plan  (claude · read_only)
  │ ...streamed agent output...
● implement  (codex · write)
  ✓ implement · 2 file(s) touched
● review  (claude · review_only)
  ✓ review: pass
● test  (command group: test)
  ✓ tests passed
  ✓ DONE · 2 file(s) changed

Inside the session you type tasks to run them, and use slash commands to inspect and manage the result:

/status            show the latest run status
/diff              show the current git diff
/logs [step]       show logs for the latest run
/accept            keep changes (or: /accept commit "message")
/reset             revert files changed by the latest run
/flow [name]       show or switch the active flow
/help              list all commands
/exit              quit

For scripts and CI, run a single task non-interactively:

codemate run "Fix the flaky checkout test"
codemate status
codemate logs --step implement
codemate diff
codemate accept --commit --message "Fix flaky checkout test"
codemate reset

Generated Project Files

codemate init creates:

team.yml
.team/
  prompts/
  schemas/
  runs/
docs/
  team.md

.team/runs/ and .team/lock.json are ignored so run artifacts do not pollute normal source control status.

Safety Model

  • The default config requires a clean worktree before a run starts.
  • A run uses a branch under ai/team/<run-id>.
  • Agent writes are checked against policies.allow_paths and policies.deny_paths.
  • Local command output is recorded by the CLI.
  • Agent claims about tests are ignored; configured commands are the authority.
  • Fix loops are bounded by limits.max_fix_retries.
  • The CLI never pushes or merges by default.

Documentation

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

codemate_team-0.2.0.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

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

codemate_team-0.2.0-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file codemate_team-0.2.0.tar.gz.

File metadata

  • Download URL: codemate_team-0.2.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for codemate_team-0.2.0.tar.gz
Algorithm Hash digest
SHA256 97ef9d7f8129fc8ba41d7ca141ebd2b911dc7c0178817d83c07a12038cef09ea
MD5 6d2ec3b52ea765b591939cc3b90bad2c
BLAKE2b-256 e386c84d8e6a45b0e86c5f8c191abac88511ac08ed03391edfccfb308cadbf16

See more details on using hashes here.

File details

Details for the file codemate_team-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: codemate_team-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for codemate_team-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40af86e4819a53f338df191e9d4bbe57f8563187d1ad2ded3e342a966bf77e08
MD5 a710cfd0fea2decce998f5a0f707a8d8
BLAKE2b-256 d2bbd688c829e933384c1172a57dadf27b0a50b81990fd88101e91d6c2d77238

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