Governed AI Agents Inside Deterministic Software