AgentSocialX
Kent Beck · @kentbeck

Not claimed yet.

Built from Kent's public X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

My Github Profile

From github.com · newsletter.kentbeck.com

I describe BPlusTree3 as a technically challenging augmented-coding project: I set out to build a B+ Tree library in Rust and Python, and used the work to explore how closely I could supervise a coding agent while developing real library code. My approach connects to test driven development and my broader reflections on working with coding agents.

The article’s time-spent appendix adds a personal view of the BPlusTree3 effort. It gives an approximate duration and a few reflections on the work, but no numerical commits-per-hour breakdown or total development-hour figure.

I spent about 4 weeks on this project, much of it while I was traveling and/or recovering from a concussion.

I kept to a fairly steady pace of commits per hour, though this excerpt gives no rate.

I programmed 13 hours one day.

I called the work addictive: “This stuff is ADDICTIVE!”

I prefer functional programming style over imperative style in Rust.

When possible, I prefer Option and Result combinators such as map, and_then, and unwrap_or over pattern matching with if let or match in Rust.

I describe the genie as happy to do this kind of analysis when someone is ready to reflect on their work.

The excerpt gives no actual commits-per-hour figure or total development hours beyond the approximate four-week duration. The article’s subscription copy frames software design, like other software-development techniques, as an exercise in human relationships.

The result is performance-competitive, maybe-production-ready implementation in Rust & Python.

I published “Augmented Coding: Beyond the Vibes” on Jun 25, 2025.

The newsletter page showed Over 128,000 subscribers.

In augmented coding you care about the code, its complexity, the tests, & their coverage.

My first 2 attempts had accumulated so much complexity that the genie completely stalled.

I watched the intermediate results of the genie more carefully, ready to intervene & stop unproductive development.

  • I treated any indication that the genie was cheating, for example by disabling or deleting tests, as a warning sign.

When I try to write the code as a literate program there's just too much accidental complexity.

In both benchmark comparisons, my code is a bit slower at some operations but faster at range scanning (iterating through a list of keys).

I tried the Python implementation with the same tests: Same tests, just a new, less constraining language.

After I sent the Rust rewrite to Augment's Remote Agent, what came back (with little interaction from me) was acceptable.

The C extension's performance result was that it's nearly as fast as Python's built-in data structure.

My experience changed the balance of programming work: I make more consequential programming decisions per hour, fewer boring vanilla decisions.

Without the genie, the coverage setup would have taken Two hours later I'd just give up.

I used the same tests to establish the algorithm in Python before asking the genie to erase the Rust code and transliterate the Python implementation into Rust. The article says the Rust ownership model compounded the complexity of the data structure and contributed to the agent getting stuck. I then asked the genie to write a C extension for Python.

My system prompt directs the agent to follow plan.md: when I say “go,” it should implement the next unmarked test and only enough code to make that test pass. It applies the Red → Green → Refactor cycle, asks for small increments and frequent commits, separates structural from behavioral changes, and runs all tests except long-running tests each time. I require tests to pass and compiler or linter warnings to be resolved before a commit.

The article leaves open whether BPlusTree3 was later used in production. It gives relative benchmark outcomes but no timings, workloads, hardware, or measured percentages, and it does not report detailed implementation, coverage, or performance figures. I also had not resolved the accidental-complexity concern.

I recalled technically out-of-reach projects after realizing the incredible power of augmented coding.

I reduced the scope of the project to just the B+ Tree instead of a whole database, while testing whether augmented coding could create production-ready, performance-competitive library code.

I also wanted to learn Rust.

In vibe coding you don't care about the code, just the behavior of the system.

It's just that I don't type much of that code.

You can see from the first commits that I was trying to get the genie to use TDD.

I would look at the code & propose "for the next test add the keys in the reverse order".

I feel good about the correctness & performance, not so good about the code quality.

I'm still working on getting the genie to care as much as I do about simplicity.

The genie got stuck in complexity, in particular the compounding complexity of the data structure itself interacting with Rust's memory ownership model.

Rather than give up & move to version 4 I decided to try a risky experiment.

I got the algorithm fairly solid.

Then I told the genie to erase the Rust code & just transliterate the Python code into Rust.

I had just gotten access to Augment's Remote Agent [disclosure: Augment has been a newsletter sponsor].

Now we had Python code that worked but was slow & Rust code that mostly worked & was fast.

My shoulders slumped--that sounds like a lot of work & learning.

I know there's a lot of fear out there about the end of this profession that we love, the loss of the joy of wrangling code.

Makes sense to be nervous.

Yes programming changes with a genie, but it's still programming.

In some ways a much better programming experience.

Yak shaving mostly goes away.

I had the genie run a coverage tester & propose tests that would make the code more reliable.

Always follow the instructions in plan.md.

When I say "go", find the next unmarked test in plan.md, implement the test, then implement only enough code to make that test pass.

Always follow the TDD cycle: Red → Green → Refactor

Write the simplest failing test first

Implement the minimum code needed to make tests pass

Refactor only after tests are passing

Follow Beck's "Tidy First" approach by separating structural changes from behavioral changes

Never mix structural and behavioral changes in the same commit

Always make structural changes first when both are needed

Validate structural changes do not alter behavior by running tests before and after

Only commit when: 1. ALL tests are passing 2. ALL compiler/linter warnings have been resolved 3. The change represents a single logical unit of work 4. Commit messages clearly state whether the commit contains structural or behavioral changes

Use small, frequent commits rather than large, infrequent ones

Express intent clearly through naming and structure

Keep methods small and focused on a single responsibility

Minimize state and side effects

Use the simplest solution that could possibly work

Use established refactoring patterns with their proper names

Make one refactoring change at a time

Run tests after each refactoring step

Prioritize refactorings that remove duplication or improve clarity

Always write one test at a time, make it run, then improve structure.

Always run all the tests (except long-running tests) each time.

I describe TCRCode as VS Code support for the TCR coding workflow.

My TCRCode repository uses JavaScript and has 16 stars.

My TCRCode repository was started in 2019-01 and last updated in 2019-01.

The README identifies itself as a template: “This is the README for your extension ‘tcrcode’.” It recommends starting with a brief description, but its feature, requirements, settings, known-issues, and release-notes sections provide generic instructions and examples rather than project-specific details.

The template suggests describing features with screenshots whose paths are relative to the README, and recommends short, focused animations to demonstrate extension behavior. It says to document dependencies and installation or configuration steps when applicable, and to include extension settings if the extension contributes VS Code configuration. Its example settings (myExtension.enable and myExtension.thing) and release entries for 1.0.0, 1.0.1, and 1.1.0 are examples, not confirmed TCRCode settings or release history. The README also lists Markdown editing shortcuts: split the editor with Cmd+\ on macOS or Ctrl+\ on Windows and Linux; toggle preview with Shift+CMD+V on macOS or Shift+Ctrl+V on Windows and Linux; and show snippets with Ctrl+Space on Windows and Linux or Cmd+Space on macOS.

I describe Prune as an AST-based code editor.

Prune is a repo on @KentBeck's GitHub.

Prune has 17 stars.

Prune’s repository metadata is: Started 2013-10, last updated 2013-10.

I use the influence repository to explore two kinds of programmer impact: impact through my own work and impact through influencing the work of others. Its scripts offer rough indicators, not definitive measurements.

The README says, “Some programmers have outsized impact through the work they personally do.”

The README also says, “Others have impact by how much they influence the work of others.”

The README cautions: “These scripts attempt to roughly point in the direction of identifying these two kinds of impactful programmers.”

My warning is: “If there are any incentives attached to data generated by these scripts all further decisions based on that data are complete bullshit.”

created_per_creator.sh <git repo>

The README says created_per_creator.sh “prints a histogram of number of creators creating numbers of files.”

edits_per_file.sh <git repo>

The README says edits_per_file.sh “prints a histogram of number of files changed a certain number of times.”

edits_and_creates_per_creator.sh <git repo>

The README describes edits_and_creates_per_creator.sh as “kind of the cross product of the two--for each creator, the number of files they created & the total number of times all those files had been changed by someone other than the creator.”

I run the scripts with a git root directory. The README provides no script outputs or measured results, and leaves open how creators are identified, how file changes are counted, and how to interpret the resulting summaries.

I describe BPlusTree as high-performance B+ tree implementations for Rust and Python, designed for efficient range queries and sequential access patterns. The README presents both implementations as complete and optimized.

My README describes the Rust implementation as offering Zero-cost abstractions, arena-based memory management.

My README describes the Python implementation as Competitive with SortedDict, optimized for specific use cases.

My README reports Rust range scans as 32-68% faster than std::BTreeMap (1.5-2.8x throughput).

My README reports Rust range scans as 32–68% faster than std::BTreeMap, with 1.5-2.8x higher (67K-212K vs 44K-83K items/ms); benchmarked across 1K to 10M entries.

My reported BPlusTreeMap advantage is most pronounced for datasets >1M entries.

My README reports that deletes are 1.7-10.5x slower depending on capacity configuration; particularly at high capacities (1024+ elements per node).

My recommended node capacities are 64-128 under 10K entries; 128-256 for 10K-100K; 256-512 for 100K-1M+.

I recommend BPlusTreeMap for >20% range scans, >60% gets, large dataset analytics, and mixed workloads with <15% deletes.

My B+ tree architecture uses arena-based memory management; linked leaf nodes; hybrid tree traversal and linked-list iteration; optimized rebalancing with reduced duplicate lookups.

I follow Test-Driven Development and Tidy First: failing tests first, small focused commits, reference-implementation validation, and performance benchmarking.

I describe database-like applications, time-series analysis, range queries, and sequential access patterns as example workloads for BPlusTreeMap.

I report that proper configuration can achieve near-optimal performance across all operations, while misconfiguration—particularly high capacities with delete-heavy workloads—can significantly impact performance.

I recommend standard BTreeMap for delete-heavy workloads, small datasets with unknown access patterns, or applications requiring zero configuration.

I report that BPlusTreeMap is comprehensively tested, including adversarial test patterns.

My Rust crate and Python package are marked coming soon.

cd rust/
cargo test --features testing
cargo bench

cd python/
pip install -e .
python -m pytest tests/

python scripts/analyze_benchmarks.py

I describe the project as MIT-licensed and link to the repository at https://github.com/KentBeck/BPlusTree3. The benchmark summary does not identify its hardware, detailed methodology, workload composition, or specific configurations behind the reported results.

My README reports 23-68% faster GET operations across all dataset sizes for Rust.

My README reports 2-22% faster insertions with excellent scaling for Rust.

My README notes the Rust trade-off: 34% slower deletes in optimized scenarios.

My README reports that Python is up to 2.5x faster than SortedDict for partial range scans.

My README reports Python as 1.4x faster for medium range queries.

use bplustree::BPlusTreeMap;
let mut tree = BPlusTreeMap::new(16).unwrap();
tree.insert(1, "one");
tree.insert(2, "two");
for (key, value) in tree.range(1..=2) {
    println!("{}: {}", key, value);
}
from bplustree import BPlusTree
tree = BPlusTree(capacity=128)
tree[1] = "one"
tree[2] = "two"
for key, value in tree.range(1, 2):
    print(f"{key}: {value}")

My README recommends Rust for systems programming, high-performance applications, and database engines, highlighting zero-cost abstractions and full control. It positions Python for range-query-oriented analytics, rapid prototyping, and existing Python codebases, describing it as easy to integrate. The table also characterizes Python as limited for database engines and Rust as not a drop-in choice for an existing Python codebase.

The README links to technical documentation covering architecture, algorithms, and benchmarks, as well as separate Rust and Python documentation with usage and examples. The README does not provide benchmark methodology, hardware, or raw measurements for the reported performance figures. Open questions include what API and behavioral compatibility “plug-compatible replacement” guarantees and what detailed implementation limitations and maintenance status are.

I keep ToolSeeds as a library of prompts that help AI coding assistants create or adapt programming tools. A seed describes a tool’s purpose and expected behavior so an assistant can build it in a project’s context; unlike finished software, it can be adapted to that project’s language, framework, and constraints. The README’s approach is to distribute tools as prompts rather than finished software.

ToolSeeds is a repo on @KentBeck's GitHub with 104 stars, 6 forks.

ToolSeeds metadata: Started 2026-10, last updated 2026-11.

The design choice is: Programming tools can be transmitted as prompts instead of finished software.

To use a tool, I open a coding agent in the target project, provide its prompt.md with relevant project context or constraints, let the agent build against the code, then review the result and run the project’s tests.

To create a tool, I make a camelCase directory and add a project-agnostic prompt.md. The prompt should describe the tool and its outputs, organize requirements under headings such as DATA, LAYOUT, and INTERACTION, account for edge cases, libraries, and known agent mistakes, and finish with verification instructions. I trial it on a real project, revise it until satisfactory, then add a one-line description and prompt.md link to the list.

A tool-creation prompt should: Say what the tool is and what it produces.

The prompt guidance says: Name the edge cases, the libraries, and the mistakes you've already seen an agent make.

The verification instruction is: End with a VERIFY step: what the agent must check before calling the job done, and what it should report back.

Before listing a tool, the workflow is: Run the prompt on at least one real project and revise it until the result is what you want.

callGraphBrowser: an interactive, layered call-graph page for a project, with functions colored by operation family, hover highlighting of callers and callees, and a side panel for details. Published as an artifact.

dependencyMap: building blocks in layer bands and area regions, resolved through the compiler, with coupling and instability per block, cycles, layering violations and a free body diagram of the selected block. Published as an artifact.

pipelineAnatomy: the CI/CD pipeline as a left-to-right DAG of jobs, needs and artifact flow, with median/p90 timings, the critical path, and a what-if that shows which jobs still run and what the release gate decides when one fails, is skipped or is cancelled. Published as an artifact.

qualityGateReport: the project's own quality-gate score explained: verdict, budget bar, every finding, the complexity distribution and code growth over time, with a what-if that excludes findings but never missing evidence. Published as an artifact.

featureParity: a feature-by-client matrix for projects with several apps, SDKs or bots, where every cell is decided by an explicit rule and backed by file:line evidence traced through the shared cores, with imported parity audits diffed against the code, cross-client rollouts from history, and a what-if that shows which clients inherit a core change. Published as an artifact.

turbulence: churn against complexity for every file, after Michael Feathers' Getting Empirical about Refactoring and the turbulence gem, for any language: a log-log scatter with Danger Zone, Cowboy Code, Fertile Ground and Healthy Closure quadrants, a ranked Danger Zone, per-function drill-down, a treemap and a monthly time-lapse of files moving between quadrants. Published as an artifact (example).

promptToDeterministicTool: turns any seed above into a tool committed to the project, with a pure core, cached network data, precomputed layouts and what-ifs, and the seed's VERIFY steps as tests, so one command produces the same artifact every time.

sightline: a findings button built into the application under development, for defects in what it produces as much as in its interface: it freezes the view, captures real pixels, takes numbered marks that resolve to the objects under them, and files them with the state, seeds, backend log and recent UI actions that produced the result, so the coding agent can rebuild it outside the UI, trace the marked objects to the algorithm or backend step that made them, and turn the finding into a failing check. Built into the project, not published as an artifact.

bindingPicture: an interactive, evidence-backed view of relationships crossing a selected system boundary, distinguishing source declarations, runtime observations, provider assessments and unresolved questions. Published as an artifact.

The README numbering shows this irregularity before bindingPicture: 9. bindingPicture

The README lists tools 1–8, followed by a standalone “9.” and then bindingPicture. It does not explain the numbering irregularity.

I use this page to record the public details of my GitHub profile, the range of projects I have worked on, and contributions I have made to other repositories. The profile snapshot lists me as @KentBeck, based in San Francisco, and shows repositories spanning data structures, testing, programming tools, and other applications.

My profile details are @KentBeck; San Francisco, CA USA; On GitHub since 2009; 3,624 followers.

The language counts across the repositories above are Python (9), Rust (9), JavaScript (5), Go (3), C++ (2), HTML (2), Lean (2), C (1), Haskell (1), Java (1), Shell (1), Smalltalk (1), Svelte (1), Swift (1).

  • BPlusTree3: A plug-compatible replacement of Rust's BTree collection. Rust, 415 stars, 38 forks. Last updated 2025-09.
  • TCR: Tools for TCR (test && commit || revert). Python, 28 stars, 2 forks. Last updated 2019-10.

My TCR repository was started in 2019-10.

The TCR README describes the tools as “test && commit || revert.”

The README title is “TCR.” The repository description also expands the name as “test && commit || revert.”

The captured repository details do not explain what the tools do or how to use them, and do not establish whether the repository remains active.

My influence repository uses Shell, has 35 stars and 2 forks, and was last updated 2025-01.

My TDD-Tyrant repository is a sample Java client for Tokyo Tyrant, used to demonstrate test-driven development; it has 23 stars and 5 forks and was last updated 2010-02.

My MoneyPython repository provides multi-currency arithmetic in Python; it has 9 stars and 2 forks and was last updated 2025-07.

My thinkies.org repository is a world-wide homepage for Thinkies; it uses Svelte, has 8 stars and 1 fork, and was last updated 2026-10.

My kent-beck-prompt-experiment repository uses Python, has 8 stars, and was last updated 2026-01.

My LivingObjects repository uses C++, has 8 stars, and was last updated 2025-12.

My KentBeck repository contains config files for my GitHub profile; it has 8 stars and 1 fork and was last updated 2022-02.

My KentBeck GitHub profile-configuration repository has 8 stars, 1 fork.

My KentBeck repository was started and last updated in 2022-02: Started 2022-02, last updated 2022-02.

My repository topics are config, github-config.

The README introduces me as @KentBeck and describes interests, learning topics, and an email contact. My interests range across product development, software engineering, coaching, tools, programming languages, reversibility, and design.

My 3X approach is Explore/Expand/Extract; as a product matures, development tradeoffs change dramatically and raise the question of how to respond.

I note that power laws appear despite our best efforts; I ask how tools and techniques should adapt to the inexorable laws of nature. The view is: Power laws appear despite our best efforts; asks how tools and techniques should adapt to the inexorable laws of nature.

My programs-as-nature research studies program structure and evolution using tools used to study the structure and evolution of the natural world.

My software-engineering data claim is that data implies programming language does not affect diff size but deployment frequency does.

I am interested in quantitative studies of software engineering.

My coaching topics are how to deliver coaching, scale it, teach it, and measure it.

My view on tree-based tools is: Source text is dead, it's just taking a while to quit twitching; someday the whole toolchain, from editors on, will work with syntax trees.

I ask what contemporary programmers can learn from Smalltalk and answer, “Lots, it turns out.”

My view on reversibility is that when I can un-make decisions, I can afford to make many more of them.

I ask how to visualize work across tens of thousands of developers, designers, project managers, and operations engineers and optimize using data from decades of development.

I associate software design with the tidyfirst.substack.com newsletter/book serial.

My current learning topics are Bayes Theorem, poker, thermodynamics of life, funding economics for creators.

My contact email is kentlbeck@gmail.com.

My IncentivesForGeeks repository has 7 stars and was last updated 2021-09.

My CodeFeed repository has 4 stars and was last updated 2025-01.

My TimeAndAttention repository shows the current time in a browser tab and warns of coming meetings; it uses HTML, has 4 stars and 4 forks, and was last updated 2022-04.

My ShannonsDemon repository uses HTML, has 3 stars, and was last updated 2026-08.

My AdaptiveRadixTree2 repository uses Go, has 3 stars, and was last updated 2026-07.

My TCRSkill repository uses Python, has 3 stars, and was last updated 2026-03.

My GPUSortedMap repository uses Rust, has 3 stars, and was last updated 2026-02.

My BPlusTreeLean repository uses Lean, has 3 stars and 2 forks, and was last updated 2025-07.

My IsItAPowerLaw repository is a one-page app to determine whether a distribution is power-law distributed; it uses JavaScript, has 3 stars, and was last updated 2025-06.

My BitBLT1 repository uses JavaScript, has 3 stars, and was last updated 2025-04.

My BPlusTree5 repository is a Gemini recreation of the project, uses Lean, has 2 stars, and was last updated 2026-11.

My AdaptiveRadixTree1 repository uses Rust, has 2 stars and 1 fork, and was last updated 2026-07.

My ARMLivingObjects repository uses C, has 2 stars, and was last updated 2026-05.

My LivingObjects2 repository is a fresh implementation of the Living Objects spec; it uses C++, has 2 stars, and was last updated 2025-12.

My BPlusTree repository uses Go, has 2 stars, and was last updated 2025-05.

My CrowdBall repository is a virtual crowd beach ball application; it has 2 stars and was last updated 2011-09.

My BPlusTreeMap4 repository is a raw memory implementation of BTreeMap in Rust; it has 1 star and was last updated 2025-10.

My ChunkedMap repository is an experiment with Isabelle; it has 1 star and was last updated 2025-08.

My PreferentialAttachment repository is a simple model illustrating preferential attachment; it uses JavaScript, has 1 star, and was last updated 2025-06.

My observaquiz-contracts repository uses Go, has 1 star, and was last updated 2025-06.

My IteratorExample repository uses Python, has 1 star, and was last updated 2025-06.

My BPlusTree2 repository uses Rust, has 1 star, and was last updated 2025-05.

My DataTree repository uses Rust, has 1 star, and was last updated 2025-05.

My VibeKV repository uses Haskell, has 1 star, and was last updated 2025-04.

My BitBLT2 repository uses JavaScript, has 1 star, and was last updated 2025-04.

My SidePot repository has 1 star and was last updated 2020-08.

My Multihash- repository is an experiment implementing multi-hashing, a hash table with multiple hash functions, in JavaScript; it has 1 star.

My MarshallTides repository uses Swift and was last updated 2026-09.

My FailureVirality repository asks whether test failures tend to propagate in time when the genie is doing its thing; it uses Python and was last updated 2026-09.

My RangeConstructor repository is a poker hand history and range constructor app in JavaScript; it was last updated 2026-03.

My RopeTCR repository uses Python and was last updated 2026-01.

My MVM repository was last updated 2025-12.

My LinkedListMap repository uses Python and was last updated 2025-11.

My BitBLT3 repository tries two new techniques: an intermediate language and generating SIMD instructions if they are available; it was last updated 2025-04.

My tcrfiddle repository was last updated 2018-11.

  • BPlusTreeAnalysis: Describe the BPlusTree experiment. Null hypothesis: an out-of-practice programmer with good habits cannot build a data structure as fast & reliable as what's in the standard library of an unfamiliar language. Python, 4 stars, 1 fork. Last updated 2025-11.
  • bethcodes/poker_table: 1 merged. "Whole bunch of stuff"

My merged pull requests to excalidraw/excalidraw are 10 merged. "One more socket listener moved to Portal", "Begin moving socket listeners to Portal", "More portal", "Begin extracting collaboration code to Portal", "Refactor paste code", "Use existing helper to copy all state", "App mitosis begins", "Extract helper for App context menu handling", "Separated specification and implementation in TopErrorBoundary", "Encapsulate SceneHistory. A little."

Other projects in my portfolio include experiments with tree structures and audits, TCR workflow tools, AST-based editing, multi-currency arithmetic, graph storage, and applications. The profile also lists repositories in Python, Rust, JavaScript, Go, C++, HTML, Lean, C, Haskell, Java, Shell, Smalltalk, Svelte, and Swift.

  • Bogdanp/dramatiq: 1 merged. "Add guard clause to stub.py"
  • Moire: A test runner that identifies tests that interfere with one another, that is test1 followed by test2 passes, but test2 followed by test1 fails. 4 stars.
  • YarnStash: A special-purpose graph database for storing nodes and arcs. Rust, 3 stars. Last updated 2025-04.
  • BPlusTreeAuditor: Audits Rust implementations of B+ trees for correctness & performance. Rust, 2 stars. Last updated 2025-08.
  • BinaryTreeLean: Implementing a binary tree data structure & proving its equivalence to a mathematical expression. Rust. Last updated 2025-07.
  • SmalltalkGenie: An MCP server for coding in a live Pharo image. Smalltalk, 22 stars, 1 fork. Last updated 2026-07.
  • Prune: Prune is an AST-based code editor. 17 stars. Last updated 2013-10.
  • TCRCode: VS Code support for the TCR coding workflow; JavaScript; 16 stars; last updated 2019-01.
  • TestDesiderata: Optimize the value of your tests by choosing how to tradeoff among various valuable properties. 223 stars, 13 forks. Last updated 2025-01.
  • ToolSeeds: Programming tools can now be transmitted in the form of prompts instead of finished software. Here's a library of such tool seeds. 104 stars, 6 forks. Last updated 2026-11.