def start(debug=False, host='127.0.0.1'):
    """ starts a nago agent (daemon) process """
    if debug:
        debug = True
    nago.protocols.httpserver.app.run(debug=debug, host=host)
starts a nago agent (daemon) process