We report the design and characterization of photoactive yellow protein (PYP)−blue fluorescent protein (mTagBFP) fusion constructs that permit the direct assay of reconstitution and function of the PYP domain. These constructs allow for in vivo testing of co-expression systems for enzymatic production of the p-coumaric acid-based PYP chromophore, via the action of tyrosine ammonia lyase and pcoumaroyl-CoA ligase (pCL or 4CL). We find that different 4CL enzymes can function to reconstitute PYP, including 4CL from Arabidopsis thaliana that can produce ∼100% holo-PYP protein under optimal conditions. mTagBFP fusion constructs additionally enable rapid analysis of effects of mutations on PYP photocycles. We use this mTagBFP fusion strategy to demonstrate in vivo reconstitution of several PYP-based optogenetic tools in Escherichia coli via a biosynthesized chromophore, an important step for the use of these optogenetic tools in vivo in diverse hosts.