{"id":49619117,"url":"https://github.com/sujeetgund/linkedin-post-generator-agent","last_synced_at":"2026-05-05T00:46:09.864Z","repository":{"id":297663927,"uuid":"997523008","full_name":"sujeetgund/linkedin-post-generator-agent","owner":"sujeetgund","description":"An AI-powered agent-based system to generate engaging LinkedIn posts through an orchestrated multi-phase process.","archived":false,"fork":false,"pushed_at":"2025-06-12T11:00:58.000Z","size":31,"stargazers_count":9,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T00:45:49.283Z","etag":null,"topics":["ai-agents","cloudinary","content-generation","gemini-api","generative-ai","google-adk","linkedin-post-generator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sujeetgund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-06T17:13:08.000Z","updated_at":"2026-04-19T06:15:51.000Z","dependencies_parsed_at":"2025-06-06T18:40:48.102Z","dependency_job_id":null,"html_url":"https://github.com/sujeetgund/linkedin-post-generator-agent","commit_stats":null,"previous_names":["sujeetgund/linkedin-post-generator-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sujeetgund/linkedin-post-generator-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetgund%2Flinkedin-post-generator-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetgund%2Flinkedin-post-generator-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetgund%2Flinkedin-post-generator-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetgund%2Flinkedin-post-generator-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sujeetgund","download_url":"https://codeload.github.com/sujeetgund/linkedin-post-generator-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetgund%2Flinkedin-post-generator-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32631058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","cloudinary","content-generation","gemini-api","generative-ai","google-adk","linkedin-post-generator"],"created_at":"2026-05-05T00:46:05.326Z","updated_at":"2026-05-05T00:46:09.745Z","avatar_url":"https://github.com/sujeetgund.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 LinkedIn Post Generator Agent\n\nA modular, agent-based system for crafting engaging LinkedIn posts. This project uses Google ADK (Agent Development Kit) to orchestrate multiple specialized sub-agents, ensuring a polished, professional final post — complete with behind-the-scenes storytelling, optimized hashtags, and an optional image.\n\n\n## 📝 Project Overview\n\nI launched this project after noticing a clear pattern - While more people are sharing on LinkedIn, many posts end up blending together, often carrying that generic, AI-generated feel.\nIf AI is already part of the process, why not build a tool that empowers **users to create posts that stand out** and **authentically reflect their unique voice and goals**?\n\nThis project implements a multi-phase, agent-based workflow to do just that:\n\n✅ **Phase 1:** Gather post intent and additional details  \n✅ **Phase 2:** Generate a compelling behind story  \n✅ **Phase 3:** Suggest relevant hashtags  \n✅ **Phase 4:** Craft a complete post  \n✅ **Phase 5:** (Optional) Generate a prompt-based image  \n\nAll phases are orchestrated by a manager agent, delegating to sub-agents for each specialized task.\n\n\n## 📂 Project Structure\n\n```\n.\n├── .gitignore\n├── .vscode/settings.json\n├── LICENSE\n├── README.md\n├── requirements.txt\n└── linkedin_post_agent/\n    ├── .env\n    ├── agent.py\n    ├── constants.py\n    ├── prompt.py\n    └── sub_agents/\n        ├── story_agent/\n        │   ├── agent.py\n        │   └── prompt.py\n        ├── hashtag_agent/\n        │   ├── agent.py\n        │   └── prompt.py\n        ├── post_agent/\n        │   ├── agent.py\n        │   └── prompt.py\n        └── image_agent/\n            ├── agent.py\n            ├── prompt.py\n            └── tools/create_image.py\n```\n\n\n## ⚡️ Installation \u0026 Setup\n\nFollow these steps to get the project up and running:\n\n```bash\n# Clone this repository\ngit clone https://github.com/sujeetgund/linkedin-post-generator-agent.git\ncd linkedin-post-generator-agent\n\n# Set up a virtual environment\npython -m venv .venv\nsource .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\n\n# Install dependencies\npip install -r requirements.txt\n```\n\n\n## 🔑 Setting up Application Secrets\n\nCreate a `.env` file in the `linkedin_post_agent/` directory based on the provided `.env.example` file:\n\n```bash\ncd linkedin_post_agent\ncp .env.example .env\n```\n\n### Google API\n\nThis project uses the Google Gemini API for generating content and images.\n\n1. Visit the [Google AI Studio](https://aistudio.google.com/app/apikey).\n2. Sign in with your Google account.\n3. Click **\"Create API key\"** and copy it.\n\n4. Add your Gemini API key to `.env`:\n\n    ```\n    GOOGLE_API_KEY=your_gemini_api_key\n    ```\n\n### Cloudinary API\n\nTo enable image uploads, you'll need to set up Cloudinary credentials:\n\n1. [Sign up for a free Cloudinary account](https://cloudinary.com/users/register) if you don't have one.\n2. After logging in, go to your [Cloudinary Dashboard](https://cloudinary.com/console).\n3. Locate your **Cloud name**, **API Key**, and **API Secret** under the \"Account Details\" section.\n4. Add these values to your `.env` file:\n\n    ```\n    CLOUDINARY_CLOUD_NAME=your_cloud_name\n    CLOUDINARY_API_KEY=your_api_key\n    CLOUDINARY_API_SECRET=your_api_secret\n    ```\n\nThese credentials allow the agent to upload and manage images for your LinkedIn posts.\n\n## 🚀 Running the Agent\n\nTo start the agent system, run:\n\n```bash\npython -m linkedin_post_agent\n```\n\nThis command launches the FastAPI server, allowing you to generate LinkedIn posts through an interactive, agent-driven workflow.\n\nFor development and debugging, you can also launch the Google ADK developer UI with:\n\n```bash\nadk web\n```\n\n\n## ❕ Example Workflow\n\nHere’s what you can expect from the interaction:\n1. Manager agent asks: **\"What is the intention of your post?\"**\n2. You provide a topic and optional details.\n3. **Story Agent** generates an engaging backstory.\n4. **Hashtag Agent** suggests relevant hashtags.\n5. **Post Agent** crafts the complete LinkedIn post.\n6. Optionally, **Image Agent** can create a relevant image for your post.\n7. The final post (and image) are presented to you for review.\n\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\nFeel free to [open an issue](https://github.com/sujeetgund/linkedin-post-generator-agent/issues) or submit a pull request.\n\n\n## 📜 License\n\nThis project is licensed under the [Apache 2.0 License](LICENSE).\n\n\n## 🌟 Acknowledgements\n\n- Built with the power of Google Gemini API.\n- Orchestrated using Google ADK.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsujeetgund%2Flinkedin-post-generator-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsujeetgund%2Flinkedin-post-generator-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsujeetgund%2Flinkedin-post-generator-agent/lists"}