Tarun Srivastava · AI Agent Architecture

LinkedIn AI PR Agent
Workflow

Autonomous · Free Stack · Google Cloud · EST Schedule

Live on Google Cloud VM · 24/7 Autonomous
2
Active Agents
5x
Posts / Week
$0
Monthly Cost
7+
APIs Connected
Agent Workflow Pipeline
🔍
Research
RSS feeds scan AI & HR news daily
✍️
Generate
Groq llama-3.3-70b writes premium post
🖼️
Image
Unsplash fetches HD relevant photo
📤
Publish
LinkedIn Official API posts content
📊
Learn
Memory tracks topics & performance
Tools & Stack
🐍 Python 3.11 ☁️ Google Cloud VM 📦 nohup daemon 🔄 schedule library 📡 feedparser 📁 local JSON memory 📧 Gmail SMTP 🐧 Debian Linux 🔁 crontab autostart 🌐 requests library
APIs Connected
LinkedIn Official APIPost content + URN
Groq APIllama-3.3-70b writing
Unsplash APIHD photo search
Hunter.io APILead email finder
Snov.io APILead enrichment
Prospeo APIContact finder
Google News RSSFree news search
Gmail SMTPNotifications
Weekly Post Schedule (EST)
Mon
9:00 AM
AI Tools & Breakthroughs
Tue
12:00 PM
AI in Human Resources
Wed
9:00 AM
New AI Launches
Thu
12:00 PM
AI in Talent Acquisition
Fri
9:00 AM
Mix All Topics
Sat
—
Rest
Sun
6:00 PM
Weekly Report Email
Agent Skills
🔬
Research Skill
Scans RSS feeds from TechCrunch, VentureBeat, AI News daily for fresh topics
✍️
Writing Skill
Groq 70b model writes in Tarun's voice — punchy hooks, insights, CTA under 100 words
🧠
Memory Skill
Tracks all posted topics in memory.json — never repeats within 7 days
🖼️
Image Skill
Extracts specific keywords → fetches perfectly relevant HD photo from Unsplash
📈
Learning Skill
After 10 posts, auto-adjusts topic weights based on engagement performance
Agent Rules
🚫
No Repeats
Same topic blocked for 7 days after posting
#️⃣
Hashtag Rule
Always 3-5 relevant hashtags including #AIinHR or #TalentAcquisition
📏
Word Limit
Posts strictly under 100 words. No corporate speak. No passive voice.
🔁
Retry Logic
If API fails → wait → retry 3x. If LinkedIn blocks → wait 24hrs.
📊
Content Mix
40% AI tools · 25% AI in HR · 20% New launches · 15% Talent Acquisition
Two Autonomous Agents
PR Posting Agent · main.py
LinkedIn API Groq 70b Unsplash Gmail
→ Runs Mon–Fri on EST schedule
→ Researches AI/HR news via RSS
→ Writes post in Tarun's voice
→ Fetches relevant HD image
→ Posts via LinkedIn Official API
→ Logs to memory.json
→ Emails notification to Tarun
Lead Generation Agent · lead_agent.py
Hunter.io Snov.io Prospeo Google RSS
→ Runs daily at 10AM EST
→ Scans RSS for hiring intent signals
→ Extracts company names via Ollama
→ Finds HR contacts via Hunter.io
→ Scores leads 1–10 (7+ = hot)
→ Saves to leads.json + leads.csv
→ Emails daily lead summary
Post Content Rules
Hook (Line 1)
Shocking stat
Bold statement
Personal story opener
Provocative question
Body (Lines 3–5)
Max 3 short punchy lines
12 words per line max
Real insight from news
Tarun's expert voice
CTA (Lines 7–10)
Practical takeaway
Start with action verb
Engagement question
3–5 hashtags