create agent/ directory in LOCALSTATE_DIR