agent: Major refactor to support IPC
Enable logger passthrough