← All agents

The Ad Machine

One free agent writes your Google, Meta, TikTok, LinkedIn, YouTube and X ad copy from a single input, using your own AI key.

Comment ADS Needs: your own AI key ~10 min install MIT · 15★ Tested 2026-09-05

What it does

The Ad Machine takes one input, what you're selling and who it's for, and turns it into ad copy for six platforms: Google, Meta, TikTok, LinkedIn, YouTube and X. Under the hood it runs eighteen ad generators and eleven optimizers, each one built around a specific platform's character limits and tone, so the Meta version doesn't read like the LinkedIn version.

The claim in the video is that it "runs right in your browser with no backend and no subscription." That is close but not exact: it actually runs a real local server on your machine (a Next.js app started with npm run dev), not a zero-install, purely browser-only bundle. The free, no-subscription, bring-your-own-key part is fully accurate. If you're describing it to anyone, "runs on your own machine" is the precise version.

In testing, the app was cloned and installed, the local server started cleanly, every page returned real rendered HTML, and the backend route that scrapes a website for product details responded correctly. There is no monthly fee built into the tool itself, you only pay for whatever AI key you plug in.

Who it is for

This is for a business owner or marketer who is either paying a subscription ad-copy tool every month, or who personally rewrites the same product pitch five different ways for five different ad platforms. The Ad Machine takes over that recurring rewrite job and standardizes it against each platform's own rules.

Before you start

Install

Step 1: Clone the repo

This copies the project onto your machine.

git clone https://github.com/IamRamgarhia/OpenAdKit-Open-Source-AI-Marketing-Tool.git

Step 2: Install the dependencies

This downloads everything the app needs to run, into a folder inside the project.

cd OpenAdKit-Open-Source-AI-Marketing-Tool
npm install

Step 3: Start the app and add your AI key

This starts the local server. Open the address it prints in your browser, then paste your own AI key into the app's settings before you generate your first ad.

npm run dev

Run it

In testing, npm run dev started a real Next.js server on the machine. Every page it served came back as genuine rendered HTML, not a blank shell, and the backend route that scrapes a website to pull out product details responded correctly when called. That confirms the app is a real, working local server end to end, from the page you load down to the route that reads your product info before it writes the ads.

Troubleshooting

Port already in use when you run npm run dev. Close whatever else is running on that port, or stop it and run the command again.

Nothing happens when you try to generate an ad. Check your AI key is actually pasted into the app's settings. The tool ships with no key by default, so it can't call an LLM until you add your own.

npm install errors out on an old Node version. Update to a current Node LTS release and run npm install again.

It says "runs in your browser" somewhere and you're confused why you needed a terminal. That phrasing is a simplification. It runs a real local server on your machine that you access through your browser, it is not a hosted, zero-install tool.

Credit

Built by IamRamgarhia (https://github.com/IamRamgarhia/OpenAdKit-Open-Source-AI-Marketing-Tool), MIT license, 15 stars at test time. One correction to how it's sometimes described: it runs a real local Next.js server via npm run dev, not a purely browser-only, no-backend bundle, the free and bring-your-own-key part of the claim holds up fine.

If one free agent just replaced a monthly ad-copy subscription, that's one gap closed, the challenge is where you close the other nine.
Next step

Want to build your own?

This is one agent. The 7-Day AI Native Challenge is how you learn to build the next ten yourself, live, with Dany.

Join the Challenge →
Or skip straight to done for you

Too busy to build it yourself? Focentra AI will build, install and train your team on it. Priced on the call.

Talk to Focentra AI

Download the PDF version

This guide includes affiliate links for tools mentioned in the setup steps. If you sign up through them, I may earn a commission at no extra cost to you.