Skip to main content

AI-augmented pair programming framework with 200+ CLI commands for planning, orchestration, Trello/GitHub integration, and autonomous workflows

Project description

bpsai-pair

AI-augmented pair programming framework with 200+ CLI commands

PyPI version Python 3.10+ License

Overview

bpsai-pair (PairCoder) is a comprehensive AI pair programming framework that provides structured workflows, enforcement gates, and integrations to ensure AI agents follow proper development practices.

  • Planning & Task Management — Sprint planning, task lifecycle, Trello sync, and budget tracking
  • Skill-Based Workflows — 9 built-in skills for TDD, code review, releases, architecture, and more
  • Integration Hub — Trello, GitHub, MCP servers, and Toggl time tracking
  • Architecture Enforcement — File size limits, function boundaries, import caps, and auto-split suggestions
  • Telemetry & Feedback — Session telemetry, self-calibrating estimation, anomaly detection
  • Workspace Orchestration — Multi-project workspaces, cross-repo contract detection, impact analysis
  • Intelligence Pipeline — Usage snapshots, value extraction scoring, tamper detection
  • Interactive Setup Wizard — Web-based project configuration with AI-guided setup
  • Licensing & Security — Tiered feature gating, secret scanning, containment mode
  • Quality Control — Browser-based QC with spec format, execution runtime, and gate enforcement
  • Containment Mode — Tiered file access control via PreToolUse hooks
  • Autonomous Sprint Executionbpsai-pair engage runs full sprints: branch, tasks, PR, review, observations
  • Machine Interface--json envelope on all commands for programmatic consumption
  • Health Checkbpsai-pair doctor validates setup with 9 checks and auto-repair
  • Slash Commands/make-it-so (intent to PR), /draft-backlog (engage-compatible backlogs)

Installation

# Core installation
pip install bpsai-pair

# With integrations
pip install bpsai-pair[trello]      # Trello board sync
pip install bpsai-pair[github]      # GitHub PR management
pip install bpsai-pair[mcp]         # MCP server support
pip install bpsai-pair[all]         # All extras

Quick Start

# Initialize a new project
bpsai-pair init

# Or use the interactive wizard
bpsai-pair wizard

# Check project status
bpsai-pair status

# Create a sprint plan
bpsai-pair plan new my-feature --type feature

# Start a task (with Trello sync)
bpsai-pair ttask start TRELLO-123

# Run architecture checks
bpsai-pair arch check

# Pack context for AI assistants
bpsai-pair pack

Key Command Groups

Group Commands Description
plan 8 Sprint planning, task creation, Trello sync
task 12 Task lifecycle, status updates, archival
trello / ttask 27 Trello board management, card workflows
github 8 PR creation, merge, auto-archive
skill 8 Workflow skills, export to Cursor/Windsurf
license 10 License management, feature gating
telemetry 3 Session telemetry, privacy config, export
feedback 4 Calibration, accuracy, task-type estimates
workspace 5 Multi-project orchestration, impact analysis
arch 2 Architecture enforcement, split suggestions
budget 3 Token budget tracking, task cost estimates
security 4 Secret scanning, containment mode
qc 6 Quality check specs, execution, reporting
query 3 Cross-agent state and telemetry queries
engage 1 Autonomous sprint execution from backlog
fleet 1 Workspace version compliance checking
release 2 Pre-release validation, version file checking
containment 2 File access enforcement and status

License Tiers

Feature Solo Pro Enterprise
Planning & tasks Y Y Y
Skills & enforcement Y Y Y
Setup wizard Y Y Y
Telemetry & feedback Y Y Y
Trello integration Y Y
GitHub integration Y Y
MCP servers Y Y
Token budget & cost tracking Y Y
Workspace orchestration Y Y
Remote access & SSO Y

Check your license: bpsai-pair license status

What's New

v2.21.5 -- Branch Enforcement + Intent Merge Strategy

  • Branch enforcement: source code on main/dev is blocked, docs/state allowed through
  • Intent-driven merge strategy: squash vs merge based on work intent and branch pattern
  • PR labels (merge:squash, merge:merge) carry strategy to merge time
  • Auto-upgrade stages .paircoder/ files to prevent dirty tree in engage
  • Stale containment stash cleanup in engage pre-flight
  • 12,500+ tests passing

v2.21.4 -- Review Command + Targeted Tests + Engage Fixes

  • bpsai-pair review pr/branch/task: Python-enforced review dispatch with agent scaling
  • Intent sub-classification routes review requests to the right variant
  • Engage tasks run targeted tests (seconds) instead of full suite (minutes)
  • Engage executor no longer crashes on lifecycle hook failures
  • Engage commits exclude .paircoder/ bookkeeping files (no more merge conflicts)
  • Agent mythology display names in review dispatch and output
  • Error-as-approval bug fixed: failed reviews no longer pass as approvals
  • 12,500+ tests passing

v2.21.3 -- Release Hardening + Engage Review Loop

  • Version downgrade protection: CLI no longer overwrites config with older versions
  • bpsai-pair release validate-versions: pre-tag gate with --fix auto-repair
  • bpsai-pair fleet check: workspace version compliance with --upgrade and --json
  • Per-task review loop in autonomous sprints with automatic correction
  • Pre-PR security gate blocks pull requests with critical findings
  • Agent upgrade preserves custom fields (memory, maxTurns, display names)
  • support open shows actual error details instead of generic messages
  • 12,500+ tests passing

v2.21.1 -- Remote Session Enforcement

  • SessionStart hook auto-installs PairCoder in remote sessions
  • API error surfacing across all license, support, and subscription commands

v2.21.0 -- Enforcement + Observability

  • Intent recognition and approval gate for autonomous dispatch
  • Operational signals: uncommitted code, abandoned sessions, gate blocks
  • Protected branch guard: engage refuses to run on main/dev

v2.20.0 -- Engage Pipeline

  • bpsai-pair engage runs full sprints autonomously (branch, tasks, PR, review)
  • /make-it-so command: intent to shipped PR in one command
  • bpsai-pair doctor with 9 health checks and --fix auto-repair

Documentation

Requirements

  • Python 3.10 or higher
  • Git (for project management features)

Support

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

bpsai_pair-2.21.5.tar.gz (955.6 kB view details)

Uploaded Source

Built Distribution

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

bpsai_pair-2.21.5-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file bpsai_pair-2.21.5.tar.gz.

File metadata

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

File hashes

Hashes for bpsai_pair-2.21.5.tar.gz
Algorithm Hash digest
SHA256 82d6dc62d33d86b3c428c51495ee957b2ebd13a0024252dca4ee6a41b98d8a4d
MD5 56b91277d9440b6878f65c42d580fd67
BLAKE2b-256 f7e4cbc1c3f1f1bda83f0cf4c85304505f5aec75bc1c5bde6119f7f75c0765fd

See more details on using hashes here.

File details

Details for the file bpsai_pair-2.21.5-py3-none-any.whl.

File metadata

  • Download URL: bpsai_pair-2.21.5-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for bpsai_pair-2.21.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e73bc8c376481b493fba91addf55247bdc8d191358674a8f06688e955ed33bbd
MD5 91e871bff2295ffc8e5d22d800c6e807
BLAKE2b-256 7d0c27bdb6922bfb82a7ffb5b16b6ec0ef0a93d43718a7a8836ef0c454bdc88a

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