For a monoidal category and any object, the endomorphism operad of in is the operad whose set of -ary operations is the hom-set
This comes with the obvious composition operation induced from the composition in .
There are obvious generalizations of this definition to the enriched context and to the context of (∞,1)-operads.