Agents 101: Tool Use, Planning, and Guardrails Build useful agents without turning them into chaos machines.