Start free

AI and developers · sample run 10 October 2026

AI marketing agent for TikTok: how to build one that researches first

An AI marketing agent runs the loop of research, create, post and measure for you. Give it TokConnect for the research step: TikTok's own search counts, top videos, comments and transcripts.

Run the agent loop 50 free credits, no card.
The loop: research, create, post, measure. Research decides the rest.
Part 1

What an AI marketing agent is

An AI marketing agent is a language model with tools and a goal, left to run a marketing loop with light supervision. For TikTok the loop has four steps. Each step needs a different tool, and only the first one tells the agent what to make.

  1. 1 · Research

    Find what people want

    What people type into TikTok search and how often, who searches, which videos already win and what viewers ask in the comments. TokConnect's MCP server gives the agent these as tools.

  2. 2 · Create

    Write and make it

    Scripts, hooks, slideshow text and captions from the model; images and video from whatever creative tools you plug in.

  3. 3 · Post

    Publish it

    A scheduler or a person with the phone. Keep a human approving every post; the guardrails are in Part 6.

  4. 4 · Measure

    Read the result

    Your own analytics in TikTok Studio, plus public views, saves and comments on your posts and your rivals' through TokConnect. Then back to step 1.

Part 2

Why the research step decides the results

An agent can post every day. If it does not know what people search for, it posts every day into nothing. Our sample niche shows the cost plainly.

On 28 September Selkirk Sport posted a video about its OMNI paddle. By 10 October it had 274 views. That same week, "omni paddle pickleball" drew 167,283 searches on TikTok, and TikTok matched 0 videos to the phrase. The demand was there. The post did not use the words people typed.

JOOLA is in the same spot. "joola pickleball paddles" had 182,481 searches in 7 days and 0 matching videos, while JOOLA Pickleball's last 29 posts had a median of 1,533 views. An agent that reads the search data first writes the video people are already asking for.

"omni paddle pickleball"167,283searches in 7 days, 0 videos
Selkirk's OMNI post274views in 12 days
"joola pickleball paddles"182,481searches in 7 days, 0 videos
JOOLA's last 29 posts1,533median views

TikTok Creator Search Insights and public posts, via TokConnect, 10 October 2026.

Why everyone is building one

36,022bookmarks on Oliver Henry's guide to Larry, his OpenClaw TikTok agent (7.28M views)
8,418bookmarks on Alex Nguyen's guide to automating TikTok slideshows with Claude
4 of 10of the most-bookmarked TikTok posts we found on X are agent or AI-automation guides
1,900US Google searches a month for "ai marketing agent", at a $9.80 cost per click

X figures from our search of X's Top tab on 10 October 2026, ranked by bookmarks. Google volume and cost per click from Keywords Everywhere, the same day.

Part 3

Build it: Claude Code, OpenClaw or Hermes plus TokConnect

Pick the agent host you already use. Each one adds TokConnect as a remote MCP server at https://mcp.tokconnect.com/mcp, and the agent then sees 83 TikTok tools. Get a key at app.tokconnect.com; new accounts get 50 free credits.

Claude Code

claude mcp add --transport http tokconnect https://mcp.tokconnect.com/mcp \
  --header "Authorization: Bearer YOUR_TOKCONNECT_KEY"

Type /mcp to check it loaded.

Claude Code setup →

OpenClaw

openclaw mcp add tokconnect \
  --url https://mcp.tokconnect.com/mcp \
  --transport streamable-http \
  --header "Authorization: Bearer YOUR_TOKCONNECT_KEY"

Then openclaw mcp doctor tokconnect --probe.

OpenClaw setup →

Hermes

# ~/.hermes/config.yaml
mcp_servers:
  tokconnect:
    url: "https://mcp.tokconnect.com/mcp"
    headers:
      Authorization: "Bearer ${TOKCONNECT_KEY}"

Then /reload-mcp.

Hermes setup →

Commands follow the Claude Code MCP docs, the OpenClaw MCP registry reference and the Hermes Agent MCP docs, checked 10 October 2026. ChatGPT, Cursor and others are on the connect pages; the TikTok MCP guide compares servers.

Give the agent a research rule

Paste this into the agent's instructions or skill file, so it researches before it writes:

Before writing any TikTok for [your niche]:
1. Call search_topics for the niche and two close phrases. Keep searches with
   demand; flag the ones where videoCount is 0.
2. Call search_popularity (180 days) on the biggest search to see the season.
3. Call audience_demographics on it to see who searches.
4. Call search_videos sorted by most_liked. Note length, format and opening line.
5. Call video_comments and video_transcript on the top video.
6. Write each brief with the search phrase, its 7-day searches and video count,
   and say the phrase in the first line, the on-screen text and the caption.
Part 4

A real sample run: pickleball paddles

We ran that research rule through TokConnect on 10 October 2026 for one niche, pickleball paddles. Below is each tool call in the order the agent made it, with the real output, trimmed. Search counts are TikTok's 7-day global search popularity.

  1. search_topics "pickleball paddle", then "pickleball"

    Typed TikTok searches about pickleball paddles, 7 days to 10 October 2026
    Search, as typed7-day searchesVideos
    how to hit a pickleball295,6110
    best paddle for pickleball 2026294,088793
    how to clean pickleball paddles292,0530
    best pickleball paddles under 100261,626550
    how to hold pickleball paddle257,425493
    best pickleball paddles under 50236,0760
    best pickleball paddles218,2211,095
    how to regrip pickleball paddle204,0970
    joola pickleball paddles182,4810
    omni paddle pickleball167,2830

    Agent's note 11 of the 20 "pickleball paddle" searches had no matching videos. Tinted rows are gaps: care questions, a budget, and two paddle names.

  2. search_popularity "best pickleball paddles", 180 days

    Agent's note Demand peaked in June. September's median was about a quarter of June's. The niche still has a big audience, but this is the quiet half of the year.

  3. audience_demographics "best pickleball paddles", 30 days

    48.3%are 18 to 24, the largest age group
    53.0%are men (31.1% women, the rest unknown)
    98.0%search from the United States

    Shares of TikTok's panel of searchers.

  4. search_videos "best pickleball paddles", most liked, 20 results

    • 12 of 20are ranked lists: top 5, top 3 or a tier list
    • 76.5 smedian length; 12 of 20 run a minute or more
    • 14 of 20come from creators under 10,000 followers
    • 13 of 20were posted since 1 September 2026

    Agent's note Long, ranked, recent and made by small accounts. The top result has 558,600 views from a creator with 19,500 followers.

  5. video_transcript on the top video (72 seconds)

    1. 0.1 sProof: "I've tested over 30 paddles so that you don't have to"
    2. 3.5 sPromise: the top five paddles for 2026
    3. 6.2 sNumber 5, with one hard number on spin
    4. EndCovers two paddles, then asks for a follow to see the rest
  6. video_comments on the top video, 50 of 95

    13ask about a specific paddle: is it worth it, how does it compare
    13ask for a free paddle
    3want the rest of the list; the top comment, 760 likes, says splitting a top 5 into two videos cost the follow
    3doubt the ranking or ask about affiliate codes

    Themes coded by hand. Commenter names removed.

  7. search_users + creator_posts for JOOLA Pickleball and Selkirk Sport

    Brand accountFollowersMedian viewsBest post
    JOOLA Pickleball, last 29 posts8,7371,533660,500
    Selkirk Sport, last 30 posts20,79186988,500

    Agent's note 13 of JOOLA's 29 posts carry TikTok's ad flag, including its 660,500-view best. Selkirk's best carries no ad flag and opens on a question: "Is this the last pickleball bag you'll ever need?"

Brand and shop videos the run found

JOOLA Pickleball ad post: a player mid-swing with the text Pro IV, we did a full breakdown, JOOLA's most-viewed post in the run
@joolapickleball · 660.5K views · 8 Jul 2026 · Watch on TikTok ↗
JOOLA Pickleball post asking employees what sound a pickleball makes, its best post without the ad flag
@joolapickleball · 37.5K views · 7 Jul 2026 · Watch on TikTok ↗
PIKL LA shop video ranking pickleball paddles on a tier list, a shop's video among the top 20 results
@pikllosangeles · 199.3K views · 1 Aug 2026 · Watch on TikTok ↗
Selkirk Sport video opening a pickleball bag full of gear, its best post in the run
@selkirksport · 88.5K views · 1 Sep 2026 · Watch on TikTok ↗
Selkirk Sport post: a player holding the OMNI paddle with the text First day playing with the Omni, 274 views against 167,283 weekly searches
@selkirksport · 274 views · 28 Sep 2026 · Watch on TikTok ↗

Which TikTok searches about [your product] have demand and no videos yet? Show 7-day searches, video counts and the 180-day trend for the biggest one.

Find the gaps
Part 5

The content brief the agent wrote

For: a pickleball paddle brand or shop. Audience: mostly 18 to 24, US, more men than women. Every line points back to a step in the run.

Video 1

How to clean a pickleball paddle

Why: 292,053 searches in 7 days, 0 videos (step 1). "how to regrip pickleball paddle" is a second gap at 204,097.

Make it: say "how to clean pickleball paddles" in the first line, the on-screen text and the caption. Keep it short; it is a how-to, not a list.

Video 2

The best pickleball paddles under $50, all five in one video

Why: 236,076 searches, 0 videos (step 1). Ranked lists hold 12 of the top 20 slots (step 4).

Make it: open on proof in the first second, as the top video does (step 5). Put all five in one video: splitting a list drew the top complaint, 760 likes (step 6).

Video 3

Answer your own paddle's search

Why: "joola pickleball paddles" 182,481 and "omni paddle pickleball" 167,283 searches, both with 0 videos (step 1). Selkirk's OMNI post reached 274 views (step 7).

Make it: a "paddle A vs paddle B" video using the exact searched name. 13 of 50 comments asked about specific paddles (step 6).

Timing. Demand peaked in June (step 2). Post the evergreen care videos now; save the buying guides' biggest push for the busier months.

Read the comments on the most-liked TikTok video about [your niche]. Group the questions people ask, count each group, and turn the top three into video briefs.

Mine the comments
Part 6

Guardrails for a TikTok agent

Keep the agent out of the app. Section 5 of TikTok's Terms of Service says you may not "use automated scripts to collect information from or otherwise interact with the Services" (last updated 1 December 2025, checked 10 October 2026). No automated likes, follows, comments or DMs.

  • Research through tools, not a logged-in browser. The agent calls TokConnect's MCP tools; it never drives your TikTok account.
  • A person approves every post. The agent drafts; you publish or schedule.
  • Budget the calls. The run above took 11 research calls. Failed calls are not charged.

The full rulebook, including what posting automation TikTok supports, is in TikTok automation. Plans run from Starter at $49 for 500 credits to Pro at $199 for 8,000 a month; see pricing.

Compare [your brand]'s last 30 TikTok posts with what people search for [your brand] by name. Which product searches have no videos yet?

Audit your brand
What the agent can read through TokConnectAvailable
TikTok search counts, 30- and 180-day curvesYes
Who searches a topic (age, gender, country)Yes
Public videos, creators and commentsYes
TranscriptsWhere TikTok has captions
TikTok Shop listings and sold countsYes
Your private analytics, follower historyNo
Ad spend, emails, creator audience demographicsNo

Questions about AI marketing agents for TikTok

What is an AI marketing agent?

A language model with tools and a goal that runs a marketing loop for you: research, create, post and measure. For TikTok, TokConnect supplies the research step as MCP tools: TikTok's own search counts, who searches, top videos, comments and transcripts.

Which AI apps can run a TikTok marketing agent?

Any host that accepts a remote MCP server. Claude Code, OpenClaw and Hermes each add TokConnect at https://mcp.tokconnect.com/mcp with one command or a few lines of config, and Claude, ChatGPT and Cursor work too. The connect pages cover each one.

What should an AI agent research before making a TikTok?

Searches with demand and their video counts, the trend over 180 days, who searches, the most-liked videos and their comments. In our pickleball run, "how to clean pickleball paddles" had 292,053 searches in 7 days and 0 videos: a brief the agent could not have guessed.

How much does it cost to run a TikTok research agent?

TokConnect starts with 50 free credits and no card. Starter is $49 for 500 credits a month, Growth $99 for 2,000 and Pro $199 for 8,000. Failed calls are not charged, and the sample run on this page took 11 research calls.

How we got these numbers

We ran the research rule above through TokConnect on 10 October 2026, in this order:

  • search_topics for "pickleball paddle" and "pickleball" (20 searches each);
  • search_popularity (180 days) and audience_demographics (30 days) for "best pickleball paddles";
  • search_videos for "best pickleball paddles", most liked (20 videos);
  • video_transcript and video_comments (50 of 95) on the top video;
  • search_users for JOOLA and Selkirk, then creator_posts for @joolapickleball and @selkirksport; video_detail for the covers shown.

Search counts are TikTok's global 7-day search popularity from Creator Search Insights; every phrase quoted is under 1 million and treated as a typed search. Monthly figures are medians of TikTok's readings, not totals. Individual creators are described, not named; brand and shop accounts are. X figures come from our own search of X on the same day. Open the data.

Ask TokConnectPoint the agent at your niche

Ask about any niche, trend, creator or hashtag. TokConnect checks TikTok’s real numbers and tells you what to do.

Free to start: 50 credits, no card · or use it in ChatGPT, Claude or Cursor