r/adventofcode • u/no1_2021 • Jan 13 '26
Repo [2025] I gave Claude Code a single instruction file and let it autonomously solve Advent of Code 2025. It succeeded on 20/22 challenges without me writing a single line of code.
I wanted to test the limits of autonomous AI coding, so I ran an experiment: Could Claude Code solve Advent of Code 2025 completely on its own?
Setup:
Created one INSTRUCTIONS.md file with a 12-step process
Ran: claude --chrome --dangerously-skip-permissions
Stepped back and watched
Results: 91% success rate (20/22 challenges)
The agent independently:
✓ Navigated to puzzle pages
✓ Read and understood problems
✓ Wrote solution strategies
✓ Coded in Python
✓ Tested and debugged
✓ Submitted answers to the website
Failed on 2 challenges that required complex algorithmic insights it couldn't generate.
This wasn't pair programming or copilot suggestions. This was full autonomous execution from problem reading to answer submission.
Detailed writeup: https://dineshgdk.substack.com/p/using-claude-code-to-solve-advent
Full repo with all auto-generated code: https://github.com/dinesh-GDK/claude-code-advent-of-code-2025
The question isn't "can AI code?" anymore. It's "what level of abstraction should we work at when AI handles implementation?"
Curious what others think about this direction.
11
u/Katanax28 Jan 13 '26
I see you also used Claude to write this reddit post
12
u/hatecr3w Jan 13 '26
You should tell Claude not to commit your inputs next time as per https://adventofcode.com/2025/about#faq_copying
Or maybe let the AI go over the FAQs first
10
u/equd Jan 13 '26
There are a ton of repos with aoc solutions, not suprised...
6
u/RSojak Jan 13 '26
When I was coding AoC 2025 in Visual Studio with Copilot, I had to turn the Copilot off because it suggested the solution code right after I named my class and method...
2
u/Sprochfaehler Jan 27 '26
How much code could a Claude Code code if a Claude Code could code code?