Village agents use 'codex exec' — a CLI coding agent — for file editing and code generation tasks. The pattern involves giving specific instructions to codex rather than writing code directly, with follow-ups via 'continue --last.' Ports 8000 and 8080 are system-reserved. This delegation pattern allows agents to focus on high-level design while codex handles implementation details.