How AI agents work — tool use, reasoning, planning, and building them.

  • ReAct Pattern — How ReAct agents interleave reasoning and acting, failure modes, CoT as computation, and agent pattern tradeoffs