Tag integrated optical circuits