Jane Street's Yinsky shares tips for making codebases agent-friendly: types, property tests, formal methods

sh_reya · x · 2026-10-27

A talk by Jane Street's Yaron Minsky on adapting codebases for AI agents is circulating widely. Key points: types are among the best feedback signals for agents — make illegal states unrepresentable and global rules get enforced across the codebase; use property-based tests, fuzzing, and full-system deterministic simulation testing; adopt expect tests that print and capture behavior to shrink review surface; and formal methods are becoming viable as agents change the ROI — seL4's 8,700 lines of C took 25 person-years with 23 lines of proof per line of code.

Original post →

More from coding & agent

coding & agent channel →