Use coding agents to draft a physics solver from sketches
A hardware engineer used coding agents to create a deterministic physics engine from sketches, plain-language inputs, and symbolic equations, then trimmed the workflow after newer models changed what was needed.
- What they did
- James Stryker, who spent 23 years in hardware engineering, left his job and built DrawSolve with help from coding agents. He started from a hand-drawn sketch and a written description, then had the models decide which physical situations applied and turn them into symbolic equations for a traditional solver. To keep the project on track, he repeatedly steered the agents back to the underlying cause and added tooling to log and lock in each decision over 1,000+ sessions.
- How it went
- After five months, the project had grown to more than 300,000 lines of code, along with a test suite that was about three quarters that size. When newer models arrived, a lot of his 89-step workflow no longer made sense, so he rebuilt it into 15 steps and cut about 100,000 lines.
- Tips
- Without tight rules, agents can wander off and create duplicate functions. Plan for your scaffolding to age quickly as models improve, and expect major rewrites about every six months.
Try it yourself with Claude Code
I’m building a [mechanical/electrical/thermal] simulation tool in this repo. Start by converting each relevant physical case into symbolic equations, then connect those equations to a deterministic solver. Add tests for [known analytical examples/reference data], and note any assumptions or simplifications you make. Move in small increments, and once the first [simple setup] works and passes its tests, pause for my approval before changing any major logic, deleting code, submitting anything, or rewriting the workflow. After each step, tell me what changed and what you want to do next.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Record terminal sessions to verify TUI changes
Let an agent capture and replay a terminal run so it can inspect the result and catch visual or state bugs in a TUI.
Set up a phone for agent control over ADB
They mounted a Fairphone 6 in a rack so an agent could operate it through ADB.
Use agents to benchmark and tune Rust performance
Have an agent measure Rust code, make one optimization at a time, and keep only changes that improve runtime.
Run bug fixes through a staged agent team
Use separate agent roles to reproduce, diagnose, review, and audit bugs before any irreversible step.
Re-check implementation against re-derived user goals
Have an agent reconstruct the user’s requirements from all messages, then audit the code and tests against that list before changing anything.
Build an AArch64 JIT path for an emulator
An overnight agent swarm added AArch64 CPU support with JIT to kwemu.