FinanceAI by Sergio Jardon
  • Home
  • About
Sign in Subscribe

Agent Best Practices

A collection of 4 posts
Plan-and-Execute: Think Once, Act Many Times
Agent Architecture

Plan-and-Execute: Think Once, Act Many Times

In this series we've covered ReAct (reason → act → observe after every step) and Reflexion (adding self-critique between attempts). Both send the main model back into the loop on every action. Plan-and-Execute takes a different approach: do the planning up front, then execute. How it works:
06 Oct 2026 2 min read
Agent Architecture Deep-Dive: Reflexion
AI pills

Agent Architecture Deep-Dive: Reflexion

Two weeks ago I covered ReAct, the foundational reason → act → observe loop that most agents are built on. ReAct reasons well within a single pass, but it has no mechanism for actually getting better when that pass fails. Reflexion fixes that gap. How it works Reflexion wraps a task attempt
29 Sep 2026 2 min read
Fighting "Lost in the Middle"
Claude Code

Fighting "Lost in the Middle"

Long-running AI agents have a well-documented failure mode: the further a piece of information sits from the start or end of the context window, the less reliably the model attends to it. This is the "lost in the middle" effect, and it's a big
28 Sep 2026 2 min read
ReAct: The Loop Behind Most AI Agents
ReAct

ReAct: The Loop Behind Most AI Agents

When people say they've "built an AI agent," they usually mean the model can call tools and decide when to call them. Most of those systems are quietly running on a pattern called ReAct, short for Reason + Act. It's worth knowing on purpose, because
22 Sep 2026 2 min read
Page 1 of 1
FinanceAI by Sergio Jardon © 2026
  • Sign up
Powered by Ghost