Ai Bulletin

A fully autonomous, AI-powered weekly tech newsletter that summarizes the top stories, dives deep into trends, and delivers beautifully formatted content straight to your inbox.

Ai Bulletin
Let the AI read the news β€” You read the bulletin.

πŸš€ Overview

AI Bulletin is a self-operating newsletter system designed to:
  • 🧠 Use CrewAI agents to generate insightful, structured content
  • πŸ“¨ Deliver formatted newsletters via SendGrid
  • ⚑ Run on a lightweight FastAPI backend
  • πŸ—“οΈ Schedule and automate weekly generation and delivery using APScheduler
Built for AI-curious hackers who want to stay informed.

πŸ“Š Ai Bulletin - Week 2025-W23

Ai Bulletin - Week 2025-W23

🎯 Project Goal

To automate every part of a newsletter workflow:
  1. ✍️ Curate and plan relevant content
  2. πŸ” Summarize and analyze top stories
  3. πŸ–‹οΈ Format a professional-grade newsletter
  4. πŸ“€ Email it to all subscribers
Without any human in the loop. Just subscribe and enjoy.

🧠 Agents & Responsibilities

AgentResponsibility
TopicPlannerAgentPlans weekly theme and outlines subtopics
TopStoriesAgentSummarizes the top 3 tech/AI stories
DeepDiveAgentProvides in-depth analysis on a major topic
ToolOfTheWeekAgentRecommends trending AI tool with summary
QuoteAgentPicks a relevant quote or tweet
AIInTheWildAgentHighlights a real-world AI use case
HotTakesAgentAdds quick, opinionated commentary
EditorsNoteAgentWrites a personalized closing note
NewsletterEditorAgentEdits and compiles all section drafts
HTMLFormatterAgentStyles and formats final HTML for email delivery

🧱 Architecture

πŸ” System Flow

  1. ← Done by TopicPlannerAgent
  2. TopStoriesTask, DeepDiveTask, ToolTask, QuoteTask, AIWildTask, HotTakesTask, EditorsNoteTask
  3. ← NewsletterEditorAgent
  4. ← HTMLFormatterAgent
  5. πŸš€ Email is sent via SendGrid

πŸ“Š Architectural Diagram (Textual)


🧩 Tech Stack

  • Language: Python 3.12+
  • Framework: FastAPI + Jinja2 templates
  • Task Automation: APScheduler
  • Agents & LLM: CrewAI (GPT-4 or Deepseek)
  • Database: SQLite (via SQLAlchemy ORM)
  • Email Services: SendGrid or any other service (configurable)

πŸ“ Folder Structure


βš™οΈ Getting Started

πŸ“¦ Prerequisites

  • Python 3.10+
  • : ultra-fast package manager

πŸ› οΈ Setup & Installation

πŸš€ Run Locally

🌐 Test Email Subscription


πŸ“¬ API Endpoints

MethodRouteDescription
POST
Subscribe a new email
GET
Check API health status
GET
Show unsubscribe form
POST
Unsubscribe from list

πŸ—“οΈ Automation with APScheduler

  • The
    is triggered every Sunday at 10 AM:
  • You can change the schedule in

🧹 How It Works for Subscribers

  • βœ‰οΈ When a new user subscribes, they instantly receive the latest edition of the newsletter.
  • πŸ“« We recommend checking your spam or junk folder if you don't see the email.
  • πŸ—“οΈ After that, new editions are delivered to all subscribers automatically every week.

🎁 Sponsors

AI Bulletin is currently looking for sponsors!
If you're a company or individual who believes in the power of open-source, agentic AI systems, and automated media β€” let's collaborate.
Want to sponsor AI Bulletin?
➑️ ahmadbilal.3491@gmail.com

β˜• Support Ahmad

If you enjoy AI Bulletin, consider buying me a coffee:

πŸ“„ License

This project is licensed under the MIT License

🀝 Contributing

Feel free to fork and submit PRs for enhancements, fixes, or new agent ideas.

πŸ™Œ Acknowledgements

  • Shoutout to Ed Donner for an amazing Agentic ai course.
  • CrewAI by Vercel & LangChain community
  • APScheduler for painless job scheduling
  • SendGrid for simple transactional email delivery