Quantum-in-a-box agents