top | item 43426427

(no title)

dimitropoulos | 11 months ago

[flagged]

discuss

order

tonyhb|11 months ago

The main one is deterministic routing (https://agentkit.inngest.com/advanced-patterns/routing). Here's what that means:

Each agent builds up state via tool use. On each loop of the network, you inspect this state to figure out which agent to run next. You don't build DAGs or create odd graphs — you write regular code in a router.

Or, more generally:

* Each agent has a specific goal within a larger network. Several agents each working on smaller goals means easier prompt generation, testing, iteration, and a higher success rate.

* The network combines agents to achieve an overall objective, with shared state modified by each agent

* The network’s router inspects state and determines which agent should run next

* The network runs in a loop, calling the router on each iteration until all goals are met

* Agents run with updated conversation history and state on each loop iteration

Realistically the challenge with agents has classically been: how can I build something reliable, and how can this run in production reliably? These patterns are largely what we've seen work.

dimitropoulos|11 months ago

Thanks for explaining. But I guess I'm still not clear on how the work gets divvied up. Not tryin to be a hater - I'll have to give it a spin - but that part's a bit murky to me still.