You can compose them if you allow the AI to evaluate code, and give it the proper APIs. Not much changes in this regard afaict.