Close Menu
Ztoog
    What's Hot
    Gadgets

    7 Best Sleeping Pads (2024): For Camping, Backpacking, and Travel

    Technology

    Ham Radio Inspired This Scranton University Student to Pursue Engineering

    The Future

    Take Care of Your Eyes Naturally With These 10 Tips

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      What is Project Management? 5 Best Tools that You Can Try

      Operational excellence strategy and continuous improvement

      Hannah Fry: AI isn’t as powerful as we think

      FanDuel goes all in on responsible gaming push with new Play with a Plan campaign

      Gettyimages.com Is the Best Website on the Internet Right Now

    • Technology

      Iran war: How could it end?

      Democratic senators question CFTC staffing cuts in Chicago enforcement office

      Google’s Cloud AI lead on the three frontiers of model capability

      AMD agrees to backstop a $300M loan from Goldman Sachs for Crusoe to buy AMD AI chips, the first known case of AMD chips used as debt collateral (The Information)

      Productivity apps failed me when I needed them most

    • Gadgets

      macOS Tahoe 26.3.1 update will “upgrade” your M5’s CPU to new “super” cores

      Lenovo Shows Off a ThinkBook Modular AI PC Concept With Swappable Ports and Detachable Displays at MWC 2026

      POCO M8 Review: The Ultimate Budget Smartphone With Some Cons

      The Mission: Impossible of SSDs has arrived with a fingerprint lock

      6 Best Phones With Headphone Jacks (2026), Tested and Reviewed

    • Mobile

      Android’s March update is all about finding people, apps, and your missing bags

      Watch Xiaomi’s global launch event live here

      Our poll shows what buyers actually care about in new smartphones (Hint: it’s not AI)

      Is Strava down for you? You’re not alone

      The Motorola Razr FIFA World Cup 2026 Edition was literally just unveiled, and Verizon is already giving them away

    • Science

      Big Tech Signs White House Data Center Pledge With Good Optics and Little Substance

      Inside the best dark matter detector ever built

      NASA’s Artemis moon exploration programme is getting a major makeover

      Scientists crack the case of “screeching” Scotch tape

      Blue-faced, puffy-lipped monkey scores a rare conservation win

    • AI

      Online harassment is entering its AI era

      Meet NullClaw: The 678 KB Zig AI Agent Framework Running on 1 MB RAM and Booting in Two Milliseconds

      New method could increase LLM training efficiency | Ztoog

      The human work behind humanoid robots is being hidden

      NVIDIA Releases DreamDojo: An Open-Source Robot World Model Trained on 44,711 Hours of Real-World Human Video Data

    • Crypto

      Google paid startup Form Energy $1B for its massive 100-hour battery

      Ethereum Breakout Alert: Corrective Channel Flip Sparks Impulsive Wave

      Show Your ID Or No Deal

      Jane Street sued for alleged front-running trades that accelerated Terraform Labs meltdown

      Bitcoin Trades Below ETF Cost-Basis As MVRV Signals Mounting Pressure

    Ztoog
    Home » Beyond Prompt-and-Pray – O’Reilly
    Technology

    Beyond Prompt-and-Pray – O’Reilly

    Facebook Twitter Pinterest WhatsApp
    Beyond Prompt-and-Pray – O’Reilly
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    TL;DR:

    • Enterprise AI groups are discovering that purely agentic approaches (dynamically chaining LLM calls) don’t ship the reliability wanted for manufacturing methods.
    • The prompt-and-pray mannequin—the place enterprise logic lives fully in prompts—creates methods which might be unreliable, inefficient, and unimaginable to take care of at scale.
    • A shift towards structured automation, which separates conversational capacity from enterprise logic execution, is required for enterprise-grade reliability.
    • This strategy delivers substantial advantages: constant execution, decrease prices, higher safety, and methods that may be maintained like conventional software program.

    Picture this: The present state of conversational AI is sort of a scene from Hieronymus Bosch’s Garden of Earthly Delights. At first look, it’s mesmerizing—a paradise of potential. AI methods promise seamless conversations, clever brokers, and easy integration. But look intently and chaos emerges: a false paradise all alongside.

    Your firm’s AI assistant confidently tells a buyer it’s processed their pressing withdrawal request—besides it hasn’t, as a result of it misinterpreted the API documentation. Or maybe it cheerfully informs your CEO it’s archived these delicate board paperwork—into fully the mistaken folder. These aren’t hypothetical eventualities; they’re the day by day actuality for organizations betting their operations on the prompt-and-pray strategy to AI implementation.



    Learn quicker. Dig deeper. See farther.

    The Evolution of Expectations

    For years, the AI world was pushed by scaling legal guidelines: the empirical commentary that bigger fashions and greater datasets led to proportionally higher efficiency. This fueled a perception that merely making fashions greater would remedy deeper points like accuracy, understanding, and reasoning. However, there’s rising consensus that the period of scaling legal guidelines is coming to an finish. Incremental beneficial properties are more durable to realize, and organizations betting on ever-more-powerful LLMs are starting to see diminishing returns.

    Against this backdrop, expectations for conversational AI have skyrocketed. Remember the straightforward chatbots of yesterday? They dealt with primary FAQs with preprogrammed responses. Today’s enterprises need AI methods that may:

    • Navigate advanced workflows throughout a number of departments
    • Interface with tons of of inner APIs and companies
    • Handle delicate operations with safety and compliance in thoughts
    • Scale reliably throughout hundreds of customers and tens of millions of interactions

    However, it’s vital to carve out what these methods are—and should not. When we speak about conversational AI, we’re referring to methods designed to have a dialog, orchestrate workflows, and make choices in actual time. These are methods that have interaction in conversations and combine with APIs however don’t create stand-alone content material like emails, displays, or paperwork. Use circumstances like “write this email for me” and “create a deck for me” fall into content material technology, which lies outdoors this scope. This distinction is vital as a result of the challenges and options for conversational AI are distinctive to methods that function in an interactive, real-time surroundings.

    We’ve been advised 2025 would be the Year of Agents, however on the similar time there’s a rising consensus from the likes of Anthropic, Hugging Face, and different main voices that advanced workflows require extra management than merely trusting an LLM to determine every part out.

    The Prompt-and-Pray Problem

    The customary playbook for a lot of conversational AI implementations right now appears one thing like this:

    1. Collect related context and documentation
    2. Craft a immediate explaining the duty
    3. Ask the LLM to generate a plan or response
    4. Trust that it really works as meant

    This strategy—which we name immediate and pray—appears enticing at first. It’s fast to implement and demos properly. But it harbors critical points that develop into obvious at scale:

    Unreliability

    Every interplay turns into a brand new alternative for error. The similar question can yield completely different outcomes relying on how the mannequin interprets the context that day. When coping with enterprise workflows, this variability is unacceptable.

    To get a way of the unreliable nature of the prompt-and-pray strategy, think about that Hugging Face studies the cutting-edge on operate calling is properly beneath 90% correct. 90% accuracy for software program will typically be a deal-breaker, however the promise of brokers rests on the flexibility to chain them collectively: Even 5 in a row will fail over 40% of the time!

    Inefficiency

    Dynamic technology of responses and plans is computationally costly. Each interplay requires a number of API calls, token processing, and runtime decision-making. This interprets to increased prices and slower response instances.

    Complexity

    Debugging these methods is a nightmare. When an LLM doesn’t do what you need, your fundamental recourse is to vary the enter. But the one solution to know the influence that your change could have is trial and error. When your utility includes many steps, every of which makes use of the output from one LLM name as enter for an additional, you might be left sifting by chains of LLM reasoning, attempting to know why the mannequin made sure choices. Development velocity grinds to a halt.

    Security

    Letting LLMs make runtime choices about enterprise logic creates pointless threat. The OWASP AI Security & Privacy Guide particularly warns in opposition to “Excessive Agency”—giving AI methods an excessive amount of autonomous decision-making energy. Yet many present implementations do precisely that, exposing organizations to potential breaches and unintended outcomes.

    A Better Way Forward: Structured Automation

    The different isn’t to desert AI’s capabilities however to harness them extra intelligently by structured automation. Structured automation is a improvement strategy that separates conversational AI’s pure language understanding from deterministic workflow execution. This means utilizing LLMs to interpret consumer enter and make clear what they need, whereas counting on predefined, testable workflows for vital operations. By separating these issues, structured automation ensures that AI-powered methods are dependable, environment friendly, and maintainable.

    This strategy separates issues which might be typically muddled in prompt-and-pray methods:

    • Understanding what the consumer desires: Use LLMs for his or her energy in understanding, manipulating, and producing pure language
    • Business logic execution: Rely on predefined, examined workflows for vital operations
    • State administration: Maintain clear management over system state and transitions

    The key precept is easy: Generate as soon as, run reliably without end. Instead of getting LLMs make runtime choices about enterprise logic, use them to assist create sturdy, reusable workflows that may be examined, versioned, and maintained like conventional software program.

    By protecting the enterprise logic separate from conversational capabilities, structured automation ensures that methods stay dependable, environment friendly, and safe. This strategy additionally reinforces the boundary between generative conversational duties (the place the LLM thrives) and operational decision-making (which is finest dealt with by deterministic, software-like processes).

    By “predefined, tested workflows,” we imply creating workflows through the design part, utilizing AI to help with concepts and patterns. These workflows are then carried out as conventional software program, which will be examined, versioned, and maintained. This strategy is properly understood in software program engineering and contrasts sharply with constructing brokers that depend on runtime choices—an inherently much less dependable and harder-to-maintain mannequin.

    Alex Strick van Linschoten and the crew at ZenML have not too long ago compiled a database of 400+ (and rising!) LLM deployments within the enterprise. Not surprisingly, they found that structured automation delivers considerably extra worth throughout the board than the prompt-and-pray strategy:

    There’s a putting disconnect between the promise of absolutely autonomous brokers and their presence in customer-facing deployments. This hole isn’t shocking after we study the complexities concerned. The actuality is that profitable deployments are inclined to favor a extra constrained strategy, and the explanations are illuminating.…
    Take Lindy.ai’s journey: they started with open-ended prompts, dreaming of absolutely autonomous brokers. However, they found that reliability improved dramatically once they shifted to structured workflows. Similarly, Rexera discovered success by implementing determination bushes for high quality management, successfully constraining their brokers’ determination house to enhance predictability and reliability.

    The prompt-and-pray strategy is tempting as a result of it demos properly and feels quick. But beneath the floor, it’s a patchwork of brittle improvisation and runaway prices. The antidote isn’t abandoning the promise of AI—it’s designing methods with a transparent separation of issues: conversational fluency dealt with by LLMs, enterprise logic powered by structured workflows.

    What Does Structured Automation Look Like in Practice?

    Consider a typical buyer assist state of affairs: A buyer messages your AI assistant saying, “Hey, you messed up my order!”

    • The LLM interprets the consumer’s message, asking clarifying questions like “What’s missing from your order?”
    • Having acquired the related particulars, the structured workflow queries backend information to find out the problem: Were objects shipped individually? Are they nonetheless in transit? Were they out of inventory?
    • Based on this info, the structured workflow determines the suitable choices: a refund, reshipment, or one other decision. If wanted, it requests extra info from the client, leveraging the LLM to deal with the dialog.

    Here, the LLM excels at navigating the complexities of human language and dialogue. But the vital enterprise logic—like querying databases, checking inventory, and figuring out resolutions—lives in predefined workflows.

    This strategy ensures:

    • Reliability: The similar logic applies persistently throughout all customers.
    • Security: Sensitive operations are tightly managed.
    • Efficiency: Developers can take a look at, model, and enhance workflows like conventional software program.

    Structured automation bridges the very best of each worlds: conversational fluency powered by LLMs and reliable execution dealt with by workflows.

    What About the Long Tail?

    A standard objection to structured automation is that it doesn’t scale to deal with the “long tail” of duties—these uncommon, unpredictable eventualities that appear unimaginable to predefine. But the reality is that structured automation simplifies edge-case administration by making LLM improvisation secure and measurable.

    Here’s the way it works: Low-risk or uncommon duties will be dealt with flexibly by LLMs within the brief time period. Each interplay is logged, patterns are analyzed, and workflows are created for duties that develop into frequent or vital. Today’s LLMs are very able to producing the code for a structured workflow given examples of profitable conversations. This iterative strategy turns the lengthy tail right into a manageable pipeline of recent performance, with the data that by selling these duties into structured workflows we acquire reliability, explainability, and effectivity.

    From Runtime to Design Time

    Let’s revisit the sooner instance: A buyer messages your AI assistant saying, “Hey, you messed up my order!”

    The Prompt-and-Pray Approach

    1. Dynamically interprets messages and generates responses
    2. Makes real-time API calls to execute operations
    3. Relies on improvisation to resolve points

    This strategy results in unpredictable outcomes, safety dangers, and excessive debugging prices.

    A Structured Automation Approach

    1. Uses LLMs to interpret consumer enter and collect particulars
    2. Executes vital duties by examined, versioned workflows
    3. Relies on structured methods for constant outcomes

    The Benefits Are Substantial:

    • Predictable execution: Workflows behave persistently each time.
    • Lower prices: Reduced token utilization and processing overhead.
    • Better safety: Clear boundaries round delicate operations.
    • Easier upkeep: Standard software program improvement practices apply.

    The Role of Humans

    For edge circumstances, the system escalates to a human with full context, guaranteeing delicate eventualities are dealt with with care. This human-in-the-loop mannequin combines AI effectivity with human oversight for a dependable and collaborative expertise.

    This methodology will be prolonged past expense studies to different domains like buyer assist, IT ticketing, and inner HR workflows—wherever conversational AI must reliably combine with backend methods.

    Building for Scale

    The way forward for enterprise conversational AI isn’t in giving fashions extra runtime autonomy—it’s in utilizing their capabilities extra intelligently to create dependable, maintainable methods. This means:

    • Treating AI-powered methods with the identical engineering rigor as conventional software program
    • Using LLMs as instruments for technology and understanding, not as runtime determination engines
    • Building methods that may be understood, maintained, and improved by regular engineering groups

    The query isn’t methods to automate every part without delay however how to take action in a manner that scales, works reliably, and delivers constant worth.

    Taking Action

    For technical leaders and determination makers, the trail ahead is obvious:

    1. Audit present implementations:
    • Identify areas the place prompt-and-pray approaches create threat
    • Measure the associated fee and reliability influence of present methods
    • Look for alternatives to implement structured automation

    2. Start small however assume massive:

    • Begin with pilot initiatives in well-understood domains
    • Build reusable elements and patterns
    • Document successes and classes discovered

    3. Invest in the appropriate instruments and practices:

    • Look for platforms that assist structured automation
    • Build experience in each LLM capabilities and conventional software program engineering
    • Develop clear pointers for when to make use of completely different approaches

    The period of immediate and pray could be starting, however you are able to do higher. As enterprises mature of their AI implementations, the main focus should shift from spectacular demos to dependable, scalable methods. Structured automation supplies the framework for this transition, combining the facility of AI with the reliability of conventional software program engineering.

    The way forward for enterprise AI isn’t nearly having the most recent fashions—it’s about utilizing them properly to construct methods that work persistently, scale successfully, and ship actual worth. The time to make this transition is now.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    Technology

    Iran war: How could it end?

    Technology

    Democratic senators question CFTC staffing cuts in Chicago enforcement office

    Technology

    Google’s Cloud AI lead on the three frontiers of model capability

    Technology

    AMD agrees to backstop a $300M loan from Goldman Sachs for Crusoe to buy AMD AI chips, the first known case of AMD chips used as debt collateral (The Information)

    Technology

    Productivity apps failed me when I needed them most

    Technology

    Makers are turning discarded vapes into tiny musical instruments

    Technology

    Best 85-Inch TV for 2026

    Technology

    Breaking Boundaries in Wireless Communication: Simulating Animated, On-Body RF Propagation

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Mobile

    Google accidentally erases many users’ Timeline data wiping out years of travel

    Earlier this month Google informed iOS and Android customers to replace the settings for his…

    Science

    Why do some cats have orange fur? New hue clues in an old mystery.

    Just as you shouldn’t choose a guide by its cowl, it’s unfair to guage a…

    Technology

    Billions to Connect Everyone to High-Speed Internet Could Still Fall Short

    Along the southeastern fringe of Oklahoma, the place expansive cattle ranches and empty storefronts dot…

    Crypto

    Why Is Bitcoin SV (BSV) Up 63% Today

    Over the course of the previous 4 days, Bitcoin SV (BSV) has witnessed a considerable…

    Science

    Can we spot every incoming asteroid before they hit Earth?

    Asteroid 2024 RW1 seen over the PhilippinesAllan Madelar/Facebook The shock discovery of asteroid 2024 RW1,…

    Our Picks
    Technology

    Top Enterprise Software Development Companies 2023- ReadWrite

    AI

    Sparse video tubes for joint video and image vision transformers – Ztoog

    Science

    Fermilab: Muons are still behaving oddly, which could break particle physics

    Categories
    • AI (1,560)
    • Crypto (1,826)
    • Gadgets (1,870)
    • Mobile (1,910)
    • Science (1,939)
    • Technology (1,862)
    • The Future (1,716)
    Most Popular
    Mobile

    New rumor matches Apple roadmap: iPad mini 7 to arrive in 2026 with OLED display

    The Future

    From golf to hunting, a new crop of startups want to make these experiences even better

    Gadgets

    Chrome can now organize your tab bar for you

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2026 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.