HZhao Zhanginalvinagent.hashnode.dev·Jun 15 · 6 min readBuilding AI Agents from Scratch (Part 2): Hand-Rolling a ReAct Agent in Pure Python Without FrameworksBuilding AI Agents from Scratch (Part 2): Hand-Rolling a ReAct Agent in Pure Python Without Frameworks [TL;DR / Core Concept] What is the ReAct Pattern? ReAct (Reasoning and Acting) is a classic para00
HZhao Zhanginalvinagent.hashnode.dev·Jun 11 · 6 min readBuilding AI Agents from Scratch (Part 1) Core Architecture and Underlying Principles ExplainedTL;DR: The Core Definition of an AI Agent An AI Agent is a system that can perceive its environment, reason and plan autonomously, and call external tools to execute actions to achieve a specific goal00