Returning from agent call