add port output
agent integration work