Menu

1 / 2

How I Built an Autonomous PR Agent with SerpApi, LangGraph, and LangSmith

DEV Community·Stefano Casafranca·7 months ago
#nkbCoX8z
#serpapi#building#python#graph#reddit
Reading 0:00
15s threshold

Building in Public an Autonomous Marketing Agent with SerpApi, LangGraph, and LangSmith inside Reddit to promote my GitHub Project.

Most "AI agent" tutorials show you a ReAct loop that calls tools until the LLM decides it's done. That works for demos. It breaks in production.

I built an autonomous PR / Mkt agent called Doug that discovers relevant Reddit threads via SerpApi, drafts contextual comments, and post them on a schedule, all without human intervention. It runs on GitHub Actions, traces every decision in LangSmith, and has been operating in production for 2 weeks now.

Here's how I designed it to actually work till the point of "drafting the response for the Reddit Thread".

Disclaimer: The final step for the agent was supposed to be posting in reddit itself but seems like Reddit banned that...I have to copy the draft and post it on the thread that my agent Doug found for me each morning so I can market my plugin and help more devs get rid of using WordPress for their clients as the CMS and use…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.