⚠️ Malware / Trojaner / VirenLumma Stealer – dllhost.exe Hollowing, C2 Domains & Payload Extraction(01.09.2026 um 17:19 Uhr)
🔧 AI Nachrichten Simcha Kosman AMA: Owning ChatGPT's Secure Sandbox(03.09.2026 um 07:41 Uhr)
⚠️ Malware / Trojaner / VirenThe Gentlemen Ransomware Analysis: Go Obfuscated(04.09.2026 um 12:05 Uhr)
⚠️ Malware / Trojaner / VirenTengu, a Mirai-style Linux and IoT botnet(06.09.2026 um 15:27 Uhr)
🕵️ SicherheitslückenSecurity Vulnerability in a Voting System(04.09.2026 um 13:09 Uhr)
🕵️ SicherheitslückenHow an Integer Overflow Vulnerability Let Me Buy Anything for ₹0(04.09.2026 um 05:04 Uhr)
🕵️ SicherheitslückenHow I Turned Self-XSS into Reflected XSS (and Bypassed the WAF)(04.09.2026 um 05:09 Uhr)
🕵️ SicherheitslückenFile upload to RCE(04.09.2026 um 05:12 Uhr)
⚠️ Malware / Trojaner / VirenBerlin lehnt 30-BTC-Lösegeld von Rhysida ab, Hacker veröffentlichen 5,7 Terabyte(06.09.2026 um 19:22 Uhr)
⚠️ Malware / Trojaner / VirenLumma Stealer – dllhost.exe Hollowing, C2 Domains & Payload Extraction(01.09.2026 um 17:19 Uhr)
🔧 AI Nachrichten Simcha Kosman AMA: Owning ChatGPT's Secure Sandbox(03.09.2026 um 07:41 Uhr)
⚠️ Malware / Trojaner / VirenThe Gentlemen Ransomware Analysis: Go Obfuscated(04.09.2026 um 12:05 Uhr)
⚠️ Malware / Trojaner / VirenTengu, a Mirai-style Linux and IoT botnet(06.09.2026 um 15:27 Uhr)
🕵️ SicherheitslückenSecurity Vulnerability in a Voting System(04.09.2026 um 13:09 Uhr)
🕵️ SicherheitslückenHow an Integer Overflow Vulnerability Let Me Buy Anything for ₹0(04.09.2026 um 05:04 Uhr)
🕵️ SicherheitslückenHow I Turned Self-XSS into Reflected XSS (and Bypassed the WAF)(04.09.2026 um 05:09 Uhr)
🕵️ SicherheitslückenFile upload to RCE(04.09.2026 um 05:12 Uhr)
⚠️ Malware / Trojaner / VirenBerlin lehnt 30-BTC-Lösegeld von Rhysida ab, Hacker veröffentlichen 5,7 Terabyte(06.09.2026 um 19:22 Uhr)

🔧 Programmierung 🕛 kürzlich 8 Min Lesezeit
0

Building AI Workflows Is Easy. Making Them Reliable Is Systems Engineering

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Building the first version of an AI workflow is usually easy.




  1. Connect an LLM to a few tools.

  2. Add some instructions.

  3. Let the model decide what to do next.

  4. Run the demo.

  5. It works.



The problem starts later, when that workflow becomes part of a real process.



Suddenly the important questions are not about the prompt anymore.



They are about reliability.




  • What happens when a tool fails ?

  • What happens when the model retries the wrong thing ?

  • What happens when the workflow changes state but the agent still claims failure ?

  • What happens when the agent claims success but no tool actually ran ?

  • What happens when one agent hands bad context to another agent ?



This is where AI workflows stop being prompt engineering.



They become Systems Engineering.






The Demo Is Not The System



A lot of AI workflow demos optimize for the happy path.




  1. The user asks for something.

  2. The agent thinks.

  3. The agent calls a tool.

  4. The tool returns a result.

  5. The agent summarizes the result.

  6. Everyone claps.



But production workflows do not live on the happy path.



They live in the messy reality of:




  • Partial failures

  • Bad inputs

  • Timeout errors

  • Invalid tool responses

  • Duplicate retries

  • Missing context

  • Permission denials

  • State inconsistencies

  • Cost limits

  • Human approvals

  • Recovery paths



The first version proves that the idea is possible.



The production version needs to prove that the system is dependable.



Those are very different goals.






Prompts Can Guide Reasoning. They Cannot Manage Reliability.



Prompts are important.



They help the model understand:




  • What role it is playing

  • What goal it should pursue

  • How it should reason

  • What tone it should use

  • What constraints it should consider



But prompts should not be responsible for the reliability of the whole workflow.




A prompt should not be the only thing preventing an unsafe action.



A prompt should not be the only thing remembering which step already completed.



A prompt should not be the only thing deciding whether a retry is safe.



A prompt should not be the only thing proving that a tool actually executed.




Once an AI workflow affects real systems, the runtime needs to take responsibility for the parts that require consistency.



"The model can reason. The system must govern."






The Core Split: Reasoning, Execution, State, Evidence



A reliable AI workflow needs a clean separation between four concerns:





  1. Reasoning: The model handles reasoning.


  2. Execution: The runtime handles execution.


  3. State: The workflow engine manages state.


  4. Evidence: The audit layer records evidence.



When these responsibilities are mixed together, debugging becomes painful.



For example, this is fragile:




CODE
const result = await agent.run(`
Read the customer complaint,
decide whether it needs escalation,
send the email if needed,
and tell me when you're done.
`
);






Why?



Because too much is hidden inside one probabilistic step.




  • Did the agent actually send the email ?

  • Was the action allowed ?

  • Was the customer data valid ?

  • Did the escalation rule trigger ?

  • Did the email tool fail ?

  • Was the final response based on evidence or assumption ?



A more reliable architecture separates the work:




CODE
const decision = await agent.reason({
task: "Should this complaint be escalated?",
context
});

const permission = runtime.permissions.verify({
actor: agent.id,
action: "send_escalation_email",
resource: complaint.id
});

if (!permission.allowed) {
return runtime.recordDeniedAction(decision, permission);
}

const execution = await runtime.tools.sendEmail({
to: escalationTeam,
template: "complaint_escalation",
complaintId: complaint.id
});

const evidence = runtime.audit.record({
actor: agent.id,
decision,
permission,
execution
});

return agent.summarize({
evidenceId: evidence.id,
executionStatus: execution.status
});






This is less magical.



It is also much easier to trust.






The Retry Problem



Retries are one of the most underestimated problems in AI workflows.



In traditional software, retrying a failed API call is usually straightforward.




If the request times out, try again.




But AI workflows introduce different kinds of failure.




  • A tool call failing is not the same as a model reasoning step failing.

  • A network timeout is not the same as a bad plan.

  • A malformed JSON response is not the same as missing business context.

  • A low-quality answer is not the same as an unavailable dependency.



Different failures need different retry strategies.



For example:




CODE
switch (failure.type) {
case "tool_timeout":
return retrySameToolCall();

case "invalid_tool_payload":
return askModelToRepairPayload();

case "bad_reasoning":
return resetContextAndReplan();

case "permission_denied":
return escalateToHuman();

case "cost_budget_exceeded":
return stopWorkflow();
}






If every failure is handled with "just run the agent again", the system can become expensive, slow, and unreliable.



Sometimes the correct retry is not retrying.



Sometimes the correct response is:




  • Reduce scope

  • Reset context

  • Ask for clarification

  • Escalate to a human

  • Stop the workflow

  • Record the failure



Cost-aware retries are not just a billing concern.



They are a reliability concern.






State Must Be Explicit



A workflow that cannot explain its current state cannot be reliably recovered.



If an Agent is halfway through a process, the system should know:




  • Which step is running

  • Which steps completed

  • Which tools executed

  • Which outputs were produced

  • Which approvals are pending

  • Which errors occurred

  • What can safely happen next



Without explicit state, recovery becomes guesswork.



This is especially dangerous when the workflow mutates external systems.



Imagine a workflow that:




  1. Reads a customer complaint.

  2. Creates an internal ticket.

  3. Sends an escalation email.

  4. Updates the CRM.

  5. Marks the complaint as handled.



If the workflow fails at step 4, what should happen?




  • Should it restart from step 1 ?

  • Should it send the email again ?

  • Should it create a duplicate ticket ?

  • Should it mark the complaint as handled ?



The answer depends on state.



Reliable workflows need checkpoints.




CODE
workflow.checkpoint("ticket_created", {
ticketId,
complaintId,
timestamp
});

workflow.checkpoint("email_sent", {
messageId,
recipient,
timestamp
});






Checkpoints make recovery possible.



They also make debugging possible.






Evidence Beats Claims



One of the most dangerous failure modes in AI workflows is false completion.



The agent says:




"Done, I sent the email."




But no email was sent.



Or the email tool failed.



Or permission was denied.



Or the agent never called the tool.



The model's final answer is not evidence.



It is a claim.



A reliable workflow should be able to prove what happened.



An evidence record might include:




CODE
{
"actor": "support-agent-01",
"action": "send_email",
"permission": "granted",
"tool": "email_sender",
"status": "success",
"messageId": "msg_123",
"timestamp": "2026-05-29T14:32:10Z",
"auditId": "audit_789"
}






Now the system can answer:




  • Who acted

  • What was requested

  • Whether it was allowed

  • What executed

  • What result came back

  • When it happened

  • What proves it



That is the difference between trusting the agent and trusting the system.






Multi-Agent Workflows Make Reliability Harder



Multi-Agent Systems (MAS) amplify every reliability problem.



In a Single-Agent workflow, one model may lose context or make a bad assumption.



In a Multi-Agent workflow, one agent's unsupported claim can become another agent's input.



For example:




  1. Research Agent says it collected the correct data.

  2. Analyst Agent uses that data to generate a report.

  3. Reviewer Agent approves the report.

  4. Communication Agent sends it to the customer.



If the first claim was wrong, the entire workflow becomes unreliable.



The final output may look coherent.



But the foundation is broken.



That is why Multi-Agent workflows need strong boundaries:




  • Explicit handoffs

  • Scoped context

  • Evidence records

  • Validation gates

  • Responsibility tracking

  • State checkpoints



Agents should not pass vague natural-language summaries to each other as if they were verified facts.



A good handoff should include:




CODE
{
"from": "research-agent",
"to": "analyst-agent",
"task": "analyze_customer_churn",
"artifactId": "dataset_456",
"evidenceId": "audit_123",
"status": "verified",
"scope": "Q1 customer data only"
}






That is much more reliable than:




"I collected the data. You can continue."







Observability Is Not Optional



Once AI workflows become operational, observability becomes foundational.



A useful trace should show:




  • What the model intended

  • What context it received

  • What action it requested

  • Whether permission was granted

  • What tool executed

  • What state changed

  • What evidence was recorded

  • What the agent claimed afterward



Without this, teams end up debugging through transcripts and guesses.



That does not scale.



Traditional logs tell you that something happened.



AI workflow observability needs to explain why something happened, what the model believed, what the runtime allowed, and what actually executed.



That means observability must include both:




  • Reasoning traces

  • Runtime evidence



One without the other is incomplete.






The Architecture Pattern



A production AI workflow should not be one big prompt chain.



It should look more like this:




CODE
User Request

Intent Resolution

Context Assembly

Model Reasoning

Action Request

Permission Check

Tool Execution

Evidence Record

State Checkpoint

Agent Summary

Verification / Escalation






The model is still important.



But it is no longer responsible for everything.



It reasons inside a system that manages boundaries, execution, and recovery.



That is the shift.






AI Workflows Are Operational Systems



When an AI workflow becomes part of a business process, it needs the same engineering discipline as any other operational system.



It needs:




  • Clear inputs

  • Explicit state

  • Bounded execution

  • Permission checks

  • Retry policies

  • Failure handling

  • Observability

  • Audit trails

  • Recovery paths

  • Verification gates



This is not bureaucracy.



This is what makes the workflow dependable.



The more responsibility we give AI Agents, the more important the surrounding system becomes.






Conclusion



Building an AI workflow is easy.



Making it reliable is the hard part.



The future of AI agents will not be won only by better prompts or bigger models.



It will be won by better runtime architecture.



Prompts guide reasoning.



But reliable AI workflows need:




  • Checkpoints

  • Retries

  • Permissions

  • Execution Boundaries

  • Observability

  • Audit Trails

  • Evidence

  • Recovery



That is why production AI workflows are not just prompt engineering.



They are Systems Engineering.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 46%
🟡 In Evaluierung 26%
🟢 Keine Auswirkung 18%
Spannende Innovation 10%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
ChatGPT showing blank screen [Fix]
1 Quelle
Excel keeps people on Windows, and a Linux distro creator wants Microsoft to end that
1 Quelle
Sofort deinstallieren: Diese 19 Browser-Erweiterungen sind mit Malware verseucht
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Building AI Workflows Is Easy. Making Them Reliable Is Systems Engineering

Thematisch verwandte Begriffe: Building, Workflows, Easy, Making · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...