{
"path": "/writing/agentic-engineering",
"site": "at://did:plc:m25hu5wadnbqnt47zep7xza6/site.standard.publication/self",
"$type": "site.standard.document",
"title": "Agentic Engineering",
"description": "Collection of insights, knowledge and actionable advice on Agentic Engineering.",
"publishedAt": "2026-04-26T00:00:00.000Z",
"textContent": "## Preface\n\nAgentic Engineering is a term first coined by [Simon Willison](https://simonwillison.net/2026/Feb/23/agentic-engineering-patterns/).\nIt encompasses the application of software engineering principles to the use of LLM coding agents.\n\n## Patterns\n\n### Ask, Plan, Execute, Reflect (APER)\n\nTaken from [Agentic Engineering](https://www.youtube.com/watch?v=BEKc4P87XKo) by Brendan O'Leary.\nReflect phase added by me.\n\nA pattern **you** have to apply yourself. Instructing the agent to follow this pattern will\nlead to worse results, as some of the context and reasoning will be lost for following this pattern\ninstead of doing actual work.\n\n#### 1. Ask\n\n**Objective**\n\n- Understand the system\n- Find the right files\n- Don't plan yet; just gather information\n\n**Output**\n\n- Research file\n - Files involved\n - Line numbers for key functions\n - Data flow\n - Dependencies and side effects\n - Edge cases to consider\n\n#### 2. Plan\n\n**Objective**\n\n- Outline _exact_ steps\n- Include testing (how to verify that the goal is achieved)\n- Be explicit about assumptions and uncertainties\n\n**Output**\n\n- Plan file\n - Step-by-step plan\n - Specific files and lines to edit\n - Test commands to run\n - Rollback strategy if things go wrong\n\n#### 3. Execute\n\n**Objective**\n\n- Execute the plan\n- Keep context low (<= 100K tokens) ([Smart Zone / Dumb Zone](https://youtu.be/-QFHIoCo-Ko?si=FqeWEcyxzBK0XAGV&t=200) by Matt Pocock)\n- Review each change\n- Commit frequently\n\n#### 4. Reflect\n\n**Objective**\n\n- Review the process and outcome\n- Identify what went well and what could be improved\n- Document insights for future reference\n\n**Output**\n\n- Modified _SKILLS.md_, _AGENTS.md_, ...\n - If something went wrong, add a skill for how to avoid that in the future\n - If a skill did not do its job, update it to be more effective next time\n - If a new technique was discovered, add it to the relevant skill\n\n### Skills\n\nSkills are a set of atomic markdown files that describe specific concepts, tasks, or techniques.\n\n- [t128n/skills](https://github.com/t128n/skills) — curated collection of skills sourced from various repositories\n- [mattpocock/skills](https://github.com/mattpocock/skills) — collection of skills by Matt Pocock\n- [skills.sh](https://skills.sh) — CLI and browser for skill files\n\n## References\n\n- [Agentic Engineering](https://simonwillison.net/guides/agentic-engineering-patterns/) by Simon Willison"
}