📖 Step 9: AI/LLM#328 / 498

Agent Planning

Agent Planning

📖One-line summary

An agent's ability to plan its own execution steps to achieve a goal.

💡Easy explanation

An agent's ability to lay out '1 → 2 → 3' steps to reach a goal on its own. Not just following orders — it thinks strategically.

✨Example

에이전트가 스스로 계획 수립

# Goal: 로그인 기능 구현

1. DB 스키마 설계 ✅

2. API 엔드포인트 작성 ✅

3. 프론트엔드 폼 구현 ⏳

4. 테스트 작성

⚡Vibe coding prompt examples

>_

Write a prompt that makes an agent, given the goal 'plan a trip itinerary', first plan a list of subtasks in JSON.

>_

Implement a Plan-and-Execute agent loop in Python that revises the plan when execution fails partway through.

>_

Summarize how to add a limit on the number of planning steps and a validation step when agent planning gets too long or off track.

Try these prompts in your AI coding assistant!