BuLLM vs Chat-Based AI: From Useful Answers to Accountable Workflows

BuLLM vs chat-based AI comparison banner

A chat assistant can explain a document, draft a reply, or help you think through a decision, and for many tasks that is enough. The trouble starts when the task has to end in a record that someone can trust. In this post, chat-based AI means a conversational assistant that answers in a window, while a workflow is a defined process with state, rules, and approvals. BuLLM, our platform, is meant to support the path from business requirements to tested workflows. This comparison is about that delivery approach, not a claim that every chat product lacks tools. Decide what the chat-based AI needs to finish If the task ends with a person reading and editing an answer, a chat tool may be enough. Examples include explaining a procedure, suggesting questions for a supplier, or drafting a message the user will review. The person stays responsible for checking the source and deciding what to do next. If the task updates records, sends messages, applies business rules, or waits for approval, define those duties separately. A chat window can sit in front of a workflow, but it does not tell you whether durable state, permission checks, and an auditable record sit behind it. Do not confuse chat-based AI with a powerless chatbot Some conversational products can retrieve information, call tools, and run multi-step tasks. Anthropic’s writing on agentic systems separates predefined workflows from agents that direct their own process and tool use. It also advises starting with the simplest solution that meets the need. That is a better starting point than saying chat makes words while workflows do work. Ask which actions the system can perform, under whose identity, with which approval, and with what recovery. A tool-enabled chat application may meet a requirement well, and a workflow with weak permissions may not. Where an AI agent fits in the work An AI agent is a model that takes steps toward a goal rather than giving a single reply. The agent reads the task, chooses an action, checks the result, and repeats. Each step the agent takes should stay inside the permissions the team has granted. Agentic workflows place that agent inside a defined process. The workflow sets the order of tasks, and the agent handles the steps that need judgment. A user can review the agent’s outputs before the process moves on. When you compare tools, ask the agent to finish a real task end to end. Count how many steps the agent completes without help, and note where a user must step in. That answer tells you more than one clever reply in a demo. The tasks a workflow can automate Most business work is a chain of small tasks. A workflow automates the tasks that follow a known rule and hands the rest to a person. Good automation runs each task the same way every time. Think about a team that processes supplier quotes. One task reads the quote, another task checks the price, and a third task routes the approval. A workflow moves the work through these steps without anyone copying data between screens. This kind of automation saves the team time on repetitive processes. The user still owns the judgment calls. The workflow owns the repetitive tasks that slow the team down. What prompt writing costs a team Chat-based AI depends on prompts. A clear prompt gets a useful answer, and a vague prompt wastes a round. Over a week, a team can spend real time writing and rewriting prompts for routine work. That prompt work sits with the user. The model waits for instruction, and the quality of the output tracks the quality of the prompt. A workflow removes most of that prompt burden for repeat tasks because the process is already defined. For a customer-facing job, the difference matters. The team spends less time on prompts and more time on the work the customer sees. Ask each vendor how much prompt skill a routine task still needs. What a workflow does with your documents Many teams start with documents. A workflow can run extraction on each document, pull the fields that matter, and write the result to a database or a spreadsheet. The same workflow can then produce summaries for the people who review them. This differs from pasting a document into a chat window. Chat reads what you upload and gives an answer you still have to move by hand. A workflow does the extraction, the storage, and the summary as one connected process. Compare how each handles missing context Suppose a user asks for a supplier comparison, and the system has three quotations but no agreed policy on substitutes. A good answer explains the options and asks for the policy. It should not treat a confident recommendation as permission to choose a substitute. In a workflow test, check whether the missing rule becomes a decision with an owner. Then see whether the answer attaches to the right enquiry and stays visible to later reviewers. Compare approvals in chat and in workflows A statement inside a document is not an authorized user’s approval. OWASP warns that indirect prompt injection can arrive through retrieved files or other outside content. Its guidance recommends enforcing permissions outside the model and requiring action-specific approval for risky operations. Try a harmless test in which a supplied document asks the application to send the output to a different address. The document must not change the approved recipient, because the application checks the destination and authority before any send. Test accuracy and traceability before you trust the output A workflow that produces a business record needs accuracy you can actually check. Ask how each agent or workflow supports traceability from the output back to the source. Good outputs cite their sources, so a reviewer can confirm accuracy without redoing the analysis. Security belongs in the same test. Ask who can run the workflow, what data the agent can read, and where the output goes. A trustworthy workflow enforces those security … Read more

BuLLM vs a Custom Agent Stack: What an FDE Team Should Evaluate

BuLLM vs custom agent stack comparison banner

Every enterprise AI project reaches the same fork, where you either assemble your own agent stack or start from a platform. Most comparisons treat the two as rivals, and that makes them unfair to both. A custom agent stack is a set of choices your engineers make about model calls, workflow state, integrations, data access, testing, and operations. BuLLM is our platform for helping forward deployed engineers (FDEs) move from client requirements to a tested workflow. A fair comparison asks what your team still has to build and maintain with each approach. Why the usual agent stack comparison goes wrong Do not compare a working custom system with a platform roadmap, and do not compare a polished platform demonstration with the first afternoon of a custom build. Either mistake lets one side win by default. Use the same workload, the same required controls, and the same acceptance evidence. Record what is demonstrated, what is configured by hand, and what is still planned. Start the comparison with one delivery job Choose a bounded task that looks like work your FDEs actually deliver. A synthetic enquiry workflow could read a bill of materials, find missing fields, collect supplier information, and prepare a quotation for approval. A marketing example could qualify and route leads under explicit business rules. Write the pass criteria before you pick any components, and list the required inputs, the allowed data, the calculations, the exception routes, the approvers, and the final output. Add a changed requirement and a failed integration, so neither side wins on the easiest path. What a custom agent stack already provides Modern frameworks go well beyond prompt chains. The LangGraph documentation describes durable execution, human-in-the-loop controls, memory, and debugging support for agent orchestration, and Temporal documents a durable workflow execution model. A custom build can combine such tools with application code and your existing systems. These are building blocks, not a finished guarantee for your project. Your engineers still choose the architecture, write the business rules, configure identity, connect authorized data, and test recovery. It would be wrong to say a framework build cannot support approvals or persistence just because they are not packaged as your business process. How to evaluate BuLLM on delivery evidence BuLLM’s intended difference is the delivery path, which aims to bring client documents and agreed requirements into a structured, tested workflow that the firm’s engineers can hand over. Our approach starts with rules, scripts, and suitable open-source building blocks, and brings in an LLM only where those are not enough. Treat that as an approach to evaluate, not as proof of results. Ask to see the current build take a requirement through a test, expose a missing decision, and produce a handover artifact. Mark anything unavailable as planned, because a deployed product such as BuLLMQuote does not show that every BuLLM platform feature is ready. Test the agent stack beyond its first successful run Run the same failure cases on both approaches, starting with a tool that times out after completing its action. Can the workflow resume without repeating that action? Ask what happens when an approval arrives after the input has changed. Check whether the operator can see which version produced an output. Then test a user without the right access, and a retrieved document that tries to redirect an action. A model’s stated intention is not the control. Inspect the permission check, the tool arguments, and the approval record, and judge the observed behavior, not the architecture diagram. Compare ownership and operating cost Count more than model tokens by including engineering setup, integration upkeep, testing, hosting, monitoring, incident handling, and upgrades. On the platform side, include licensing and the work still needed to fit the client’s process. Clarify rights to application code, workflow definitions, data, templates, and documentation as separate questions. Ask who can maintain the system after handover and what it takes to move it. Read the actual terms, because neither a free library nor a platform contract settles these points on its own. Use an evidence scorecard For each requirement, record four things: the observed result, the evidence, the remaining work, and its owner. Useful rows include context preparation, rule validation, integration recovery, approval handling, access control, observability, and handover. Keep roadmap features in a separate status so they never count as passed tests. A custom stack may suit a team with strong engineering capacity and a need for architectural control. BuLLM may be worth evaluating where repeated delivery preparation is the problem the firm wants to reduce. Neither choice removes the need for domain judgment or business acceptance. Compare BuLLM and an agent stack on your workload Our invitation is a bounded evaluation, not a claim that BuLLM replaces every framework. Bring one workflow, its hardest exception, and the evidence your team would need to accept it. We can discuss what the current platform demonstrates, what your engineers would configure, and which requirements need more work before a delivery commitment. Srinath RangaswamySrinath Rangaswamy is a director at DigiBull AI, a Mysuru-based company building AI and machine learning applications. Its BuLLM platform helps Forward Deployed Engineers build client workflows faster, with a focus on manufacturing and marketing.

A Guided Product Tour for New Users: How We Built One Into Our Workbench App

New software is easiest to learn when it explains itself, so we built a guided product tour into our workbench app. In our current build, the available screens tell a new user what they do and what to do next. This article shows what the tour covers and the ideas behind it. It is written for teams planning software onboarding for their own product. Why a product tour helps software onboarding A new user decides within minutes whether a tool feels useful or confusing. A good product tour gives that user a small win before frustration sets in. Onboarding tours also help the people who answer questions after the first login. When the screen explains itself, users have fewer basic questions to ask. The app in short The workbench takes the information in a discovery document through a guided pipeline. The stages shown in the app are Ingestion, Context, Workbench, and Validation. A first time user opens a dense three pane screen and has to guess what every control does. The tour removes that guessing by explaining each control as the user meets it. What the tour does What makes an interactive product tour work An interactive product tour asks the user to do something instead of only reading a popover. Each step should point at one control and say what it does in a single line. We keep every tour short and tie each step to a control that is visible on screen. A step that points at an empty space only confuses the person trying to learn. The opening tour The 14 steps of the opening tour are listed below in the order a new user sees them. The starting screen Before a goal is sent, the whole screen is the goal box, so the tour keeps to four controls. These are the box where you name the agent and the cards that read your sentence. The other two are the send arrow and the view toggle in the top bar. The toggle flips between the FDE workspace and the Staging view, and it changes only the view, not what is deployed. After the goal is sent Once the goal is in, the screen grows into three panes and the tour grows with it. The steps cover adding files, the workflow menu, the draft the assistant writes from your goal, and the chat controls. When the first files arrive, a third pane opens to track them. The same tour continues into it, with the file list, the files that need attention, and the action that starts ingestion. Other screens Later pipeline screens carry their own tours where they are available, and Masters has a short tour of its own. A locked screen shows only what exists today, so its tour doubles as the explanation of how it unlocks. A tour explains how to use a screen, and it does not mean every capability on that screen is released. Tour or demo A product demo shows a finished result to a prospect, while a product tour teaches a user how to do the work. We built a tour because our users need to do the work themselves. How the tour is built The tour text lives in one content file, separate from the small engine that runs it. That means a wording change does not touch the rest of the app. A simple sequence for your own product tour If you plan a product tour for your own software, you can follow a sequence like this one. The next time you open the app, click the ? button in the top bar and let the tour show you around. Srinath RangaswamySrinath Rangaswamy is a director at DigiBull AI, a Mysuru-based company building AI and machine learning applications. Its BuLLM platform helps Forward Deployed Engineers build client workflows faster, with a focus on manufacturing and marketing.

UAT When the Business Team Has No Time

The workflow passes its automated tests. The project team is ready to release it. The people who must use it are closing the month, handling customers, and asking whether testing can wait. This is where user acceptance testing, or UAT, becomes a delivery problem rather than a testing-tool problem. Our recommendation is to make business acceptance smaller and more precise, not to replace it with a developer’s approval. Prepare the evidence before the session, reserve the decisions that require business judgment, and keep untested risks visible. A shorter review can still be meaningful. An unanswered review request is not acceptance. Where user acceptance testing fits User acceptance testing is usually the final phase of software testing. Splunk describes it as the stage where real users check that a system meets the business requirements and works in real-world scenarios, and notes that, unlike earlier phases, it aims to validate the end-to-end business flow rather than hunt for bugs. In practice, that means QA and engineering testing come first, and UAT follows once the system is stable enough for business users to judge. The environment matters too. A clinical-systems guidance paper on UAT describes development, test, and production environments, with UAT done in the test environment by the people who will accept the system, and not in production. The setting is different from ours, but the principle carries over: business users should not be asked to accept a workflow in a space where a mistake touches live data. Give UAT a decision owner A group invitation does not identify who can accept a workflow. Name the person responsible for each business outcome: a sourcing lead for supplier comparisons, a commercial owner for quotation rules, or a marketing owner for lead-routing decisions. One person may cover several outcomes, but the responsibility should be explicit. Also name a deputy and the limit of that deputy’s authority. Someone may be able to test navigation without being allowed to approve a discount rule. When the required owner is unavailable, record the dependency and escalate the release decision. Do not silently transfer business accountability to the engineer who built the system. Who should take part in UAT Splunk lists the usual participants: business analysts, product owners or managers, subject matter experts, customer support representatives, and end users or customers, working with the development team. The point is to get business users and business stakeholders with different perspectives into the same review, without inviting everyone to every session. The clinical UAT paper adds two practical points. Testers should be trained on how to run the test scripts, and the people who built the system should not be the testers. For a short session, a brief kick-off that walks through the scenarios is usually enough, and it keeps the end users focused on judging the result instead of learning the tool. Types of acceptance testing Splunk separates UAT into four types. Alpha testing is done in-house by the development team with a limited group of end users. Beta testing involves a broader audience outside the organization in a live environment. Contractual acceptance testing checks the software against the requirements in a contract between client and vendor, and regulatory acceptance testing checks compliance with laws, regulations, and standards. Most internal workflow releases resemble alpha testing or contractual acceptance, so knowing which type you are running tells you who must sign off and what evidence they need. Build a UAT packet around real decisions Do not ask a busy reviewer to explore an empty test environment and report anything unusual. Give them a prepared packet: the requirement, a representative input, the expected result, the observed result, and the decision needed. Include the workflow version and the permissions used during the test. Microsoft’s guidance for targeted Dynamics 365 UAT emphasizes realistic scenarios, defined scope, business users, appropriate access, and documented results. The same preparation principle is useful beyond that product. A reviewer should spend their time deciding whether the behavior fits the business, rather than finding the correct file or login. Choose UAT cases by consequence Start with a normal transaction, then add cases where a wrong result would matter. For a quoting workflow, that might mean a missing drawing revision, a supplier response in a different unit, an expired price, and a quote requiring an additional approval. These are examples to adapt, not a universal minimum test set. For every case, define what a safe outcome looks like. A missing price may require the workflow to stop and ask for a decision, not produce a plausible estimate. A permission failure should remain a permission failure. Test what the system refuses or escalates as carefully as what it completes. Separate technical testing from UAT Engineers can check calculations, required fields, integration contracts, retries, and whether the right approval screen appears. Those checks should run before the business session. They reduce avoidable interruptions and make failures easier to diagnose. Business users still need to judge whether the rule is correct, whether the exception route is usable, and whether the output is suitable for its intended purpose. A correct calculation can apply the wrong commercial policy. An AI-generated summary can be readable while omitting the detail a buyer needs. Automated success does not answer either question. A compact UAT plan for limited time A short session still needs a plan. Splunk’s process runs from gathering business requirements, to a UAT test plan, to test scenarios, to test data and a test environment, to execution and defect reporting, and finally to resolution and retesting. For a time-poor team, we would shrink each step instead of dropping it. Write acceptance criteria as plain statements the business owner can confirm or reject, such as “a quote with a missing price stops for a decision”. Keep the test cases few, and tie each one to a business requirement so nobody wonders why it is there. Prepare realistic test data before the session, because searching for sample orders consumes the reviewer’s time. The same clinical UAT paper recommends … Read more

Local AI: Hardware, Costs and Hallucination Risks

Illustration titled Local AI Readiness: a person at a desk reviewing a local AI server, GPU and readiness checklist

“Let’s run the model locally” usually comes from a good place. The data stays closer to home, there is no per-token bill, and the security team relaxes. Some of that is true. But local AI is a different set of costs and approvals, not an absence of them. This post is a checklist for teams deciding whether a local deployment is ready to start. What “local” actually means Local can mean a laptop, a workstation under someone’s desk, a server in the company’s own data centre, or dedicated machines in a private cloud. Each has a different owner, budget and approval path. “Local” also does not mean “air-gapped”. A model on your own server can still call external tools, pull updates or send logs out. Decide which one you mean before you plan anything. 1. Compute: start with memory, not speed The first hard limit is memory. A model’s weights have to fit in the GPU’s memory (or, more slowly, in system memory). A rough rule: the number of parameters multiplied by the bytes used per weight. These are approximations. Add working memory for the conversation context (the KV cache), which grows with longer documents and more simultaneous users, plus overhead for the runtime. Always test with your own documents and context length, not a short demo prompt. Then ask about speed. Two numbers matter: how long a user waits for the first words, and how fast the rest arrives. Long documents slow the first one down. Several users at once slow both. A setup that feels instant for one tester can be unusable for ten. Hardware components in plain terms Buyers often get a quote that lists parts they cannot compare. These are the ones that shape whether a local AI server suits your workload. Ask the vendor or your IT team to state, for your chosen model, how much GPU memory it needs at your document length and user count, and what response time they measured. A number on a spec sheet does not replace a test with your own examples. Inference software and model formats The hardware is only half of the setup. An inference engine (also called an inference backend) is the software that loads the model and answers requests. It affects speed, how many users can share one GPU and which model formats you can use. Some serving engines report how much conversation memory (KV cache) fits on the GPU and give an estimate of how many requests can run at once, which is a useful number to ask for. A quantized version of a model can behave differently from the original, so re-run your own examples on the exact model version you will deploy. Write down which engine, model version and settings passed, and test again when any of them changes. Worked examples: matching AI models to a graphics card or an Apple Silicon Mac The memory rule above is easier to apply with real numbers. These examples are estimates for the model weights only. Your own tests decide the real limit. Take Mistral 7B, an open model that its publisher describes as a 7.3-billion-parameter model released under the Apache 2.0 licence. Its parameter count is the starting point for any memory estimate. At 16-bit precision, 7.3 billion parameters at 2 bytes each come to roughly 14.6 GB. A quantized 4-bit version of the same model comes to roughly 3.7 GB. Add the conversation memory and runtime overhead described earlier. For 7B models like this one, the weights are the smaller part of the problem. Context length and the number of simultaneous users are the larger one. Now compare that with a graphics card. NVIDIA lists 24 GB of memory on the GeForce RTX 3090. A 7B model fits on that card at either precision, with room left for longer documents. A 70-billion-parameter model quantized to 4-bit needs roughly 35 GB for weights alone, so it does not fit on a single 24 GB card. It would need a card with more memory, several cards, or a runtime that places part of the model in system RAM, which slows the part that runs there. With NVIDIA GPUs the memory on the card is the number to check first, so ask for it by name on any quote. Apple Silicon works differently. Apple describes its chips as using a unified memory architecture, where the CPU and GPU access the same memory. There is no separate pool of video memory to count. The memory you configure on the Mac sets the ceiling, and the operating system and your other applications share it. Whether a given model runs fast enough on a particular Mac is a measurement, not a calculation. Whatever the hardware, write down the quantized model version, the memory you measured at your document length and the response time you saw. Those memory requirements are what you hand to the person approving the purchase. Storage and where model files come from Plan disk space for the model files themselves. Their size follows the same arithmetic as memory: the 4-bit 7B example above is roughly 3.7 GB, and a larger model can run to tens of gigabytes. Keep room for several versions, because you will want the previous one available if a new version fails your tests. A fast SSD, such as an NVMe drive, shortens the time to load a model into memory after a restart, though it does not change answer speed once the model is loaded. Many open AI models are published on the Hugging Face Hub. Each repository has a model card, and the licence is specified in the card’s metadata. Read the card for the exact version you download, record the licence next to the version in your register, and keep a copy of the model file on your own storage. For an offline AI setup, that copy is also what lets you reinstall without reaching the internet. 2. Model fit: smaller is not the same as good enough Compressed … Read more

What an FDE can prepare while IT access is blocked

Access provisioning is one of the most common schedule risks on enterprise engagements: the VPN that takes three weeks, the service account stuck in an approval queue, the API credentials waiting on a security review. Some of that waiting is unavoidable. A great deal of the lost time is not. Here is what a forward deployed engineer can legitimately prepare before access lands, and the one rule that governs all of it. A forward deployed engineer (FDE) is a software engineer who works directly inside customer environments, shipping production code against real customer needs rather than a distant roadmap. The role sits next to titles like solutions architect, solutions engineer, technical consultant, production engineer, and deployment strategist, but the center of gravity is different: an FDE owns a technical deployment end to end, from ambiguous problems to business outcomes, and forward deployed engineering runs on customer empathy, business sense, and the ability to ship software in the real world, not in a lab. The one rule: never work around permissions Everything below uses only what the client has explicitly permitted: synthetic data, anonymized extracts, documented schemas, published API documentation, and conversations. That discipline is core to forward deployed engineering, because the engagement’s trust is worth more than any recovered week. No borrowed credentials, no personal accounts holding client data, no copies taken to unapproved locations, no “temporary” bypasses. A shortcut that violates policy can end the engagement and the reputation that came with it, and no recovered week is worth that. When in doubt, ask in writing and wait. Build the access and dependency register on day one “Waiting for access” is a vague blocker; a register is a workstream. List everything the work depends on: each system, credential, environment, and approval; who grants it; when it was requested; its current status; and exactly what it unblocks. Review the register in every status call. Escalation stops being “we are still waiting” and becomes “the service account request has been with the security team for nine days, and it blocks integration testing, which sits on the critical path for the December milestone.” Specific gets unblocked faster than general, and the register makes the waiting itself visible as a managed risk rather than an excuse discovered at the end. Permitted sample-data work With the client’s agreement, build against synthetic data shaped like the real thing. If the order extract has forty fields with known formats, a synthetic file can carry the same fields, the same formats, and the same edge cases: missing values, mixed date formats, duplicates, and the one record ten times larger than the rest. Against that file you can build and test schema mappings, transformation logic, and validation rules before a single real record exists. Two disciplines matter. Mark everything synthetic, so nothing mock leaks into a deliverable looking real. And record what the synthetic data assumes, because every assumption gets re-verified against real data later. Mock integrations and rapid prototyping against documented contracts Where API documentation or an agreed interface definition exists, build a stub that honors the contract: the same endpoints, payload shapes, status codes, and error cases. Write the contract tests now. This is where a forward deployed engineer’s technical integration work starts, long before the first login: the data pipelines, transformation logic, and error handling that the final system needs can all be built and exercised against the stub. The same holds when the deliverable involves AI systems: the agentic workflows around an AI model, meaning the retrieval steps, tool calls, validation gates, and human approvals, can be prototyped against synthetic inputs while model and system access is still pending. Rapid prototyping here is not throwaway work; every contract test written now becomes a regression test later. When real access arrives, the tests get pointed at the real endpoint, and integration can become verification measured in days rather than discovery measured in weeks. Keep an assumption log next to the mocks. A stub encodes your reading of the documentation, and documentation and reality diverge often enough that the first real call should be treated as a test of the mock, not just of the system. Capture what never needed a login The largest block of access-free work is understanding the process: interviews with the people who run it, the unwritten rules, the exceptions, and the definition of done. Conversations carry context that documents leave out, which is why we treat conversations as project context in their own right. Add the acceptance criteria, the test plans, the review and sign-off path, and a glossary of the client’s own terms. None of it needs a system credential, and all of it lands on the critical path later. Customer meetings in this phase are working sessions, not status calls: map the business problem, the current workarounds, and what technical success looks like to the people who will judge it. What a prepared first week looks like Concretely, a blocked week can still produce: the dependency register reviewed with the client’s project owner; a synthetic dataset agreed in writing and built to the documented schema; mappings and validations passing against that dataset; stubs for the documented APIs with contract tests green; interview notes from process owners with the unwritten rules extracted and confirmed back; and acceptance criteria drafted for review. None of that is the finished integration. All of it is work that would otherwise start on the day access finally arrives, which is exactly the delay everyone says they cannot afford. What this buys, and what it does not Done well, this preparation changes what the day after access looks like for a forward deployed engineer: verification instead of discovery. The mappings, transformations, validations, and tests already exist; real data and real systems either confirm them or correct them quickly. What it does not do is replace real validation. Mock-approved work that never gets re-verified against production reality is a liability wearing a green checkmark. The dependency register is the honest record of what remains, and the … Read more

Agent orchestration versus workflow orchestration

Two different things share the word orchestration in enterprise AI conversations: AI agent orchestration and workflow orchestration, and the confusion between them is expensive. Expect a workflow engine to reason and you get a rigid system that breaks on real input. Expect an agent loop to hand you a clean audit trail and you get a transcript of decisions instead. They solve different problems, and a serious enterprise workflow usually needs both, each where it belongs. Getting the split right is where real workflow optimization lives; expecting one kind to do the other’s job is where budgets go to die. What AI agent orchestration is Agent orchestration is a model in a loop: observe the situation, decide the next step, call a tool, read the result, decide again, until the task is done or the budget runs out. The path through the work is chosen at runtime by the model, based on what it finds along the way. Typical LLM agent orchestration workloads look like customer service triage that routes a request to the right specialist process, fraud detection reviews that assemble evidence before a person decides, and data extraction from documents whose layout changes every week. This is genuinely powerful for open-ended work: research across sources whose structure you did not know in advance, investigation that branches on what it discovers, drafting and analysis where the next step depends on the content of the last one. The limits come from the same property. The path varies from run to run, and cost varies with it. You cannot promise in advance which steps will happen, so audit after the fact means reading a transcript of decisions. “Did step X run before step Y?” is sometimes not even a meaningful question, because there was no fixed X and Y. The patterns agent orchestration takes Agent orchestration is younger than workflow orchestration, and its vocabulary is still settling, but a few orchestration patterns show up repeatedly in multi-agent systems. In the sequential pattern, agents run in a fixed chain, each taking the previous agent’s output: one extracts, one analyzes, one drafts. The concurrent pattern fans a task out to several agents at once and merges their answers. In a handoff pattern, a triage agent decides which specialist agent gets the work, the way a customer service system routes a ticket. The group chat pattern lets several agents iterate on a shared problem until one declares the result good enough. Under all of these sits the same machinery: a control plane that decides which agent runs next, shared memory and state layers that give agents a common view of the task, and task sequencing that records what happened in what order. Frameworks such as the OpenAI Agents SDK package exactly these pieces. Topologies differ too. Centralized orchestration puts a single orchestrator in charge of every agent; decentralized and hierarchical orchestration distribute that control across layers or peers. The trade-offs are real – a single orchestrator is simpler to reason about and easier to audit, while hierarchical designs scale to more agents at the cost of harder debugging – but they are second-order concerns next to the basic question of whether the step needs reasoning at all. What workflow orchestration is Workflow orchestration is a predefined process executed by a durable engine. Someone designs the steps and their order in advance: receive the document, validate it, extract the data, route for approval, post to the system of record, archive. The engine guarantees the order, keeps state across days, runs timers, retries failed steps, and records what happened. Its strengths are the agent loop’s weaknesses: the process is repeatable, auditable, recoverable, and visible while it runs. Its limits are the mirror image. Somebody has to define the process, it handles what it was designed to handle, and it does not improvise when a document arrives in a form nobody planned for. Why neither replaces the other Question Agent orchestration Workflow orchestration Who decides the path? The model, at runtime The process definition, in advance State over days or weeks Not by default Durable and inspectable Cost per run Variable, grows with reasoning Predictable per step Handling the unexpected Flexible, improvises Fails visibly, waits for a design change Audit trail A transcript of decisions A record of defined steps Best fit Open-ended, hard-to-specify tasks Repeatable, accountable processes A repeatable business process run on an agent loop gets variability it cannot afford. An open-ended investigation forced into a fixed workflow stops at the first surprise. Neither is a failure of the tools; it is a category error in how they were applied. How they combine in a real build The pattern we keep coming back to is a workflow spine with bounded agent steps inside it. The workflow owns the order, the state, the approvals, and the record. Inside specific steps, an agent does the interpretation that cannot be reduced to rules: reading a free-text enquiry, classifying an unfamiliar document, drafting the first version of a summary. The step boundary is where judgment ends and the process resumes: extracted fields, validated and recorded, then on to the next defined step. This is the same shape we described in why Jinja2 belongs in a structured workflow build: deterministic structure where the business needs guarantees, model judgment in bounded steps where the input demands interpretation, and a person at the gates that matter. Where the confusion costs real money The two failure modes show up clearly in buying decisions. A team adopts an agent framework and tries to run its order-to-cash process on it: six months later they are rebuilding durability, retries, and audit logs by hand, badly, because the framework was never meant to be a process engine. Another team buys a workflow platform and expects it to handle free-form supplier negotiations: every exception needs a redesign, and the project drowns in change requests. In both cases the tools worked as designed. The evaluation just never asked which kind of orchestration the problem needed. Mapping each part … Read more

Why orchestration matters after the demo

A workflow demo is a convincing fifteen minutes: one person, one machine, one run, everyone watching. The production version of the same workflow runs for two weeks, spans three systems and five people, and most of those people are busy with something else. The distance between the two situations is workflow orchestration, and it is where enterprise AI projects often come undone. What the demo quietly hides A demo proves capability: the model can do the task. It does not prove operability: that the task will keep getting done, in the right order, when systems misbehave and people are unavailable. In the demo, someone notices the failed step and reruns it. In production, the same failure can sit unnoticed for days. None of this is a criticism of demos; they are the right way to test whether a thing is possible. The mistake is treating possibility as proof of operability. Workflow orchestration is the discipline that closes that gap. Dependencies are the first reality A real workflow is a graph of task dependencies, not a list. The quote cannot be priced until the BOM is cleaned. The customer summary can be drafted in parallel with both. Some steps must wait on others, some can run at the same time, and some must never run at the same time. Some must react in real time, while others are fine as an overnight batch. An orchestrated workflow knows its dependencies explicitly. A collection of scripts often does not, and the discovery tends to arrive at the worst time: the night before delivery. Long-running steps need durable state Enterprise steps take hours or days. A vendor has to respond with a quote, a client has to approve a scope, a finance team runs its check on Fridays. A workflow that lives in one chat session or one running script dies when the session closes. The state of the work, meaning what is done, what is pending, and what was decided by whom, has to live somewhere durable, inspectable, and resumable. It belongs to the workflow engine, not to someone’s chat session or inbox. That is what lets a workflow wait for a human without losing itself, and what lets a new team member see where things stand without asking around. Retries and failures are normal, not exceptional An API times out. A supplier portal returns a maintenance page instead of data. A model call produces something unparseable. None of these are surprises; they are Tuesday. This is where error handling stops being improvisation and becomes policy. The orchestration layer decides what happens next: each step declares its retry logic, meaning how many attempts with what delay, and where the failure goes when retries are exhausted, whether that is a named person or a loud stop. The two worst options are silent failure, which nobody sees, and unbounded retry, which nobody sees until the bill arrives. Every retry also has to be safe to repeat: retrying “create the purchase order” must not create two purchase orders. Waiting for approval is a step, not a pause In enterprise work, approvals are often where workflows spend much of their time. Treating “wait for sign-off” as dead time between real steps produces unowned waits and invisible stalls. An approval is a first-class step: a named approver, the exact artifact they are approving, a recorded decision, and a defined path when the decision does not come, whether that is escalate, remind, or expire. Skipping human review on the steps that need judgment is how small errors become client-facing ones. In a working system these surface as human review tasks in a queue, assigned to named human reviewers, rather than as messages someone has to remember to answer. We made the same argument about scope specifically in scope approval is a workflow problem, not a reminder problem. A worked example (synthetic) An illustrative marketing workflow: a new lead arrives and the team wants a campaign brief. Capture the lead from a form. Instant, deterministic. Enrich the record through an external API. This can fail, so it retries with a limit, then routes to a person. Draft the campaign brief with a model step. Fast, but the output needs review before anyone acts on it. Human approval. The marketing lead is in meetings for two days. The workflow waits with its state intact, reminds after one day, and escalates after two. Schedule and hand off through another API. This final action must not double-book if it is retried. Every property of workflow orchestration above shows up in this small example: a dependency order, an external call that fails sometimes, a model step whose output needs a gate, a human wait measured in days, and a final action that must be safe to repeat. What the gap looks like in client services Client services firms feel this gap earlier than most. A consultancy or agency can demo an AI-assisted client onboarding flow that reads the signed scope, creates the project, and drafts the welcome pack, end to end, in minutes. The production version of the same flow spans weeks and several systems at once: the CRM holds the relationship, the document portal holds the contracts, finance holds the billing setup, and the account manager holds the approval. Each handoff is a place where client services work stalls silently when nobody owns the wait. A synthetic example, in the same spirit as the one above. Onboarding a new client after signature: the scope document arrives as a PDF whose layout changes from client to client, so a model step extracts deliverables, milestones, and billing terms into structured fields. Deterministic code creates the project skeleton and checks the extracted terms against the rate card and the business rules around billing. Then the workflow waits, and waiting is the point: the account manager’s human review of the extraction, finance confirming billing, and the welcome pack leaving only after both. While it waits, the team can see exactly where things stand. When the document … Read more

Deterministic code versus LLM judgment: where to draw the line

When an enterprise workflow mixes AI with ordinary software, the first design decision is not which model to use. It is which steps should be deterministic code and which steps deserve model judgment. Draw that line in the wrong place and both sides fail in their own way: rules hard-coded where interpretation is needed break the moment a real input arrives, and model judgment applied where a fixed rule exists can give different answers to identical cases. This post explains how we think about where the line goes, and why neither side of it works without correct inputs and tests. As generative AI moves from demos into production workflows, that line decides more of the outcome than model choice does. What deterministic code should own Deterministic code covers any step that must produce the same output from the same input, every time: Calculations: totals, taxes, discounts, unit conversions, currency rounding. Fixed business rules: eligibility thresholds, approval routing by amount, credit limits. Validation: required fields, formats, ranges, cross-field consistency. Ordering and set operations: sorting, deduplication, merging records. The test for belonging here is simple: if the business can write the rule down and it does not change case by case, it belongs in code. Code is reviewable, testable, and auditable in a way a model’s reasoning is not. When a finance head asks why a number is what it is, “the pricing rule in version 14 of the rate master” is an answer. “The model decided” is not. Where LLM judgment earns its place Model judgment belongs in interpretation tasks: turning variable, unstructured input into structured understanding. Reading an enquiry email that arrives as free text and extracting what is actually being asked. Pulling requirements out of a statement of work whose structure changes from client to client. Classifying incoming documents, summarizing conversations, and drafting text that a person will review. A dedicated classifier model or a general model with a tight prompt both work here; the choice is an engineering detail, not a strategy. The common property is that inputs vary in form and the task is to produce an interpretation, not a number. A rule-based parser for free-text enquiries tends to break on every new phrasing; a model usually reads the intent. This kind of structured data extraction is where agent workflows earn their place: a judgment step inside a larger deterministic pipeline. The output of a judgment step should still be structured and checkable: extracted fields, each with a reference to the source passage, not a paragraph of prose nobody can verify. The line moves over time Where judgment repeats and stabilizes, it should harden into rules. When a reviewer corrects the model’s extraction the same way three times, that correction is a rule waiting to be written down. Keeping those rules as editable reference data, rather than buried in code, lets the business change a threshold or a mapping without a redeploy. The boundary between code and judgment is not drawn once at design time; it is maintained as the workflow learns where the variability actually lives. Code does not excuse you from inputs and tests Deterministic is not the same as correct. A pricing rule computed from a stale rate master is deterministically wrong: perfectly repeatable, reliably incorrect. Both sides of the line need their own discipline. Code gets tests: known inputs, expected outputs, edge cases, and the boring cases like zero, blank, and negative numbers. Model steps get evaluation sets: a fixed sample of representative inputs with reviewed outputs, rerun whenever the prompt, the model, or the surrounding code changes. These are LLM evals in the plain sense: code-based evals with known expected outputs, and a short error analysis of the failures shows whether the prompt, the model, or the parser regressed. Different mechanisms, same habit. And both depend on inputs. An extraction error upstream flows silently into a flawless calculation downstream, which is why validation belongs at the hand-off between judgment steps and code steps. What the checking machinery looks like The checks that keep both sides honest are themselves deterministic code, and they deserve as much design attention as the model steps. In a healthy build, model output flows into a validation and correction loop: a schema rejects a missing field, a range check rejects an impossible date, and the step reruns or routes to a person instead of passing bad data downstream. Keeping a human in the loop for the cases the checks reject is a design choice, not an admission of failure. This is the same discipline ordinary software engineering already runs on. Test harnesses execute regression tests on every change inside CI/CD pipelines, test coverage targets decide what must be exercised before a merge, and a stack trace from a failed run points at the exact deterministic behaviour that broke. Teams that track delivery performance with DORA metrics are measuring whether that machinery works, not whether the code was written by a person or a model. When the checking layer is weak, the model tends to get blamed for failures that are really missing validation. Accuracy validation on a fixed sample, run regularly, is what separates a working check from a reassuring one. A worked example (synthetic) An illustrative example from an enquiry-to-quote workflow. The scenario uses synthetic data throughout: it shows the shape of the workflow, not any client engagement. A manufacturer’s sales team receives enquiries as free-text email: Model judgment: read the enquiry and extract items, quantities, materials, and deadlines into structured fields, each linked to the sentence it came from. Flag anything missing rather than guessing. Deterministic code: validate the fields, look up prices in the current rate master, compute line totals and taxes, and apply the discount rules the business wrote down. Model judgment: draft the covering note a salesperson will edit. A person: approve before anything goes to the customer. Swap any of these and the failure is predictable. A model computing totals can produce uncheckable numbers that vary between runs. Code parsing the … Read more