Implement `build_a_production_agent` in Python. Test cases verify edge cases and functional requirements.
build_a_production_agent(*args, **kwargs)