Skip to main content

CoDev mark

CoDev

Human-guided AI software delivery.

Active Feature Development AI-driven CI PyPI version Python versions License Latest release GitHub stars GitHub issues

CoDev installs a small, production-minded collaboration system into any Git repository. It helps a developer and AI move through four understandable steps: Understand, Build, Review, and Ship. It supports bounded three-agent execution without turning product development into an unattended coding loop.

Why CoDev

  • One workflow for solo developers and multi-developer teams.
  • Repository-grounded plans instead of invented APIs or architecture.
  • A bounded builder and an independent, read-only reviewer.
  • Human authority over material decisions, merge, deployment, and rollout.
  • Versioned, conflict-aware installation across existing repositories.
  • No runtime dependency in the software being built.

Quick start

CoDev is a Python 3.11+ command-line tool. Target repositories may use any language or build system. Install it with an isolated tool manager; pipx and uv tool are the two supported, primary installation methods. Neither adds CoDev or its dependencies to a target repository.

Install from PyPI

pipx install open-codev-workflow
# or
uv tool install open-codev-workflow

Install from a wheel

For private, air-gapped, or pre-release distribution, install the supplied wheel directly instead of publishing it to a package index:

pipx install ./dist/open_codev_workflow-0.1.1-py3-none-any.whl
# or
uv tool install ./dist/open_codev_workflow-0.1.1-py3-none-any.whl

Store the wheel with its SHA-256 checksum in a controlled artifact location. The development workflow for building a wheel is documented below.

Initialize a repository

codev init --target ../my-project --agent-platform all
codev check --target ../my-project

To preview or apply a later bundle update:

codev diff --target ../my-project
codev update --target ../my-project
codev remove --target ../my-project --dry-run

init, diff, and update preflight the entire operation. A locally modified managed file becomes a visible conflict; CoDev never silently replaces it.

GitHub Pull Request reviews

The installed pr-review skill reviews an existing GitHub Pull Request and can prepare validated inline comments for the exact PR head. It uses the GitHub CLI credential store by default, so agents do not need to read or print a token.

Install and authenticate GitHub CLI on Windows

Install the official package from PowerShell with WinGet:

winget install --id GitHub.cli --source winget

Open a new Windows Terminal window after installation, then verify and sign in:

gh --version
gh auth login --web
gh auth status --active

Choose GitHub.com, the HTTPS protocol, and the browser login flow. gh stores the credential using the Windows credential store when available. See the official Windows installation guide and gh auth login documentation.

Run the PR publisher in dry-run mode first:

python .agents\skills\pr-review\scripts\publish_review.py `
  --repo OWNER/REPO `
  --pr 123 `
  --review review.json

The publisher automatically uses authenticated gh api when no GITHUB_TOKEN or GH_TOKEN is set. Use --auth gh to require that backend or --auth token for headless environments that provide a token variable. Add --publish only after explicitly authorizing a GitHub review, and use --submit comment only when it should be submitted immediately.

If a desktop agent does not inherit the Windows machine PATH, the publisher also checks the standard C:\\Program Files\\GitHub CLI\\gh.exe location. For a custom installation, set CODEV_GH_PATH to the full path of gh.exe.

To copy the already-authenticated gh credential into GH_TOKEN for the current PowerShell process and the CLI started from it, dot-source the bundled helper:

. .agents\\skills\\pr-review\\scripts\\set-github-token.ps1

The helper calls gh auth token without printing the result and does not persist it. The gh credential must be valid in the same process context. This is useful for a CLI that needs GH_TOKEN; launch that CLI from the shell where the helper has been dot-sourced. Do not put the token in a repository file or command-line argument.

One-line equivalent:

$g=Get-Command gh -ErrorAction SilentlyContinue;if($g){$p=$g.Source}else{$p='C:\\Program Files\\GitHub CLI\\gh.exe'};$env:GH_TOKEN=(& $p auth token --hostname github.com 2>$null).Trim()

Fetch the complete GitHub PR context before asking an agent to review it:

python .agents\\skills\\pr-review\\scripts\\publish_review.py `
  --repo OWNER/REPO `
  --pr 123 `
  --fetch `
  --output-dir .codev\\pr-review\\123

This writes PR metadata, the patch, changed files, commits, reviews, comments, and check runs. Use repeated --include metadata, --include diff, or other parts to fetch a smaller set.

The installed Junie project command is also available directly inside Junie:

/pr-review repo=OWNER/REPO pr=123

Project-specific Junie commands live under .junie/commands, so this command is versioned with the repository and appears in Junie’s / command list.

What gets installed

my-project/
├── AGENTS.md                         # a managed policy block; local text survives
├── .agents/skills/                   # lifecycle, PR, and specialist review skills
├── .agents/agents/                   # Antigravity subagents
├── .codex/agents/                     # Codex orchestrator, builder, reviewer
├── .opencode/agents/                 # orchestrator, builder, reviewer
├── .opencode/opencode.json           # safely merged; existing agent settings survive
├── .junie/agents/                    # Junie subagents
├── docs/                             # AI guidance and human delivery guide
├── evals/development-workflow/       # behavioral scenarios
├── scripts/                          # deterministic validators
└── .codev/lock.json                # installed version and source hashes

Use --agent-platform codex to omit the OpenCode, Junie, and Antigravity adapters. The Codex adapter installs TOML agents under .codex/agents/. Use --agent-platform opencode, --agent-platform junie, or --agent-platform antigravity to select one adapter, or use --agent-platform all for every supported platform. Core skills and human/AI workflow references are installed for every platform.

The human delivery guide is installed at docs/for-human/development-guide.md. The cookbook, prompt templates, and detailed handbooks are maintained as dedicated Wiki pages.

To add an adapter to an existing installation, pass it to update, for example codev update --agent-platform junie. Use diff --agent-platform junie to preview the platform expansion first.

The Antigravity adapter follows its official workspace location: .agents/agents/<name>.md.

The Codex adapter follows its official workspace location: .codex/agents/<name>.toml.

Design principles

  1. Local at use time. Agents read ordinary files in the target repository.
  2. Central at maintenance time. This repository is the canonical source.
  3. Human at authority boundaries. Automation supplies evidence, not approval.
  4. Small by default. Deeper design and delivery planning appear only when risk or coordination requires them.
  5. Safe to adopt. Existing instructions and OpenCode settings are preserved.

Read Architecture for the distribution model, Adoption for rollout guidance, and Brand for the visual and writing system.

Development

python -m unittest discover -s tests -v
python -m compileall -q src tests
python -m codev_workflow --version

Optional development checks:

ruff check .
ruff format --check .
mypy
python -m build

CoDev is licensed under BSD-3-Clause.

Download files

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

Source Distribution

open_codev_workflow-0.1.7.tar.gz (111.9 kB view details)

Uploaded Source

Built Distribution

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

open_codev_workflow-0.1.7-py3-none-any.whl (135.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_codev_workflow-0.1.7.tar.gz
  • Upload date:
  • Size: 111.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for open_codev_workflow-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ab48d3bef5ce77fdc5aa33b43077644ef7ceecfc2e61427a1f4c1cf75d44b1d0
MD5 967dc6c853581219e5e663dd5e0d16d6
BLAKE2b-256 7231a627fdc9772fa0980b7068c9491efa0a7d6dc193022e2dc92ee6a60855c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_codev_workflow-0.1.7.tar.gz:

Publisher: ci.yml on urban233/CoDev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for open_codev_workflow-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2eb6df5b46e4f17b191f47de984d464c2d77f7281c902669963fcbf4b8d67d1f
MD5 8dbc56e58a6a59b9708df2c9b250c23f
BLAKE2b-256 e07f16eef9670cb4fc71cb52e7c5e92a2e6af9634f678d6f686db69c893ca8cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_codev_workflow-0.1.7-py3-none-any.whl:

Publisher: ci.yml on urban233/CoDev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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