An autonomous AI pipeline that turns each day's news into a startup idea, complete with a business model, a written newsletter post, a generated header image, and a two-host podcast.
This is the reference implementation from The Agentic Pipeline, a free video course by GammaVibe. It's one possible end state: a working build that you can run, read, and compare with your own. If you follow the course, your build will turn out differently, depending on the decisions you make, what the AI generates, and how you iterate. That's expected.
- 🎓 The course (free on YouTube): gammavibe.com/agentic-pipeline-course has more about who it's for and what to expect, plus the link to the full video series.
- 🚀 See it in action: gammavibe.com publishes the daily posts, images, and podcasts from the production pipeline.
This README describes how to run the finished pipeline. To build it yourself from scratch, take the course. Everything you need to follow along is in this repo (see Build It Yourself).
The pipeline runs daily. It fetches news from curated sources, uses AI agents to filter articles and extract business signals, synthesizes startup candidates, expands the best one into a full business model, and produces the finished newsletter: written post, header image, and podcast. Every step persists its output to a local database, which makes each run resumable and easy to debug.
(See the architecture diagram below.)
The course teaches the simplified stack with SQLite and ChromaDB and markdown output. The production version uses PostgreSQL and pgvector and publishes to Ghost CMS.
(See the tech stack diagram below.)
- Python 3.13+
- uv for dependency management
- ffmpeg, used by the PodcastAudio step to convert the generated audio to MP3 (
brew install ffmpeg,sudo apt install ffmpeg, orwinget install ffmpeg) - Gemini API key: get a free key at Google AI Studio. Note that the free tier has rate limits; for sustained use, set up billing in Google Cloud Console.
- NewsAPI.ai API key + Topic Page URI: sign up at newsapi.ai, then create a Topic Page and copy its URI. The course walks through the Topic Page setup. (For daily production runs you'll want a paid plan. This referral link gets you a discounted $40 plan; I get a small commission.)
# 1. Install dependencies
uv sync
# 2. Configure your API keys
cp env.example .env
# then open .env and fill in GEMINI_API_KEY, NEWSAPI_API_KEY, and NEWSAPI_TOPIC_URI
# 3. Create the database
uv run alembic upgrade head
# 4. Run the full pipeline
uv run idea-pipeline runGenerated output lands in output/ (newsletter markdown, header image, podcast script + MP3). The SQLite database and vector store live in data/.
Note: AI models evolve quickly. RECOMMENDATIONS.md lists the Gemini models I currently recommend, and they supersede the choices in this repo and in the course videos. It also covers running the text steps on local models with LM Studio, which is experimental.
uv run idea-pipeline run --verbose # detailed step-by-step logging
uv run idea-pipeline run --resume # resume the most recent failed/incomplete run
uv run idea-pipeline --help # all options
uv run pytest # run the test suiteThis repo is the finished reference. The course shows how to build it from an empty directory using agentic engineering: why each decision is made, how to evaluate what the AI produces, and when to push back.
Start at gammavibe.com/agentic-pipeline-course. That page has more about who the course is for and what to expect, plus the link to the videos on YouTube.
The starter_files/ folder contains everything you need to follow along. The Project Setup video (the second video in the course) has instructions for how to use these files.
| File | Description |
|---|---|
| .gitignore | Ignore data and output folders, env file, and Python artifacts from your Git repository |
| env.example | Placeholders for environment variables (API keys etc.); copy this to .env to add your own keys |
| CLAUDE.md | Guidance for Claude Code (you can also rename this to AGENTS.md to work with other coding agents) |
| README.md | Project info and the first few Claude Code prompts that you can copy & paste |
| Diagram.png | The pipeline architecture and steps |
| TechStack.png | Overview of the tech stack we'll use for the course |
- RECOMMENDATIONS.md: up-to-date AI model recommendations, notes on running local models with LM Studio, and current guidance on Claude Code. Models have evolved since the videos were recorded, so this file supersedes the model choices shown in the course and in CLAUDE.md.
- diagrams/: all the diagrams that appear in the course, usually prefixed by module name (e.g.
Extraction - ...). - CLAUDE.md: the full project conventions that guide the coding agent.
Pipeline architecture
The diagram shows the core pipeline. The repo also includes bonus PodcastScript and PodcastAudio steps that turn the finished idea into a two-host audio episode.
Tech stack
All the diagrams that appear in the course are in the diagrams/ folder.
Licensed under the MIT License. See LICENSE for details.

