Vibe-code an AI agent that posts to social media
Sponsored by AITIM Group. Vibe-code a real, deployed app: an AI agent that writes social media posts from a topic, waits for your approval, and publishes them to a real account.
- Category
- AI
- Lesson
- 20 min
- Effort
- ~10h
- Prize
- $100
- Closes in
Learn
20 min lesson
What you'll learn
How to vibe-code a real product: you describe what you want in plain language, an AI coding tool writes the code, and you steer it until a working app is live on the internet. Here the product is an AI agent that writes social media posts and publishes them.
What vibe coding is, and is not
You are the product owner and the AI is the engineer. You do not need to write the code yourself, but you do need to know what you want, test what you get, and say clearly what is wrong. Tools that work this way include Claude Code, Cursor, Lovable, Replit and v0. Pick one and stay with it.
Build it in this order
Ask for one piece at a time, run it, and only then ask for the next. A prompt that asks for everything at once gives you something you cannot debug.
- A page that works. "Build a web app with one page: a text box for a topic, a button, and a list of drafts." Run it. See it in the browser.
- The writer. "When I press the button, call a language model and write a post about the topic, for LinkedIn, in a friendly professional voice, under 600 characters." Try five topics. Fix the voice by telling the AI what you did not like.
- Approval. "Each draft has Approve, Edit and Discard. Nothing can be published until it is approved." This is the step that makes it safe to hand to a company.
- A real account. "Connect my own account on one platform through its official API and publish an approved post." Do the platform's developer setup yourself; the AI tool can walk you through it.
- A schedule. "Let me choose a time for an approved post, and publish it then."
- A history. "Show every post, where it went, when, and a link to it. Never publish the same draft twice."
- Deploy. "Deploy this so it has a public URL." Vercel, Netlify, Replit and Lovable can all host it for free.
How to steer when it goes wrong
- Paste the exact error message back to the AI. Do not describe it from memory.
- Say what you expected and what happened instead.
- If it goes in circles, go back to the last version that worked and ask for a smaller step.
- Commit to GitHub after every step that works. That is your undo button.
Keep it safe
- Publish only to accounts you own, or a test account made for this challenge.
- Keys and tokens go in environment variables. Tell the AI this in your first prompt, and check the repo before you share it.
- Approval is on by default. An agent that posts on its own the first time it runs is a bug.
Keep your prompts
Save the prompts that mattered and what you changed after each one. That build log is part of what you hand in: it shows how you think, which is what a company hiring you wants to see.
When someone else can open your URL, type a topic, approve the draft and see it appear on a real account, you are ready to submit.
Finish the lesson to unlock submitting.
Sign in to start learningDo
about 10h of work
The task
Deliverables
- 01A live app at a public URL that the judges can open
- 02A public GitHub repo with the code the AI tool produced
- 03Your build log: the prompts that mattered and what you changed after each
- 04A 1-2 minute demo video showing one post go from topic to published
- 05A link to the account where the agent posted
Acceptance criteria
Judged against exactly these
- The app is deployed and opens at a public URL; it is a product with a screen, not a script
- Given a topic or a link, the agent drafts a post with a language model, in a brand voice the user can set
- A person can approve, edit or discard each draft, and nothing is published without approval
- An approved post is published to at least one real social media account through that platform's official API
- A post can be scheduled for a later time, and a history shows what was posted, where and when
- The build log shows it was vibe-coded: the key prompts and the decisions you made along the way
- API keys and tokens are read from environment variables and are not in the repo, the build log or the video
Rules
- Complete the lesson first. The submit form unlocks once you mark it done.
- Submit a link to your work: a public GitHub repo or PR for code challenges; YouTube, Google Drive or Docs, Figma, Notion or a live site for everything else.
- AI tools are allowed and encouraged. Plagiarised or copied work is disqualified.
- The work must be made during the challenge window. For code, the commit history must show it.
- An AI reviewer pre-scores every entry against the acceptance criteria. A human makes the final decision.
- On payout, Alt AI Labs receives a licence to use the winning work (MIT for code). Non-winning entries stay yours.
- Do not include secrets, API keys or anyone's personal data.
- Post only to accounts you own or a test account created for this challenge. Spam or posting to other people's accounts is disqualified.
- Follow the terms of the platform you post to.
Submit
Sign in and complete the lesson to submit. Entry is free.
Sign inResults
- 01
AI pre-score
AI reviews your write-up against the acceptance criteria. It cannot open your link, so explain your work clearly.
- 02
Human decision
A human reviews the work itself and makes the final call. The AI score is advisory.
- 03
Win
Winners are paid 1st $100, and their work is shown to the organization behind the challenge.
Posted by
AITIM Group