{"id":62085,"date":"2026-03-16T14:00:32","date_gmt":"2026-03-16T11:00:32","guid":{"rendered":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/"},"modified":"2026-03-16T14:00:32","modified_gmt":"2026-03-16T11:00:32","slug":"karpathy-autoresearch-lessons-ai-agents","status":"publish","type":"post","link":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/","title":{"rendered":"Karpathy Autoresearch Explained: Five Lessons for Building Reliable AI Agents"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Karpathy Autoresearch represents one of the clearest examples of how to build a useful autonomous improvement harness for <a href=\"\/category\/ai\/\">artificial intelligence<\/a> systems. Rather than attempting to create a general-purpose AI scientist, the project constrains an agent to a single, well-defined task: modify a training script, run a bounded experiment, measure the result, and keep or discard the change based on performance.<\/p><h2 class=\"wp-block-heading\">What Karpathy Autoresearch Actually Does<\/h2><p class=\"wp-block-paragraph\">The system reduces AI research to a bounded optimization loop. The agent edits one file, <code>train.py<\/code>, runs the experiment for exactly five minutes, reads the result metric, and either advances the current code branch or resets it. Data preparation, tokenization, and evaluation logic live in a separate file, <code>prepare.py<\/code>, which the agent cannot modify. This design keeps the benchmark stable across all runs.<\/p><p class=\"wp-block-paragraph\">The evaluation metric is bits per byte (<code>val_bpb<\/code>) rather than raw validation loss. This choice makes results comparable across tokenizer changes, because the denominator is byte length rather than token count. Meanwhile, a third file, <code>program.md<\/code>, serves as the operating manual. It defines workflow, boundaries, logging rules, recovery procedures, and selection criteria for the agent.<\/p><h2 class=\"wp-block-heading\">How the Experiment Harness Operates<\/h2><p class=\"wp-block-paragraph\">Every experiment starts from the current code frontier. The agent edits <code>train.py<\/code>, commits the change, runs the training script, and reads the metric from the output log. If the result improves, that commit becomes the new frontier. If the result is equal or worse, the branch resets to its previous state. This keep-or-reset mechanism makes the branch behave like an evolutionary search path.<\/p><p class=\"wp-block-paragraph\">Results are stored in <code>results.tsv<\/code>, which stays outside git history. Git tracks the winning line of code evolution, while the TSV file records the full operational history, including discarded runs and crashes. The harness also handles failures explicitly. When an experiment produces NaNs, runs out of memory, or breaks the script, the agent inspects the log, attempts a simple fix if the problem is trivial, and otherwise logs the crash and moves on.<\/p><h2 class=\"wp-block-heading\">Five Lessons for Agent Builders<\/h2><p class=\"wp-block-paragraph\">The design of Karpathy Autoresearch surfaces several principles relevant to anyone building <a href=\"\/category\/apps\/\">agentic software systems<\/a>. First, constraints make agents more reliable. The agent edits one file, chases one metric, and advances only when the score improves. That discipline allows the system to run for hours without producing noise. Second, prompts are part of the architecture. The <code>program.md<\/code> file defines workflow, persistence, logging, and recovery. That is system design, not just prompting.<\/p><p class=\"wp-block-paragraph\">Third, the surrounding harness matters as much as the model itself. How work is launched, how failures are handled, how progress is measured, and how bad paths are rolled back all determine whether an agent is useful in practice. Fourth, time-bounded evaluation is underrated. The five-minute wall-clock budget forces the system to optimize for improvement per unit time rather than abstract model quality. Fifth, reversibility and observability are non-negotiable. Every experiment must be inspectable and every bad run must be cheap to discard.<\/p><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;The best autonomous systems are not the ones with the most freedom. They are the ones with the clearest objective, the strongest harness, and the cheapest failure mode.&#8221;<\/p><cite>Manthan Gupta, AI Researcher<\/cite><\/blockquote><h2 class=\"wp-block-heading\">Limitations of the Current Design<\/h2><p class=\"wp-block-paragraph\">Autoresearch optimizes a local benchmark under a fixed five-minute budget on specific hardware. The agent may find what works best under this particular harness rather than discovering generally superior training strategies. The project is also built around a single NVIDIA GPU and works best on high-end <a href=\"\/category\/computers\/\">computing hardware<\/a>. The repository documentation points to forks and parameter adjustments for smaller machines, but the default configuration targets a powerful CUDA setup.<\/p><p class=\"wp-block-paragraph\">Furthermore, the system is autonomous only inside a human-designed sandbox. The human defines the metric, the files in scope, the data pipeline, and the operating instructions. This constraint does not reduce the system&#8217;s practical value. Near-term autonomous systems are most useful when they operate inside strong scaffolding rather than when given open-ended goals.<\/p><h2 class=\"wp-block-heading\">Outlook for Autonomous AI Systems<\/h2><p class=\"wp-block-paragraph\">The broader implication of Karpathy Autoresearch extends beyond the specific training task it addresses. The project demonstrates that autonomous systems become more useful when reduced to a tight harness with clear boundaries, a stable metric, reversible experiments, and consistent operational discipline. As <a href=\"\/category\/ai\/\">AI development<\/a> tools mature, the design principles embedded in this repository offer a practical template for builders seeking reliable autonomous improvement loops. The key insight is that reliability comes from stringent constraints, not from maximizing agent freedom.<\/p>","protected":false},"excerpt":{"rendered":"<p>Karpathy Autoresearch constrains an AI agent to a single file and a five-minute experiment budget, demonstrating that tight harnesses produce more reliable autonomous systems than open-ended agent designs.<\/p>\n","protected":false},"author":16,"featured_media":62084,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_meta-robots-noindex":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_pr_autopilot_social_copy":"{\"x_hook\":\"Karpathy Autoresearch gives an AI agent one file to edit and five minutes to run. The result is a masterclass in why constraints \u2014 not freedom \u2014 make autonomous systems actually work.\",\"x_takeaways\":\"Key Highlights:\\n\ud83d\udd39 The agent edits only train.py and is evaluated on bits-per-byte within a strict 5-minute wall-clock budget\\n\ud83d\udd39 A keep-or-reset mechanism treats the code branch like an evolutionary search path, discarding losing experiments automatically\\n\ud83d\udd39 Five design lessons emerge: tight constraints, prompt-as-architecture, harness quality, time-bounded evaluation, and reversibility\"}","_yoast_wpseo_opengraph_title":"","_yoast_wpseo_opengraph_description":"","_yoast_wpseo_opengraph_image":"","_yoast_wpseo_opengraph_image_id":0,"_yoast_wpseo_twitter_title":"","_yoast_wpseo_twitter_description":"","_yoast_wpseo_twitter_image":"","_yoast_wpseo_twitter_image_id":0,"_yoast_wpseo_primary_category":0,"_extra_hide_author_box":"","_extra_featured_post":"","_partner_post_id":83835,"footnotes":""},"categories":[442,449],"tags":[864,2577,2576,2575,1463],"class_list":["post-62085","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps","category-ai","tag-ai-agents","tag-autonomous-systems","tag-autoresearch","tag-karpathy","tag-machine-learning","et-has-post-format-content","et_post_format-et-post-format-standard"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Karpathy Autoresearch: AI Agent Lessons | Saudi Shopper<\/title>\n<meta name=\"description\" content=\"Karpathy Autoresearch shows how tight constraints, stable metrics, and reversible experiments make autonomous AI systems more reliable than open-ended agent designs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Karpathy Autoresearch: AI Agent Lessons | Saudi Shopper\" \/>\n<meta property=\"og:description\" content=\"Karpathy Autoresearch shows how tight constraints, stable metrics, and reversible experiments make autonomous AI systems more reliable than open-ended agent designs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/\" \/>\n<meta property=\"og:site_name\" content=\"Saudishopper\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SaudiShopper\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/zamil\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-16T11:00:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2026\/03\/karpathy-autoresearch-ai-agent-harness.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Zamil Safwan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@zsafwan\" \/>\n<meta name=\"twitter:site\" content=\"@ssict\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zamil Safwan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/\"},\"author\":{\"name\":\"Zamil Safwan\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#\\\/schema\\\/person\\\/8351552105da6d5a684fb7e010f12047\"},\"headline\":\"Karpathy Autoresearch Explained: Five Lessons for Building Reliable AI Agents\",\"datePublished\":\"2026-03-16T11:00:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/\"},\"wordCount\":730,\"publisher\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/karpathy-autoresearch-ai-agent-harness.webp\",\"keywords\":[\"AI Agents\",\"Autonomous Systems\",\"Autoresearch\",\"Karpathy\",\"Machine Learning\"],\"articleSection\":[\"Apps &amp; Software\",\"Artificial Intelligence\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2026\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/\",\"url\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/\",\"name\":\"Karpathy Autoresearch: AI Agent Lessons | Saudi Shopper\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/karpathy-autoresearch-ai-agent-harness.webp\",\"datePublished\":\"2026-03-16T11:00:32+00:00\",\"description\":\"Karpathy Autoresearch shows how tight constraints, stable metrics, and reversible experiments make autonomous AI systems more reliable than open-ended agent designs.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#primaryimage\",\"url\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/karpathy-autoresearch-ai-agent-harness.webp\",\"contentUrl\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/karpathy-autoresearch-ai-agent-harness.webp\",\"width\":1200,\"height\":628,\"caption\":\"Karpathy Autoresearch autonomous AI agent experiment harness diagram with code terminal and git branches\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/karpathy-autoresearch-lessons-ai-agents\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Karpathy Autoresearch Explained: Five Lessons for Building Reliable AI Agents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/\",\"name\":\"Saudishopper\",\"description\":\"Saudi ICT Shopper News\",\"publisher\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#organization\",\"name\":\"Saudi ICT News\",\"alternateName\":\"Saudi ICT Shopper News\",\"url\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/SSTrans.png\",\"contentUrl\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/SSTrans.png\",\"width\":423,\"height\":165,\"caption\":\"Saudi ICT News\"},\"image\":{\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/SaudiShopper\",\"https:\\\/\\\/x.com\\\/ssict\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/#\\\/schema\\\/person\\\/8351552105da6d5a684fb7e010f12047\",\"name\":\"Zamil Safwan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a483a8920db50e1d6142462856d7925f4a9543091c79df709d1380ea7fbef8ec?s=96&d=https%3A%2F%2Fsaudishopper.com.sa%2Fen%2Fwp-content%2Fuploads%2F2020%2F12%2Fcropped-ss-icon--150x150.png&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a483a8920db50e1d6142462856d7925f4a9543091c79df709d1380ea7fbef8ec?s=96&d=https%3A%2F%2Fsaudishopper.com.sa%2Fen%2Fwp-content%2Fuploads%2F2020%2F12%2Fcropped-ss-icon--150x150.png&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a483a8920db50e1d6142462856d7925f4a9543091c79df709d1380ea7fbef8ec?s=96&d=https%3A%2F%2Fsaudishopper.com.sa%2Fen%2Fwp-content%2Fuploads%2F2020%2F12%2Fcropped-ss-icon--150x150.png&r=g\",\"caption\":\"Zamil Safwan\"},\"description\":\"An experienced technologist with expertise spanning Digital Transformation, E-commerce, Start-ups, and Fintech. Zamil offers insightful analysis on the convergence of finance and technology in the evolving digital landscape.\",\"sameAs\":[\"https:\\\/\\\/zsafwan.net\",\"https:\\\/\\\/www.facebook.com\\\/zamil\",\"https:\\\/\\\/x.com\\\/@zsafwan\"],\"url\":\"https:\\\/\\\/saudishopper.com.sa\\\/en\\\/author\\\/zamil\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Karpathy Autoresearch: AI Agent Lessons | Saudi Shopper","description":"Karpathy Autoresearch shows how tight constraints, stable metrics, and reversible experiments make autonomous AI systems more reliable than open-ended agent designs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/","og_locale":"en_US","og_type":"article","og_title":"Karpathy Autoresearch: AI Agent Lessons | Saudi Shopper","og_description":"Karpathy Autoresearch shows how tight constraints, stable metrics, and reversible experiments make autonomous AI systems more reliable than open-ended agent designs.","og_url":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/","og_site_name":"Saudishopper","article_publisher":"https:\/\/www.facebook.com\/SaudiShopper","article_author":"https:\/\/www.facebook.com\/zamil","article_published_time":"2026-03-16T11:00:32+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2026\/03\/karpathy-autoresearch-ai-agent-harness.webp","type":"image\/webp"}],"author":"Zamil Safwan","twitter_card":"summary_large_image","twitter_creator":"@zsafwan","twitter_site":"@ssict","twitter_misc":{"Written by":"Zamil Safwan","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#article","isPartOf":{"@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/"},"author":{"name":"Zamil Safwan","@id":"https:\/\/saudishopper.com.sa\/en\/#\/schema\/person\/8351552105da6d5a684fb7e010f12047"},"headline":"Karpathy Autoresearch Explained: Five Lessons for Building Reliable AI Agents","datePublished":"2026-03-16T11:00:32+00:00","mainEntityOfPage":{"@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/"},"wordCount":730,"publisher":{"@id":"https:\/\/saudishopper.com.sa\/en\/#organization"},"image":{"@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#primaryimage"},"thumbnailUrl":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2026\/03\/karpathy-autoresearch-ai-agent-harness.webp","keywords":["AI Agents","Autonomous Systems","Autoresearch","Karpathy","Machine Learning"],"articleSection":["Apps &amp; Software","Artificial Intelligence"],"inLanguage":"en-US","copyrightYear":"2026","copyrightHolder":{"@id":"https:\/\/saudishopper.com.sa\/en\/#organization"}},{"@type":"WebPage","@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/","url":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/","name":"Karpathy Autoresearch: AI Agent Lessons | Saudi Shopper","isPartOf":{"@id":"https:\/\/saudishopper.com.sa\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#primaryimage"},"image":{"@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#primaryimage"},"thumbnailUrl":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2026\/03\/karpathy-autoresearch-ai-agent-harness.webp","datePublished":"2026-03-16T11:00:32+00:00","description":"Karpathy Autoresearch shows how tight constraints, stable metrics, and reversible experiments make autonomous AI systems more reliable than open-ended agent designs.","breadcrumb":{"@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#primaryimage","url":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2026\/03\/karpathy-autoresearch-ai-agent-harness.webp","contentUrl":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2026\/03\/karpathy-autoresearch-ai-agent-harness.webp","width":1200,"height":628,"caption":"Karpathy Autoresearch autonomous AI agent experiment harness diagram with code terminal and git branches"},{"@type":"BreadcrumbList","@id":"https:\/\/saudishopper.com.sa\/en\/karpathy-autoresearch-lessons-ai-agents\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/saudishopper.com.sa\/en\/"},{"@type":"ListItem","position":2,"name":"Karpathy Autoresearch Explained: Five Lessons for Building Reliable AI Agents"}]},{"@type":"WebSite","@id":"https:\/\/saudishopper.com.sa\/en\/#website","url":"https:\/\/saudishopper.com.sa\/en\/","name":"Saudishopper","description":"Saudi ICT Shopper News","publisher":{"@id":"https:\/\/saudishopper.com.sa\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/saudishopper.com.sa\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/saudishopper.com.sa\/en\/#organization","name":"Saudi ICT News","alternateName":"Saudi ICT Shopper News","url":"https:\/\/saudishopper.com.sa\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/saudishopper.com.sa\/en\/#\/schema\/logo\/image\/","url":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2020\/08\/SSTrans.png","contentUrl":"https:\/\/saudishopper.com.sa\/en\/wp-content\/uploads\/2020\/08\/SSTrans.png","width":423,"height":165,"caption":"Saudi ICT News"},"image":{"@id":"https:\/\/saudishopper.com.sa\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SaudiShopper","https:\/\/x.com\/ssict"]},{"@type":"Person","@id":"https:\/\/saudishopper.com.sa\/en\/#\/schema\/person\/8351552105da6d5a684fb7e010f12047","name":"Zamil Safwan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a483a8920db50e1d6142462856d7925f4a9543091c79df709d1380ea7fbef8ec?s=96&d=https%3A%2F%2Fsaudishopper.com.sa%2Fen%2Fwp-content%2Fuploads%2F2020%2F12%2Fcropped-ss-icon--150x150.png&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a483a8920db50e1d6142462856d7925f4a9543091c79df709d1380ea7fbef8ec?s=96&d=https%3A%2F%2Fsaudishopper.com.sa%2Fen%2Fwp-content%2Fuploads%2F2020%2F12%2Fcropped-ss-icon--150x150.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a483a8920db50e1d6142462856d7925f4a9543091c79df709d1380ea7fbef8ec?s=96&d=https%3A%2F%2Fsaudishopper.com.sa%2Fen%2Fwp-content%2Fuploads%2F2020%2F12%2Fcropped-ss-icon--150x150.png&r=g","caption":"Zamil Safwan"},"description":"An experienced technologist with expertise spanning Digital Transformation, E-commerce, Start-ups, and Fintech. Zamil offers insightful analysis on the convergence of finance and technology in the evolving digital landscape.","sameAs":["https:\/\/zsafwan.net","https:\/\/www.facebook.com\/zamil","https:\/\/x.com\/@zsafwan"],"url":"https:\/\/saudishopper.com.sa\/en\/author\/zamil\/"}]}},"_links":{"self":[{"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/posts\/62085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/comments?post=62085"}],"version-history":[{"count":0,"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/posts\/62085\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/media\/62084"}],"wp:attachment":[{"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/media?parent=62085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/categories?post=62085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/saudishopper.com.sa\/en\/wp-json\/wp\/v2\/tags?post=62085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}