01System promptIdentity, tone, coding rules, output format. 370–4,000 words — the most legible part, and increasingly the smallest.
02ToolsFrom 3 (Codex: shell, apply_patch, update_plan) to ~18. Edit-format wars: exact-string replace vs custom diff grammars.
03The loopTurn-taking, parallel tool calls, background tasks, preserved thinking blocks carried between turns.
04Context managementThe 2026 battleground: compaction prompts, KV-cache discipline, subagent isolation, Kimi's D-Mail rollback.
05Safety & permissionsOS sandboxes (Seatbelt / Landlock) crossed with approval policies. Hooks for deterministic guardrails.
06Memory & extensibilityAGENTS.md / CLAUDE.md, skills with progressive disclosure, MCP as the universal tool bus.