# How Linus Torvalds actually uses coding agents

Creator of Linux and Git

**If you take one thing:** `Pedals in a ring`, a bench that tests itself. he had Opus turn three pedals and a signal generator into an automated test bench, so agent changes get measured on real hardware instead of eyeballed on a scope.

- **Agent:** Claude Code ([source, 2026-10-10](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4c0f3697118eb3a708ea79175f7f07c43339bfab))
- **Model:** Claude Opus ([source, 2026-08-10](https://github.com/torvalds/GuitarPedal/commit/42983ff047a56e5d8aeae8cc98665febe3c20d28))
- **Review:** Kernel: Claude Code reviews and tests, Torvalds measures, then the list reviews. Pedal: Opus checks Opus ([source, 2026-10-10](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4c0f3697118eb3a708ea79175f7f07c43339bfab))
- **Harness:** Issue tracker on a separate git side branch, plus a hardware validation bench Opus drives ([source, 2026-08-04](https://github.com/torvalds/uemacs/commit/a66fbc3243a971f3e78196805ab013ce762483b8))
- **Rules file:** CLAUDE.md, not in the public tree ([source, 2026-09-19](https://github.com/torvalds/GuitarPedal/commit/e8cfc09a0495f365c708467d5598aea7515eddfc))

## In their words

> The code, the test programs, the review behind the list above and the first draft of this text were done with an LLM coding assistant (Claude Code) under my direction.

> I'm back to doing some sanity checking of the guitar pedal using Claude Opus

> The code, the test programs, the review behind the list above and the first draft of this text were done with an LLM coding assistant (Claude Code) under my direction.

> I copied over my issue tracking infrastructure that keeps track of things in a separate side branch, and the general rules, and hey presto - productive AI sessions with Opus.

> CLAUDE.md calls capture-rat.py the worked example for bench captures.


Archetype (our label): Toolsmith. Newest source: 2026-10-10.
Card: https://prehistoriq.com/stacks/torvalds/ · Data: https://github.com/prehistoriq/stacks/blob/main/data/stacks/torvalds.json
