Foundations of autonomous AI agents — reasoning, planning, memory, tool use, multi-agent systems, and safety.