AGENTS.mdA

AGENTS.md from bubbuild/bub is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add bubbuild/bub/AGENTS.md@git:20261020.52d2fea

Pins git:20261020.52d2fea in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
bubbuild/bub
Path
AGENTS.md
Versions recorded
9
Latest version
git:20261020.1a583b5, committed Oct 20, 2026
First version recorded
Mar 14, 2026
Size
4,542 bytes
Repository stars
1,688
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Repository Guidelines

## Project Structure & Module Organization

Core code lives under `src/`:

- `src/bub/__main__.py`: Typer CLI entrypoint; `main` (the `bub` script) checks the `app` extra before importing the CLI.
- `src/bub/core/`: agent kernel with no settings or plugin dependencies: agent loop over a tape store (`agent.py`), model protocol and Republic chat model adapter (`model.py`), agent events and their bus (`events.py`), the tape recorder handler (`recorder.py`), system prompt sections (`system_prompt.py`), command prompts (`commands.py`), tools, tape, store, tape context, and code mode (`codemode/`: `CodeMode`, the `run_code` subprocess runner, and the `republic` bridge).
- `src/bub/framework.py`: turn orchestration and outbound routing.
- `src/bub/hooks/`: hook specifications, execution helpers, and interception contracts.
- `src/bub/channels/`: channel bases, routing contracts, admission policy, and lifecycle manager.
- `src/bub/{envelope,turn,streaming,errors,model_selection}.py`: small kernel vocabulary owned by each concern.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bubbuild/bub/AGENTS.md@sha256:4207f4d655cfeeb4

The line at the top of this page pins the label git:20261020.52d2fea, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_a3amnmytrk2bp5vk.svg)](https://markdownregistry.com/a/art_a3amnmytrk2bp5vk)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Mar 14, 2026 and Oct 20, 2026, about one every 27 days.

versioncommittedcommitsizeaudit
git:20261020.1a583b5 latest2026-10-20 1a583b5 4,542 BA view · diff
git:20261020.3a78b912026-10-20 3a78b91 4,749 BA view · diff
git:20261020.52d2fea2026-10-20 52d2fea 4,640 BA view · diff
git:20261020.67407e12026-10-20 67407e1 3,982 BA view · diff
git:20260717.2dd63a02026-07-17 2dd63a0 3,500 BA view · diff
git:20260422.408ac0c2026-04-22 408ac0c 3,294 BA view · diff
git:20260419.87ee3002026-04-19 87ee300 3,064 BA view · diff
git:20260419.8a68e7a2026-04-19 8a68e7a 3,123 BA view · diff
git:20260314.10c59372026-03-14 10c5937 3,014 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4542 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bubbuild/bub · 1,688 stars · license Apache-2.0 · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_a3amnmytrk2bp5vk
GET https://markdownregistry.com/api/v1/resolve?ref=bubbuild/bub/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/4207f4d655cfeeb4073c2ccf041a34d2d6a380c95172a98d40bbdaa1110065fc

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from bubbuild/bub

gh SKILL.md skill
bubbuild/bub · src/skills/gh/SKILL.md · GitHub CLI skill for interacting with GitHub via the gh command line tool. Use when Bub needs to (1) Create, view, or…
git:20261001.833f494 · audit A · 1,688 stars
skill-creator SKILL.md skill
bubbuild/bub · src/skills/skill-creator/SKILL.md · Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an…
git:20260428.eddc5eb · audit A · 1,688 stars
telegram SKILL.md skill
bubbuild/bub · src/skills/telegram/SKILL.md · Telegram Bot skill for sending and editing Telegram messages via Bot API. Use when Bub needs to: (1) Send a message to…
git:20260612.1616344 · audit A · 1,688 stars
AGENTS.md@website AGENTS.md file
bubbuild/bub · website/AGENTS.md
git:20261018.e37b057 · audit A · 1,688 stars
CLAUDE.md@website CLAUDE.md file
bubbuild/bub · website/CLAUDE.md
git:20260419.1f866c4 · audit A · 1,688 stars

Every file in bubbuild/bub

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261015.0e1f0bf · audit A · 352,890 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 302,424 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261011.412347a · audit A · 284,510 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 193,096 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 170,980 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261011.5d64745 · audit A · 136,966 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 129,649 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars

Browse by kind, by grade A, or by owner.