Karpathy loop: make AI improve its own work

Wesley Swann: AI, Automation and Cybersecurity. Learn, Build, Automate, Secure.

Companies we have worked with

  • Knoxville County Government
  • Gwinnett Medical Center
  • One DeKalb Way
  • Interface
  • St. John’s Medical Center
  • Connect America
  • Heartland Dental
  • University of Detroit Mercy
  • St. Barnabas Hospital
  • Seneca Nation Health System
  • Thomas County Health Department
  • Health Note
  • Coffee Regional Medical Center
  • Boone Health, Inc.
  • QNAtech
  • FDNY
  • CDW
  • California Department of Transportation
  • 23andMe
  • WeWork
  • Argo AI
  • Katerra
  • Fair.com
  • Solyndra
  • Intarcia Therapeutics
  • Fisker Inc.
  • Vroom
  • Cyphermont
  • YourIntunePartner
  • AI Worker Agency
  • Battery Park Authority
  • Cambridge Resources
  • Chester County
  • Chenango County
  • City of Allentown
  • City of Newburgh
  • City of Norwalk

Free guide / AI agents

Use the Karpathy loop to make AI improve itself

Learn the Karpathy loop: one editable file, one fixed score, and keep-or-revert steps that let an AI agent improve its own work safely and measurably.

The Karpathy loop is a simple pattern for letting an AI agent improve something by trial and error: try a change, measure the result, keep it if it helped, and undo it if not. It comes from Andrej Karpathy’s public…

Join free to keep reading

The rest of this guide is for members. Create a free account with your email to read every guide.

Already a member? Log in

We use your email to create your account and send a confirmation. See our Privacy Policy.

About the author

Wesley Swann | AI, Automation & Cybersecurity

Wesley builds AI that does the busywork. He shares practical guides, teaches you how to build with AI, and helps turn your ideas into working automations.

All free guides | Cyber security | Email Wesley

Members read every guide free.Log inJoin free