wip, extracting agent to handle proxy, ipc and tracer