惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
博客园 - Franky
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
WordPress大学
WordPress大学
博客园 - 叶小钗
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
有赞技术团队
有赞技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Visual Studio Blog
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
爱范儿
爱范儿
罗磊的独立博客
雷峰网
雷峰网
量子位
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Hugging Face - Blog
Hugging Face - Blog
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
P
Privacy International News Feed
S
Schneier on Security
W
WeLiveSecurity
H
Heimdal Security Blog
I
Intezer
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
美团技术团队
N
News | PayPal Newsroom
T
The Exploit Database - CXSecurity.com
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

Forbes - Business

Pickleball Slam 4 Preview — History Of The Event And Behind The Scenes Prep With The Players How To Get Masters 2027 Tickets Lottery Dates And Odds ‘Malcolm In The Middle: Life’s Still Unfair’ Is Likely A Wrap For Show Tony Gonzales, Eric Swalwell Will Resign Following Sexual Misconduct Allegations Suspect In Sam Altman Molotov Attack Charged With Attempted Murder Today’s Wordle #1760 Hints And Answer For Tuesday, April 14 Dan Orlovsky Compares Ty Simpson To Brock Purdy, Names Surprising NFC Contender As Fit For 2026 NFL Draft Prospect IndyCar’s Chip Ganassi Racing, OpenAI Hope For ‘Competitive Advantage’ Shingles Altered Achilles Rehab For Pacers Star Tyrese Haliburton, But He’s Back On The Court NYT Pips Today: Hints, Answers And Walkthrough For Tuesday, April 14 LVMH Founder Bernard Arnault’s Fortune Falls $50 Billion This Year Inter Miami CF Kicks Off New Era For South Florida Soccer In Nu Stadium IndyCar’s AJ Foyt Racing Hires Toby Sowery As Reserve Driver IndyCar’s Chip Ganassi Racing Goes Green With Green Sports Alliance Rory McIlroy Claims Second Straight Masters Title At Augusta Rockets Claim Fifth Seed In West Today’s Wordle #1759 Hints And Answer For Monday, April 13 NYT Pips Today: Hints, Answers And Walkthrough For Monday, April 13 Design Details In ‘The Drama’ Delve Deep Into Character AEW Dynasty 2026 Results, Winners And Live Updates On April 12 Former Dodgers Infielder, 3-Time MLB All-Star And Champion, Dies After Cancer Battle Townsend And Wild Secure Double Golds At Pro Pickleball Association Australia Moreton Bay Los Angeles Dodgers Prospect James Tibbs III Is Tearing Up Triple-A Hungary’s Authoritarian Orban—Boosted By Trump—Loses. European Leaders Celebrate. Review: Blackbraid Delivers Exteme Metal Masterclass To Dublin, Ireland Colorado Is Emerging As An Energy Innovation Hub U.S. Military Ships In Strait of Hormuz Violate Ceasefire, Iran Warns (Live Updates) Rosé’s All-Time Sales Chart Record Has Been Beaten IC3 Report Reveals Surge In Cryptocurrency Investment Scams The Top Contenders For The 2026 NCAA Gymnastics All-Around Title What Time Does ‘Euphoria’ Season 3 Come Out? How To Watch Tonight John Nolan, ‘Batman’ Films And ‘Person Of Interest’ Actor, Dies At 87 BTS Dominates The Biggest Songs Chart In America — Again Jannik Sinner Ties Novak Djokovic’s Masters 1000 Mark—Will Return To World No. 1 Will Iran War Result In Nuclear Weapon Transfers To The Middle East? Iran Reportedly Used Chinese Satellite To Target U.S. Bases—Here’s How China And Russia Could Help Iran Why Diesel Prices Spike Faster Than Gasoline In A Crisis UFC 327 Results: 5 Biggest Takeaways From A Wild Night In Miami Taemin Dazzles At Coachella Debut And Premieres 6 New Songs: Full Setlist UFC 327 Results, Bonus Winners, Highlights And Reactions Dana White Announces Huge New Fight For UFC White House Today’s Wordle #1758 Hints And Answer For Sunday, April 12 NYT Pips Today: Hints, Answers And Walkthrough For Sunday, April 12 WNBA Draft 2026 Date, Time, Order And Top Prospects Tyson Fury Vs. Arslanbek Mahkmudov Results: Highlights and Reaction Avengers’ Biggest Battle? Taking On ‘Dune: Part Three’ At Christmas U.S.-Iran Peace Talks Stretch Into Sunday—As Iran Denies U.S. Navy Destroyers Passed Through Hormuz Conor Benn Vs. Regis Prograis Results: Highlights and Reaction Why Dewey Actor Was Recast For ‘Malcolm In The Middle’ Revival Series Eric Swalwell Is Being Investigated In New York After Sexual Assault Claim Against Him Artemis Reached The Moon. The Grid Can Reach The 21st Century Pope Leo XIV Says 'Enough Of War!' As He Urges ‘Mediation’ To End Iran Conflict NYT Connections Hints Today: Sunday, April 12 Clues And Answers (#1036) U.S.-Iran Peace Talks Stretch Into Sunday—As Iran Denies U.S. Navy Destroyers Passed Through Hormuz Beyond Private Credit—The Overlooked Risks Of Banks’ Ties To Nonbanks ‘Euphoria’ Musician Labrinth Suggests He Was Treated Poorly Before Leaving Hit Show Netflix’s Best New Show Has A Near-Perfect 95% Rotten Tomatoes Score Coachella 2026 Is Being Taken Over By Creator Streams UFC Tonight: What Time Does The UFC 327 Fight Card Start? Microsoft Venom Attack Targets C-Suite Executives ‘Maul: Shadow Lord’ Sets Even More Star Wars Rotten Tomatoes Records Harry Styles Flies With His Oldest Hit Thanks To A Box Office Smash New Names Surface As Potential Rogue And Wonder Woman In The MCU And DCU Chris Stapleton’s High-Profile Collaboration Becomes A Certified Hit Miley Cyrus Charts The Biggest New Sales Smash In America Pet Shop Boys’ Visual History Told In New Book China Seizes An Island While The World Is Watching Iran Ozzy Osbourne’s Name Helps A Rock Band Chart A New Top 10 Hit Forbes House of the Week: 3 Things We Crave Make U.S. Air Cargo More Valuable Than Ocean Ocean Tight Ends To Trade Away In Dynasty Fantasy Football Fury vs. Makhmudov Full Card, Ring Walk Times and How to Watch Ways That Human-AI Collaboration Slides People Into ‘AI Brain Fry’ And Cognitive Downturns What’s At Stake In Hungary’s Election For Ukraine And Russia Coachella 2026: All 95 Surprise Guests Who Appeared This Year Coachella Accidentally Plays New KATSEYE EP Announcement Before Debut Performance KATSEYE Performs ‘Golden’ At Coachella with HUNTR/X voices KATSEYE Feature ‘KPop Demon Hunters’ Singers For 'Golden' At Coachella WWE SmackDown Results, Winners And Grades On April 10, 2026 WWE SmackDown Results As Pat McAfee Announces 25% Off WrestleMania 42 Tickets Bini Makes History For Filipino Music At Coachella 2026: Full Setlist 5 Under-The-Radar Winners And Losers In The Iran War So Far Menswear In The Post-Covid Age Is High Tech And High Touch Today’s Wordle #1757 Hints And Answer For Saturday, April 11 NYT Pips Today: Hints, Answers And Walkthrough For Saturday, April 11 ‘Hacks’ Season 5 Release Schedule Reveals Final Episodes For Series Packers Trade Inconsistent Dontayvion Wicks To The Eagles Dan Levy’s Netflix Crime Comedy ‘Big Mistakes’ Takes Huge, Hilarious Risks Inside 30 Years Of Progress At The Wendy Hilliard Gymnastics Foundation With A $1.2 Billion Sale To Unilever, Grüns’ Founder Mints A Fortune What Does ‘You The Birthday’ Mean? TikTok’s Viral Phrase, Explained Kenny Omega Talks Comeback And Facing MJF At AEW Dynasty FIFA World Cup 2026: Why Ticket Scandals Still Cloud the Tournament Two Months Out Oldest US Navy Supercarrier Sailing In ‘Southern Seas 2026’ Exercises Huang Urges People To ‘Move To California’ As Billionaire Tax Looms BTS ARIRANG World Tour: What To Expect For New Fans And Old ‘You, Me & Tuscany’ Rotten Tomatoes Reviews Like Where Rom-Com Lands IRS Issues New ‘No Tax On Tips’ Rules—Here’s Who Qualifies Trump Wants To Build An Arch In D.C.—Here’s What It Would Look Like Molotov Cocktail Thrown At Sam Altman’s Home, OpenAI Says—Suspect Arrested
Loop Engineering Is Fully Making The Rounds For Boosting Generative AI And Agentic AI
Lance Eliot · 2026-06-17 · via Forbes - Business
Happy college students and their teacher using computer in the classroom.

Loop engineering is new, exciting, and boosts agentic AI and conventional generative AI.

getty

In today’s column, I examine a newly emerging AI trend known as loop engineering. The idea is that you tell the AI to get something done by instructing the AI to perform a loop that iterates until the AI reaches a specified condition or final state. It is on your shoulders to suitably engineer the loop. If you do a lousy job of specifying the looping aspects, the AI might run afoul or inadvertently chew up pricey computing cycles.

This looping approach contrasts with the typical method of simply interacting with AI on a step-at-a-time basis. Usually, when you converse with AI, you ask the AI a question and get a single answer. You and the AI take turns. One by one, you get the AI to do something or get some action done for you. Loop engineering emphasizes that sometimes it would be better to instruct the AI to run a continuous loop and let you be somewhat out of the loop as it does so.

This rapidly evolving AI trend entailing looping is primarily focused on the use of AI agents. Nowadays, you are supposed to make use of loop engineering when invoking agentic AI. That being said, there is nothing wrong with applying loop engineering to conventional generative AI too. I will show you how. The skills of loop engineering ought to be utilized by anyone interested in doing suitable prompting in AI and being mindful of best practices for prompt engineering.

Prompt Engineering Essentials

I have been analyzing and showcasing prompt engineering techniques for quite a while. If you’d like to see what has been covered so far, see my detailed description of over eighty useful prompt engineering techniques and methods at the link here. Seasoned prompt engineers realize that learning a wide array of researched and proven prompting techniques is the best way to get the most out of generative AI and large language models (LLMs).

A vital consideration in prompt engineering entails the wording of prompts.

Capable prompt engineers realize that you must word your prompts mindfully to ensure that the LLM gets the drift of what you are asking the AI to do. Sometimes, just an added word or two can radically change what the AI interprets your question or instruction to consist of. Generative AI can be hypersensitive to what you say in your prompts. It is often a touch-and-go proposition.

Casual users sometimes catch onto this prompt-writing consideration after a considerable amount of muddling around, involving exasperating trial and error. Many users don’t ever become especially proficient in writing prompts. They just enter whatever comes into their minds. That’s probably okay if you are a casual user and only infrequently use AI. Not so for serious prompt engineers.

Agentic AI Enters Into The Picture

Shifting gears, let’s consider what happens when using AI agents. I will first discuss what agentic AI consists of. After providing that foundation, I will launch into the new focus on loop engineering.

AI agents are the hottest new realm of AI. To comprehend what agentic AI is, let’s start by considering conventional AI.

Imagine that you are using conventional generative AI to plan a vacation trip. You would customarily log into your generative AI account, such as making use of ChatGPT, GPT-5, Claude, Gemini, Llama, Grok, CoPilot, etc. The planning of your trip would be easy due to the natural language fluency of generative AI. All you need to do is describe where you want to go, and then seamlessly engage in a focused dialogue about the pluses and minuses of places to stay and the transportation options available.

When it comes to booking your trip, the odds are that you would have to exit generative AI and start accessing the websites of the hotels, amusement parks, airlines, and other locales to buy your tickets. Relatively few of the major generative AIs available today will take that next step on your behalf. It is up to you to perform those nitty-gritty tasks.

This is where agents and agentic AI come into play.

In earlier days, you would undoubtedly phone a travel agent to make your bookings. Though there are still human travel agents, another avenue would be to use an AI-based agent that is based on generative AI. The AI has the interactivity that you expect with generative AI. It has also been preloaded with a series of routines or sets of tasks that underpin the efforts of a travel agent. Using everyday natural language, you interact with the agentic AI, which works with you on your planning and can proceed to deal with the booking of your travel plans.

Loop Engineering Arises

Suppose you tell an agentic AI to book you a hotel for your upcoming vacation. The AI agent says it will do so, and immediately scans various online websites, trying to find a hotel that meets your needs. After having found one, the AI agent tells you what it found and then books the hotel stay. This is all perfectly fine. You have reserved a hotel stay without having lifted a finger to do so. Nice.

I’m sure that you’ve had circumstances in life where you kept watching the marketplace and later realized that a better deal on a hotel had become available. You would then cancel your first hotel reservation and book a new one. Perhaps the better deal gets you a great discounted price. Aha, it pays off to be diligent and always keep your eyes and ears open.

It sure would be handy if AI could do the same on your behalf.

Here’s what you could do. You tell the hotel-seeking AI agent to find you a hotel and book it, but that this isn’t the end of the story. You want the AI agent to keep looking. You might tell the AI agent that for the next few days, it is to scan the hotel websites and be on the lookout for a better deal. If the AI agent finds a better deal, it is to cancel the earlier reservation and book a new one.

Voila, you have defined a loop for the AI agent. The AI agent will be working behind-the-scenes and looping to find you a better hotel package. No need for you to constantly interact with the AI agent. By setting up a loop, it is one of those fire-and-forget launches of a missile. You can rest easy knowing that the AI is tirelessly searching to get you a better deal.

Welcome to the wonderful world of loop engineering.

Loopy Loop Engineering

Have you ever seen a dog that incessantly chased its own tail and didn’t seem to be getting anywhere in doing so?

A big issue with AI and loop engineering is that the AI can go awry if you’ve done a middling job of specifying the looping aspects. I’ll use the example of the AI agent that’s looking to find you a better hotel stay. If you didn’t say how often it should loop, the AI might do so every nanosecond and keep doing this for days upon days. The likely charges for consuming the vast amount of computing server time are going to readily exceed any discount you might get on a hotel stay. Oops, you didn’t do a proper job of telling AI what to do.

Another difficulty with your loop is that you didn’t tell the AI to check with you before canceling your existing reservation and booking the new one. This could be calamitous. Imagine that the AI agent informs you that after looping for a few days, it luckily found you a seemingly better-priced hotel. Your old one is canceled, and the new one is booked. Success is at hand. But when you look at the specifics of the hotel, you see that though it is better priced, it is a hotel with a seedy reputation. Had you been consulted by the AI, you would have told the AI not to book the hotel. Meanwhile, your prior hotel is no longer available since AI canceled your reservation. Sad face.

All told, loop engineering is referred to as a form of engineering because you aren’t supposed to just willy-nilly establish a loop. You are to carefully consider the particulars for the loop and appropriately engineer them. AI is going to pretty much abide by what you have specified (I’ll say more about this momentarily). Any loopholes or gotchas in your stipulations are going to be a mess. The onus is on you to set up a loop that makes sense, covers all the bases, and reduces the likelihood of the AI going afoul.

Defining Loop Engineering

Loop engineering is a newly emerging aspect. There isn’t yet any standardized way of doing loop engineering. Indeed, if you talk with five different AI specialists, they probably each have a different definition of what loop engineering even consists of.

I’ve come up with my own strawman definition:

  • My draft definition of AI loop engineering: “Loop engineering is the mindful design of iterative cycles that AI is to perform on behalf of a human so that a stipulated task is undertaken and will produce results aligned with a suitably stated goal. This contrasts with a typical one-and-done or one-shot approach of using AI. Loops can be established for AI agents and can also be used with conventional turn-by-turn AI.”

Anyone doing loop engineering should consider instilling these five precepts:

  • (1) Make a goal for the loop. Establish a clear-cut goal for the loop and verify that the AI aptly echoes what the goal is.
  • (2) Provide a loop assessment mechanism. Provide a means for the AI to assess the looping and ascertain when looping should occur and when it should stop.
  • (3) Include a human feedback checkpoint. It is safest to consider including some kind of human-AI checkpoints so that while the AI is looping, it will let a human know what is going on and allow an opportunity for loop correction or closure.
  • (4) Establish the loop stoppage. There should be apparent rules for when the loop ought to come to a stop, such as by having attained the goal, or by having exceeded time and resource limits.
  • (5) Test the loop and adjust. No matter how clever you think your loop is, you need to test it and be confident before you let it loose.

The aim is to plan your loop, compose it mindfully, ensure that it will eventually stop, and decide whether you want to be in-the-loop or remain outside the loop. The other important facet is that you should make sure to test the loop before you permit AI to go hog-wild. You can tell the AI to try out the loop for a few quick iterations. Inspect what transpires. Adjust the loop as needed.

Example Of Not A Loop

Before I show you an example of a loop, let’s see what a non-loop looks like. We will use the circumstance of booking a hotel stay.

Here we go.

  • User entered prompt: “I am going to be in Boston for this coming weekend and need to find a suitable hotel. What are my options?”
  • AI response: “There are many dozens of hotels in Boston. Do you have a price range in mind? Do you have any preference for what part of Boston you would be staying in?”

You can see that I am undergoing a typical turn-by-turn effort with AI. I asked to find hotels in Boston for this weekend. The AI replied that there are a lot of choices and perhaps I might want to narrow down based on price and location.

Keeping The Dialogue Going

I will continue the dialogue.

  • User entered prompt: “I’m okay with $150 to $250 per night. A hotel near the aquarium would be preferred.”
  • AI response: “I found a hotel that is four blocks from the aquarium, costs $200 per night, and has this weekend available. Should I book the hotel for you?”

I went ahead and told the AI to book the hotel, but I might want to later cancel the reservation. The next day, a buddy told me that there was a different hotel that is having a discounted special for this weekend. I logged back into AI.

  • User prompt: “I want you to cancel that Boston hotel reservation because I found a different hotel with a better deal. I will give you the particulars for the new hotel and want you to book it for me.”
  • AI response: “Okay, I will book the new hotel and cancel the reservation for the previous hotel.”

Everything worked out. Of course, I had to log back into the AI and tell it that a different hotel had a better deal. That seems like a pain in the neck. The AI should be working on my behalf to find a better hotel.

Turning This Into A Loop

Suppose I was starting over on my effort to book a hotel. I will give AI a loop to be undertaken. The loop should include the various parameters and properties that were mentioned in the five precepts.

  • User prompt: “I want you to book a hotel in Boston for my trip taking place this weekend. My price range is $150 to $250. I prefer a hotel near the aquarium. If you find such a hotel, make a reservation that can be canceled. I want you to loop over the next 48 hours, doing so on an hourly basis, looking to see if a better hotel deal can be found. You are to book the better deal and cancel the prior reservation. Send me a message whenever you book a better deal. The loop is to end after 48 hours. Do a quick test with me to see if the loop is sensible and complete.”

I gave the AI various details about the loop.

One aspect is that I have deliberately taken myself out of the decision portion of the loop. I have told the AI it can proceed to book and cancel, and that I only need to be told about this. If you were worried that the AI might go astray, it would be easy to tell it to first seek permission before taking any such action.

The AI went through some test loops with me. Other refinements came up. It might take you a few iterations to get things straightened out. Doing so is worthwhile because you don’t want the AI to go ape and cause trouble.

Workflow-Centric Is The Key

During loop engineering, your mindset is usually focused on workflow. What are the series of tasks that the AI is to perform when looping? The traditional use of generative AI entails being prompt-centric rather than workflow-centric.

Please realize that loops are beneficial but also can be dicey. What if the AI hallucinates during a loop? Suppose the AI doesn’t adhere to your loop instructions? Maybe you were vague, and the loop stipulations were interpreted differently than you intended. Loops are powerful. Good loops require attention to detail and aptitude.

Loops are harder to adopt in conventional generative AI than they are in agentic AI. Well, at least right now. The odds are that this will change as conventional AI becomes more advanced. The ease of writing one-shot prompts is that you normally can’t go off the cliff with just one bad prompt. With a loop, you are potentially starting a flywheel that might cycle endlessly and spin out of orbit.

The famous American naturalist Thornton Burgess made this pointed remark: “Who runs in circles never gets far.” With AI, the reality is that a circular loop can be extremely useful, such as my example of booking a hotel stay, but it won’t get very far without the right kind of setup. Make sure the AI is fruitfully running in a circle, and you’ll be okay.