I Tried to Make a Cookie Monster Agent with Agentforce @StatelessCode
I Tried to Make a Cookie Monster Agent with Agentforce  @StatelessCode
Uploaded March 2026 | Updated September 2026, 3 weeks ago
After taking a more serious tack with the past couple of Agentforce videos, we try to have a little fun and see how far we can take Agentforce in the direction of impersonating beloved Sesame Street character Cookie Monster. This is an interesting test of what Agentforce can do for several reasons:

- Cookie Monster has a particular way of talking with incorrect grammar
- Cookie Monster will do anything to try and get cookies
- "Cookie Acquisition" is an unusual use case for an agent so it might help us find some of the edge cases where we might run afoul of the Einstein Trust Layer

In the end, our Cookie Monster agent has mixed results. We could spend more time iterating on it or use an org where Data 360 is installed to help with Retrieval Augmented Generation, but Salesforce clearly did not design Agentforce with Cookie Monster impersonation in mind.

This video covers:
0:00:00 Introduction and review of previous two videos
0:02:53 Create new agent and specify general attributes
0:04:59 Create Cookie Acquisition agent topic in Agentforce Builder
0:07:04 Create the prompt template to talk like Cookie Monster in Prompt Builder
0:11:08 Add an Agentforce Action to use the new prompt template
0:12:04 Test and troubleshoot agent. Make sure "Show in Conversation" is checked
0:15:58 Switch to another Trailhead org with the Cookie Monster agent and see if results are any better
0:17:48 Concluding thoughts

#codecast #screencast #softwaredevelopment #learntocode #salesforce #agentforce #trailhead #trailblazer #agentblazer #promptbuilder #agentforcebuilder #einstein #llm #gpt #ai #agentblazerchampion #agentblazerinnovator #agentblazerlegend #cookiemonster #sesamestreet

Featured Playlist:
youtube.com/playlist?list=PL9kkbu1kLUeMXZA01EnvA6HrxtKfOlx8I

See other related StatelessCode videos:
youtu.be/Dxfx9s3f1qQ
youtu.be/ynOEq6O6s4I

Resources that we relied upon for this solution:
- Trailhead: trailhead.salesforce.com
- Agentforce main page: salesforce.com/agentforce
- Classic Sesame Street youtube.com/sesamestreet

Mike's Trailblazer Profile: salesforce.com/trailblazer/michaelduchemin

This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
I Tried to Make a Cookie Monster Agent with AgentforceOverview of Authentication Epic and Choosing DeviseThe Path to Rails 8 - Upgrade Rails from 7.2 to 8.0Codecast: Getting Started with Rails 7 07: Create Articles in the ApplicationCodecast: Getting Started with Rails 7 03: Autoloading, Generate and Migrate a ModelUpgrade Sublime Text from Version 3 to 4 on UbuntuFix a Documentation Bug Referring to the Wrong ProjectWrite Devise System Tests for Password Change via FormInstall Visual Studio Code on Ubuntu 24.04The Path to Rails 8 -Remediate Code Coverage Issue Introduced by the 7.1 UpgradeRemove the Webdrivers Gem from a Rails 7 App and Update Selenium WebdriverCodecast: statelesscode.com WordPress 14: Add Finishing Touches and Launch the Site
Stateless Code |

I Tried to Make a Cookie Monster Agent with Agentforce

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER