Type: url
Original: https://jimmysong.io/zh/book/ai-handbook/agent/agent-basics/
Status: generated
Summary
A draft chapter of Jimmy Song’s online handbook 智能体构建指南 introducing the core principles of AI agents: a cognitive loop made up of perception, reasoning and planning, memory and execution subsystems, a Think-Act-Observe cycle, and the parts an agent is assembled from — one or more LLMs, a tool list, a prompt template and an execution loop. A section on subagents describes context-isolated specialist agents, how they are activated, design points for defining them and chaining them into workflows, and their costs. The chapter then compares popular agent frameworks and protocols and walks through building, deploying, securing and tuning a first customer-service agent.