Built My Own AI Agent for Linkedin Post — and It’s Smarter Than You Think!

Built My Own AI Agent for Linkedin Post — and It’s Smarter Than You Think!

You know that moment when you have a post idea, but you’re either too tired or too busy to write it out?

Yeah… I felt that pain too. So I thought — what if I could delegate this job to an AI agent?

Introducing: LinkedIn Post Agent A tiny but powerful Python agent that reads your post ideas from a Google Sheet

Sends them to a local LLM like Mistral (via Ollama) OR to ChatGPT (via OpenAI API) and returns a well-written, professional post — right back into the sheet.

It’s like your very own AI content assistant… working quietly behind the scenes.

What It Can Do:

✅ Reads your post ideas (pending) from Google Sheet

✅ Uses AI to generate full LinkedIn posts

✅ Updates the sheet with the result and marks it done

✅ Supports cron scheduling to run daily at 10 PM

✅ Or just run it instantly with –now

✅ Works offline too with local models!

Whether you’re:

  • A busy founder or builder
  • A content creator
  • Or just someone who wants to show up consistently on LinkedIn without the mental load…

This little tool will save you hours every week.

Built With:

  • Python
  • Google Sheets API
  • Ollama (local LLM) + OpenAI
  • Lots of love for automation

Full setup guide in the README 🔑 Includes tips on getting your OpenAI key + Google credentials.json

🔗 GitHub Repogithub.com/intsar/linkedin-post-agent

If you’re into: #AgenticAI #LLM #OpenSource #PythonDev #AItools #Ollama #OpenAI #GoogleSheets #Automation #LinkedInMarketing #ContentStrategy #Productivity #LinkedInPostAgent #BuildInPublic

I’d love your feedback! Also open to contributions if you’d like to extend it.