Skip to content

Agent Development in Practice

Introduction

AI Agents are the most central direction in AI application development today. If RAG solves "what the model knows," Agents solve "what the model does" — they can autonomously plan, use tools, and execute multi-step tasks, not just answer questions.

Core components of an Agent system: - LLM (brain): Responsible for reasoning and decision-making - Tools (hands): Search, code execution, API calls, file operations, etc. - Memory (notebook): Short-term (conversation history) + Long-term (persistent knowledge) - Planning (chain of thought): Decomposing complex tasks into executable steps

Andrew Ng repeatedly emphasized in his 2024-2025 course series: Agentic workflows are the most important paradigm shift in AI application development. Moving from simple single API calls to Agents that can autonomously complete multi-step tasks is a capability every AI engineer must master.

Course Resources

Resource Summary

Beginner (understanding core Agent concepts):

Framework practice (pick one to go deep):

  • LangGraph — State-graph-based Agent orchestration framework, supports loops, conditional branches, human-in-the-loop, the most flexible framework available
  • CrewAI — Multi-agent collaboration framework with clear role division, quick to get started
  • AutoGen (Microsoft) — Microsoft's open-source multi-agent conversation framework
  • OpenAI Agents SDK — OpenAI's official Agent SDK, lightweight
  • smolagents (HuggingFace) — Minimalist Agent framework, small codebase, great for learning principles

Tool Use (Tool Use / Function Calling):

Multi-Agent Systems:

Memory Systems:

  • LangMem (LangChain Memory) — LangChain's official long-term memory solution
  • Mem0 — Intelligent memory layer designed specifically for AI Agents
  • Letta (MemGPT) — Brings OS memory management concepts into Agent memory

Notes

Agent development has a steep learning curve. Recommended path: first understand the ReAct paradigm (reasoning+action loop) → build a single Agent with LangGraph → add tool calls → add memory → try multi-agent collaboration.

Don't start with advanced frameworks. First hand-write a simple Agent with pure Python + OpenAI API (~100 lines of code) to understand what's happening at each step, then use frameworks to improve efficiency. This is the same principle as learning programming — write it by hand first, then use libraries.