LibraryUseBench: agents rewrite the library they're handed
AI coding agents rebuild features they already have: on LibraryUseBench, every model rewrote library functionality in 73% to 100% of solutions.
A coding agent was given SimPy, a Python library that can decide which event runs next in a simulation. The agent used SimPy only to wait for an event, then wrote its own queue to decide what runs next. On that task, 8 of the 12 models tested wrote their own queue, according to Gabriel Orlanski's Nov 12, 2026 analysis.
That wasn't an isolated case. Across his LibraryUseBench tasks, 73% to 100% of each model's solutions rebuilt something the library already provided, and the agents were given the library with only minimal instruction.
In Orlanski's words, "every copy is another place for a bug to hide." Boundary's podcast episode with him adds that even with full internet access, agents avoid installing dependencies. All of these numbers come from Orlanski's own benchmark.
Try it: Pick a task where your repo or one of its dependencies already has a function for part of the work, and run it twice: once with your usual spec, once with that function named in it. Check both diffs for whether the agent called the function or wrote its own. Repeat on a few tasks before making it a team rule.
Sources
- Slop Is Moving Up the Stack | Gabriel Orlanski · Gabriel Orlanski
- ai that works: Emergent Behaviors with Gabe Orlanski, creator of SlopCodeBench · Boundary