Hacker
Aravind Anand
@aravind_anand
Projects
Null Hypothesis: Do AI coding agents fail because of the docs?
Flagsmith Experimentation HackathonNov 2026
More and more integration code is written by AI coding agents, not by developers reading docs. A human notices when docs are out of date; an agent copies the page exactly. Nobody tests whether docs actually work for agents. I built an A/B test where the users are AI agents. 170 one-shot LLM agents (gpt-oss-20b and gpt-oss-120b on Groq) got the same task: connect to Flagsmith, read a flag, print it, send one event. A Flagsmith flag (quickstart_docs) gave each agent either Flagsmith's current Python experimentation docs or my rewrite for agents. I then ran every agent's code in a harness that only counts success if the script prints a secret flag value it never saw AND its event really reaches Flagsmith. Result: 28% of agents wrote working code with the current docs vs 94% with the rewrite. Root cause: Python SDK 6.6.0 (Nov 16) stopped flushing events at exit, so you must call close(), but the docs were never updated. Events are lost silently. Who would use it: Flagsmith (a real docs bug plus the fix), and any company with docs that wants to test them on AI agents every release.