Nuri agent implementation in Python