← Writing
AI Dev Tooling · C++ Engine

Building a C++ engine with an AI agent harness

PlanetExplorer · personal project

Building a low-level C++ voxel-planet engine (see PlanetExplorer) solo means being the researcher, the implementer, and the reviewer at once. Rather than treat an LLM as an autocomplete, I built a small agent harness around the project — specialized, mostly read-only agents plus workflow skills — so AI accelerates the hard parts while the architecture and testing gates stay firmly in control. The goal is leverage without vibe-coding.

The agents

The skills

On top of the agents, a set of custom skills — start-issue, commit, pr, review, new-issue — encode the repository's actual workflow (branching, signed commits, PR conventions). Crucially, they're thin orchestration over code and steps that are already deterministic and unit-tested — the skills exist to cut the amount of human input, not to replace the tested logic underneath. Net effect: fewer manual steps, same testable, reliable outcome.

The loop

flowchart TB
  T[Design question / task] --> R[engine-research
grounded in official docs · read-only] R --> IMPL[Implement in C++] IMPL --> REV[engine-reviewer
diff review vs architecture + gates] REV -->|findings| IMPL REV --> G{Testing gates} G -->|unit · GPU-vs-CPU ref · golden image| PASS[commit / pr skills] G -->|fail| IMPL PASS --> MERGE[Merge]

Why it's built this way

Takeaway — a disciplined, agent-assisted workflow lets one engineer take on genuinely low-level work (a custom Vulkan voxel engine) at pace, without surrendering correctness to the model.
Claude / Claude CodeAgent authoringSkill authoringC++ engineAgentic workflows