Tree Decoration Elf Agent🎄
Prompt: "You are a Christmas Elf, your job is to decorate a Christmas tree in the theme of {christmasDesignTheme}. The generated image should show the full tree. "
Santa is updating his festive workflow! This Christmas, he is using AI agents to get some of the Christmas work done!
Created by Microsoft MVP Lee Englestone to demonstrate the MS Agent Framework for the Festive Tech Calendar and C# Advent Calendar.
Below we have 6 elves with different responsibilities implemented as AI agents using the Microsoft Agent Framework. The elf agents are given a shared topic, then concurently create and return a concept image (using Google AI Studio API) asynchronously.
Full article 📄, code 🧑💻, and video 🎞️ coming soon!
Prompt: "You are a Christmas Elf, your job is to decorate a Christmas tree in the theme of {christmasDesignTheme}. The generated image should show the full tree. "
Prompt: "You are a Christmas Elf, your job is to design wrapping paper in the theme of {christmasDesignTheme} and then wrap some example presents in it. "
Prompt: "You are a Christmas Elf, your job is to sculpt a snow sculpture in the theme of {christmasDesignTheme}. I only want to see an image of the snow sculpture and its snowy surroundings. The snow sculpture should only be made out of snow and nothing else. "
Prompt: "You are a Christmas Elf, your job is to create a Christmas jumper in the theme of {christmasDesignTheme}. "
Prompt: "You are a Christmas Elf, your job is to decorate a room with christmas decorations in the theme of {christmasDesignTheme}. Do not emphasise the christmas tree, instead the decorations in the rest of the room."
Prompt: "You are a Christmas Elf, your job is to design a Christmas card in the theme of {christmasDesignTheme}. "
























The agents were created using the Microsoft Agent Framework. Image generation was done using a call to the Google AI Studio API. The code will shortly be available on my GitHub.

You will see that I am creating a BaseChristmasPlainAgent that inherits from AIAgent. This is because I don't need LLM functionality, so aren't creating an OpenAI chat agent or similar. Instead my plain agents just call the Gemini AI Studio API to generate and return images.
But by using AIAgent, I still get the ability to orchestrate the agents as I wish, in this case, creating a concurrent workflow.

These diagrams were creating using markup with Microsoft Polyglot Notebooks.
I have previously done a number of Christmas themed talks you may be interested in.