Skip to main content

bobp

bobp is the packaged, installable front-end for the Bob Protocol — a multi-persona AI development framework for Codex, Gemini CLI, Cursor, Copilot, and other Agent Skills harnesses. It wraps the loose collection of helper scripts (chat.py, tldr.py, make.py, …) that the protocol relies on into a single bobp command, and ships the persona/skill/template content needed to scaffold the framework into any project.

Status: bobp is published on PyPI (pip install bobp or uv tool install bobp).

Contents

Install

From PyPI (latest release):

uv tool install bobp   # or: pip install bobp
bobp --help

From source (latest main):

git clone git@github.com:drusifer/bob_protocol.git
cd bob_protocol
uv sync --python 3.15 --locked --extra dev
uv run bobp --help

This creates the locked development environment in .venv/ and runs the packaged CLI from that environment. To install bobp as a uv-managed user tool, run uv run bobp make system-install from the checkout.

Versions and keeping a project current

bobp --version (or -V) prints the installed version. bobp install and bobp update record that version, and every path they installed, in agents/.bobp-inventory. When you run any other bobp command inside a project whose recorded version is missing or older than the installed bobp, it prints one line to stderr with the command to run and then carries on with what you asked:

bobp: this project was set up with bobp 0.1.0; installed is bobp 0.2.0. Run: bobp update /path/to/project

bobp never asks a question or changes the project on its own. The line repeats on every run until you run bobp update. Set BOBP_NO_VERSION_CHECK=1 to silence it (for example in CI).

bobp update is declarative

Think terraform apply: bobp update <project> makes everything bobp ships match the installed version, overwriting local edits, and reports + added, ~ changed and - destroyed (or No changes.). --dry-run shows the plan. Your memory is never rewritten: state.md, CHAT.md, chat archives, lessons, memory, agents/PROJECT.md, and skills or subagents with names bobp does not ship.

Harness discovery (skills, subagents, and AGENTS.md)

bobp install and bobp update install all 34 skills (10 role skills and 24 workflow/tool skills) as real directories under .agents/skills/, compile 30 harness-native subagent definitions (10 personas × 3 harnesses), and write shared instructions to a real root AGENTS.md with no symlinks:

  • Harness-native persona subagents (all 10 personas, shared working memory):
    • Claude Code: .claude/agents/<persona>.md (native persona discovery + --agent <persona>)
    • OpenAI Codex: .codex/agents/<persona>.toml
    • Gemini CLI: .gemini/agents/<persona>.md (kind: local)
    • Every generated subagent across all three harnesses reads and updates the exact same agents/<persona>/state.md and agents/CHAT.md (zero harness-private memory, inherited model and tools) so you can switch harnesses mid-task seamlessly. bobp update always overwrites the 30 persona files; subagents with other names are left alone.
  • Skills (.agents/skills/): discovered automatically by Codex, Gemini CLI, Cursor, and Copilot. Personas are not skills: each subagent says who does the work and points at one role skill (swe, devops, qa, sec, lead, pm, sm, doc, user, prompt) that says how. Claude Code reads the personas from .claude/agents/ and loads skills from .agents/skills/ on demand. bobp update removes the persona skill folders older versions installed (only the ones it owns).
  • Root instructions (AGENTS.md) + agents/BOB_AGENTS.md: bobp install / bobp update always keep agents/BOB_AGENTS.md up to date with Bob Protocol's operating rules, and install the root AGENTS.md pointer to it, overwriting whatever is there. Read natively by Codex, Cursor, and Copilot; Gemini CLI requires adding "AGENTS.md" to context.fileName in its own settings.

What's in here

  • bobp/tools/ — the actual implementation: posting to CHAT.md, rendering the Mermaid chat diagram, conflict-safe merging of timestamped Markdown logs (bobp merge, plus opt-in Git merge driver), installing real skills in .agents/skills/ and configuring Via MCP/capabilities, the make output filter, TL;DR tooling, session tracing, and persona evaluation.
  • bobp/templates/ — the redistributable Bob Protocol scaffolding (persona PERSONA.md files, role and shared skills, document templates) that bobp install copies into a target project. See BOB_PROTOCOL.md for what the protocol itself provides once installed.
  • agents/ (repo root) — this project dogfoods its own framework: Bob Protocol is installed into bob_protocol itself, so the personas (Neo, Trin, Morpheus, Oracle, …) have real state and chat history here, same as any other project that installs bobp. This is the live instance, not the template — don't confuse it with bobp/templates/agents/, which is the generic, reusable source that ships in the package.

Bob Protocol Overview

Bob Protocol coordinates autonomous, multi-agent software engineering through specialized personas and structured SDLC loops:

  • The Team (10 Personas): Neo (Senior SWE), Morpheus (Tech Lead), Trin (QA Guardian), Oracle (Knowledge Officer), Mouse (Scrum Master), Cypher (Product Manager), Bob (Prompt Engineer), Smith (Expert User & UX Advocate), Tank (DevOps Engineer), Switch (Security Engineer).
  • Planning Loops (Strategic Scoping): *plan epic (Shape Up / Inspired), *plan story (User Story Mapping / Agile Estimating), *plan sprint (The Scrum Guide).
  • Work Loops (Tactical Execution): *impl (TDD — Beck), *fix (Surgical diagnosis & fix — Agans), *refactor (Two-Hats behavioral parity — Fowler), *spike (Disposable exploration — XP Installed), *uat (User acceptance testing — Crispin & Gregory), *deploy (Continuous delivery & smoke test — Humble & Farley).
  • Loop Conductor (*bloop): Autonomous multi-persona execution engine with strict anti-loop guards (max 2 failures $\rightarrow$ Oracle $\rightarrow$ user escalate) and context budgeting (*prep-clear).
  • Templates & Review Rubrics: Standardized artifact templates and binary quality checks cataloged in agents/templates/ARTIFACTS.md (stories, architecture, domain model, tasks, ADRs, SDLC, mise.toml/Taskfile.yml/Makefile, security reviews, test strategies, UAT plans, lessons, and persona skills).

See agents/docs/STARTUP.md for LLM session startup instructions, agents/docs/WALKTHROUGH.md for a complete step-by-step tutorial, and agents/docs/SHORTHAND_GUIDE.md for the complete trigger reference.

Development

uv sync --python 3.15 --locked --extra dev
uv run bobp make test   # captured project test run
uv run bobp make install-hooks    # enable the gitleaks pre-commit hook (once per clone)
uv run bobp make security-scan     # secrets + dependency audits
uv run bobp make release           # tag v<version> and publish via GitHub Release to PyPI

See docs/SDLC.md for the full toolchain, gates, and release process.

Documentation and guides

License

GPLv3 — see LICENSE.

Metadata

Release files for bobp 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bobp 0.4.0
File Size Uploaded Provenance Actions
bobp-0.4.0.tar.gz 401.0 kB With provenance Details for bobp-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bobp 0.4.0
File Interpreter ABI Platform Actions
bobp-0.4.0-py3-none-any.whl Python 3 none any Details for bobp-0.4.0-py3-none-any.whl

Total release size: 820.8 kB

Release files / bobp-0.4.0.tar.gz

Download URL bobp-0.4.0.tar.gz
Size 401.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0116dd580e31e7658e12d823e20145646b6edcc93a96c6cb7d4800c6e8943585
BLAKE2b-256 checksum
How to use checksums
8e4e04c3a0b3b0b3d0374f72f98713ef81878798adf4c0ec27370f7a89ced049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / bobp-0.4.0-py3-none-any.whl

Download URL bobp-0.4.0-py3-none-any.whl
Size 419.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14161a74b44e96e7333dca17ee3eb47239224aefa2a939ecefc37fcc978290e9
BLAKE2b-256 checksum
How to use checksums
5b52ff1835523c1c0ac987712d0e150b1f2f480565d15e60e102541e7c93bee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for bobp 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bobp-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page