Learn why agents must separate planning from execution to stay controllable, debuggable, and safe.
License & citation
Creator: Dzmitryi Kharlanau (SAP Lead).
Canonical: https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_009.json
License: CC BY-NC 4.0 (non-commercial only, attribution with source link required).
Concept DOI: 10.5281/zenodo.18862098
Version DOI (`v1.0.0`): 10.5281/zenodo.18862097
Repository: https://github.com/dkharlanau/dkharlanau-datasets
Suggested citation: Dzmitryi Kharlanau. “Plan → Execute: Separating Thinking from Doing” (dataset bytes). CC BY-NC 4.0. DOI: 10.5281/zenodo.18862098. https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_009.json
Details: /legal/datasets/
JSON (copy / reuse)
{
"byte_id": "agentic_dev_009",
"title": "Plan → Execute: Separating Thinking from Doing",
"level": "foundation",
"domain": [
"agentic-development",
"planning",
"execution"
],
"intent": "Learn why agents must separate planning from execution to stay controllable, debuggable, and safe.",
"core_idea": {
"one_liner": "If an agent plans and acts at the same time, you cannot trust or debug it.",
"why_it_matters": [
"Planning clarifies intent; execution changes state.",
"Separation prevents accidental actions.",
"You can review and approve plans before damage is done."
]
},
"definition": {
"plan_execute_pattern": "An agent first produces an explicit plan, then executes it step by step, with checks in between."
},
"plan_phase": {
"purpose": "Decide what to do without touching the real world.",
"contains": [
"Goal statement",
"Ordered steps",
"Required tools",
"Expected outputs",
"Decision points"
],
"rules": [
"No tool calls during planning.",
"Plan must be short and reviewable.",
"Plan must define what 'success' means."
]
},
"execute_phase": {
"purpose": "Carry out the approved plan using tools.",
"contains": [
"Tool calls",
"Intermediate results",
"Error handling",
"Progress tracking"
],
"rules": [
"Follow the plan strictly.",
"Stop if assumptions are violated.",
"Log every action."
]
},
"micro_example": {
"scenario": "Investigate data mismatch after migration.",
"plan": [
"Identify affected objects and scope",
"Compare source vs target key fields",
"Check transformation rules",
"Report root cause and fix options"
],
"execute": [
"Run comparison query",
"Fetch transformation logs",
"Generate discrepancy report"
]
},
"failure_modes": [
"Implicit planning hidden in text",
"Agent changing plan mid-execution without notice",
"Executing without approval",
"No clear stop condition"
],
"guards": [
"Plans must be explicit and reviewable.",
"Execution without a plan is forbidden.",
"Plan changes require re-approval."
],
"teach_it_in_english": {
"simple_explanation": "First decide what you will do. Only then do it.",
"one_sentence_definition": "Plan–Execute separates intention from action."
},
"practical_checklist": [
"Is the plan explicit?",
"Can a human review it?",
"Are tools only used in execution?",
"Is success clearly defined?"
],
"tags": [
"plan-execute",
"agent-control",
"workflow",
"reliability"
],
"meta": {
"schema": "dkharlanau.dataset.byte",
"schema_version": "1.1",
"dataset": "agentic-bytes",
"source_project": "cv-ai",
"source_path": "agentic-bytes/agentic_dev_009.json",
"generated_at_utc": "2026-02-03T14:33:32+00:00",
"creator": {
"name": "Dzmitryi Kharlanau",
"role": "SAP Lead",
"website": "https://dkharlanau.github.io",
"linkedin": "https://www.linkedin.com/in/dkharlanau"
},
"attribution": {
"attribution_required": true,
"preferred_citation": "Dzmitryi Kharlanau. “Plan → Execute: Separating Thinking from Doing” (dataset bytes). CC BY-NC 4.0. DOI: 10.5281/zenodo.18862098. https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_009.json"
},
"license": {
"name": "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)",
"spdx": "CC-BY-NC-4.0",
"url": "https://creativecommons.org/licenses/by-nc/4.0/"
},
"links": {
"website": "https://dkharlanau.github.io",
"linkedin": "https://www.linkedin.com/in/dkharlanau",
"repository": "https://github.com/dkharlanau/dkharlanau-datasets"
},
"contact": {
"preferred": "linkedin",
"linkedin": "https://www.linkedin.com/in/dkharlanau"
},
"canonical_url": "https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_009.json",
"created_at_utc": "2026-02-03T14:33:32+00:00",
"updated_at_utc": "2026-03-04T19:03:44+00:00",
"provenance": {
"source_type": "chat_export_extraction",
"note": "Extracted and curated by Dzmitryi Kharlanau; enriched for attribution and crawler indexing."
},
"entity_type": "agentic_byte",
"entity_subtype": "level:foundation",
"summary": "Learn why agents must separate planning from execution to stay controllable, debuggable, and safe.",
"doi": {
"concept": "10.5281/zenodo.18862098",
"version": "10.5281/zenodo.18862097",
"repository": "https://github.com/dkharlanau/dkharlanau-datasets"
}
}
}