Pragmatic by design: Engineering AI for the real world