SocialKit: AI social toolset built on Cloudflare
Presented by: Matan Lachmish
Originally aired on October 22 @ 11:30 PM - 12:00 AM EDT
Agents are easy to demo and hard to run. SocialKit runs for real: a full AI agent that writes, designs, and schedules social posts, generating words, images, and full videos entirely on Cloudflare, with no servers and no GPUs. This session shows developers and architects the architecture that makes it work: durable agent state in Cloudflare D1, coordination in Durable Objects, media rendered with Workers, Containers, and Queues, and every model call through AI Gateway, all scaling from zero to bursts automatically. We’ll follow one post from prompt to published and show what held up under load. You’ll leave the session with a reference architecture, the agentic patterns, and a playbook to ship your own.
English
Transcript (Beta)
Hi, everyone. My name is Matan. I'm the founder of Taka. Taka is a startup. It's a platform that runs your business social media.
We're a startup part of MondayBakedByMonday.com.
And this talk is about a subject matter that we found out that is not that easy as we thought as it should be when we started.
A big part of managing social media for businesses is the content creation.
So we went into a rabbit hole, figuring out eventually that we'll create another product within the Taka ecosystem, which is called SocialKit.
And this is what I'm gonna talk about today.
So SocialKit is the social creative engine that powers Taka, but it's available as an MCP API if you're building your own agents or your platform needs to have social content capabilities so you can use it as well.
And it turns out that social content is really a niche.
It's really something that is quite different than just generating images or videos.
Social is dominated by carousels, short videos.
It has its own best practice and tricks that you need to know how to do really better.
And assuming not everyone here is a social influencer that creates a lot of content every day, we'll start with an example to set the ground.
So this is a bakery, a real bakery in Boston, like a quite new one, and it looks really cool.
And it caught my eye because it has great, great social content.
And it's quite new, but already has a few thousand followers.
And for those of you who is not scrolling all day through Instagram, that's like a really good feed for a business, like a small medium business.
It does not look like handcrafted ads, a lot of graphics. It looks really authentic.
Shots, videos, a lot of carousels. And if we'll zoom into a specific post, that's a carousel type post.
The idea is to get you engaged and swipe.
And once you pass the second slide, it's really a matter of time until you get all the way to the last one, where usually you will find a CTA that will either sell you something or invite you to do something.
And you see here this idea of tearing a paper.
Once you start scrolling, the paper tears up and a product reveals itself.
That's a trend. So that's another thing on creating social content, trends. You really need to know what's going on and what everyone is doing and what everyone's not doing.
And it looks quite easy. You say to yourself, okay, I can make that.
Sure. So let's go ahead and do it. That's how we started when we built Taka.
And we just use a general LLM for this use case. We'll just use chat, but you can use any of them.
And obviously they can create images. Here's a very short prompt.
And you will get back obviously exaggerated example of AI slope. You can work yourself into it and getting it better and better.
But on a very first impression, it's super slopey.
No one will ever post it on a real working business with actual customers.
Does not follow any trend on social and has no best practices of any kind.
It's really hard to stay on brand. You can take your way in and start iterating and prompting it all the way until you get something quite good, but creating a lot of content on a daily basis, you will find yourself, that's really a hard task.
And on top of that, it's not really editable. So if you ever tried working, creating content with AI, first shot, it's quite cool.
Then you go into this rabbit hole of trying to fix some small detail and get everything else really wrong.
And it gets degraded from time to time. Cool. So let's just add this one line of do the same thing, the exact same prompt, just use social kit.
It will figure out that this is a service.
It has an MCP. Agents can sign in freely and they do it all by themselves.
And you will get something like this. All right. So just the first prompt, really, really easy.
So like on the left side, it's the original content.
And on the right side, it's what we did just with the general AI and with social kit.
So you can see it's really similar to what the business has already made.
It's not by chance. This is a trend. They did not invent this paper tear-up. So it was really an easy mission for a social kit.
And that's just the tip of it. Because once you start working with it, you will immediately get thousands of ideas and ready-made carousels and videos and whatever.
All right.
So that was just an example. And we know how the end result should look like.
Let's take a brief look under the hood, what's really happening over there. So it's basically a workflow.
We're kind of harnessing the general AI available tools like LLNs, image creation, video creation, everything obviously is ready -made product that's available on the market.
But creating very good results needs to be really harnessed so we can control the flow.
So we start by inputting the brand and the audience.
So the brand is easy. It's like name, colors, tone of voice, even fonts, like a visual language.
The audience can be like creating a post for Instagram.
It's very different than creating a post for LinkedIn or for X. And the post brief, the same prompt that we gave like the AI, just a general idea, go in this direction, create a carousel that will reveal this pastry.
Okay.
So now we go into this phase of generation. Every step output is the input for the next step.
Okay. So it's really easy to comprehend. The first step is deciding about the content and the format.
The format is a carousel and the content is just like a blueprint of the different slides in the carousel.
Then we'll get to a visual direction.
So we give it like the visual system, really based on the brand key that we already scattered and the art direction.
So it's really simple here that our direction is this product reveal with the paper getting turned.
Now, this is probably the coolest phase where like in the end, we are creating a very visual output.
So we need to create assets.
There are three ways to create assets for a social kit. So one is if the user provided an asset, like we did, we gave a real photo of the pastry.
The second thing is that the social kit went out and scraped whatever it needs from the website or from the social profiles that are out there.
In this case, just the logo.
And the third one is social kit can create its own assets that it decides it needs inside the post.
So the paper, turn frames and the dots, they were created on time with social kit.
Eventually giving all that to the composer, which compose all of that as a visual layers.
This has a side effect, like a good side effect, that eventually you'll see in a minute, we will output not only the binary images and videos, we will also output a very editable layered object, like you would imagine working with Canva or any other visual editor.
So if the user eventually wants to edit something small, it can just do it manually, not only obeying to AI prompts and losing the control.
And now this is like what makes social kits really different and working really well.
Historically, we started with this phase. We first built a judge, an LLM that judges social content.
We just fed them with thousands of content posts from different social medias.
And we learned to understand what is a good post, what is a bad post, what creates engagement, what is not creating engagement, and giving a feedback back on what's wrong, what's not working.
So currently, we have this post, which is okay, but it has its flaws.
And the judge currently says, okay, I give it a 50 out of 100.
And the issue, the biggest issue right now is the headline. It's off brand.
It looks really not well made. Cool. So the judge routes back to the specific point in the flow that was in charge of that.
Cool. The visual direction, it got a fix.
We're closing the loop. It's LLMs. So it got fixed. And now the grade went to 62.
Cool. We're getting better. Next up, the pastry is bloated and very big.
You cannot understand that that's a really good looking pastry. Cool. Let's go back to the compose and adjust this.
Getting to 74 points out of 100. Getting better.
And lastly, I think, is the CTA, right? So the last slide in the cow cell still says, like the text said, swipe to continue, which is both wrong and also it's not a CTA, so it's not a best practice in social world.
Cool. Let's invite them to the bakery and get a point that we're satisfied with, and we can continue from here.
Okay, as I said, we will give back to the user or the agent both options, also the binary and the editable composition so you can work with.
So we started this, I don't know, five, six months ago, and it's already kind of exploded.
We have thousands of agents every day working with this, creating social content for businesses.
All obviously runs on top of Cloudflare infrastructure and gives us really, really great results.
So going back to where I started, we're building Taka.
We went into this side mission of creating a content engine, but Taka gives you the ability, if you're a business, connect to your social accounts, plan ahead, post for the month or week, see which posts work better, manage comments, learn to improve yourself over time.
Yep, and that's it. So I invite you really to go ahead and try Socialkeep, whether you're using it for your own personal agent or you're building a platform that needs agents with social capabilities, or you can use Taka if you own a business or you have a friend that owns a business.
Thank you very much for your
