---
title: "Discussion on \"Flows vs agents: when to hardcode instead of letting agent decide\" | Hashnode"
description: "Discussion on \"Flows vs agents: when to hardcode instead of letting agent decide\". A team had wrapped a four-step approval process in a single autonomous agent and could not understand why it failed 1 in 5 times. The steps never changed. The order never changed. They were paying a language model to rediscover a fixed pipe"
url: "https://hashnode.com/posts/flows-vs-agents-when-to-hardcode-instead-of-letting-agent-decide/6a53c4cd9f0268b8cf13a726"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Flows vs agents: when to hardcode instead of letting agent decide](https://sapotacorpvn.hashnode.dev/flows-vs-agents-when-to-hardcode-instead-of-letting-agent-decide?utm_source=hashnode&utm_medium=feed)

A team had wrapped a four-step approval process in a single autonomous agent and could not understand why it failed 1 in 5 times. The steps never changed. The order never changed. They were paying a language model to rediscover a fixed pipe

Jul 12 · 9 min read · sapotacorpvn.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#flows](https://hashnode.com/tag/flows)
-   [#orchestration](https://hashnode.com/tag/orchestration)
-   [#architecture](https://hashnode.com/tag/architecture)

## Written by

[SapotaCorp](https://hashnode.com/@sapotacorpvn)

@sapotacorpvn · Hanoi, Vietnam

  
[View profile](https://hashnode.com/@sapotacorpvn)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
