Article Suggestions Workflow
π€ AI Content Research Agent
This repository includes an automated AI Content Research Agent that helps generate article suggestions based on the siteβs current content and external research.
π Workflow Overviewβ
The agent runs on a weekly schedule (Mondays at 9AM UTC), or it can be triggered manually. It follows these steps:
- Checkout Repository β Pulls the latest code and docs.
- Set Up Python Environment β Installs Python 3.11 and caches dependencies.
- Install Dependencies β Installs required packages from
.github/scripts/requirements.txt. - Analyze Existing Site Content β Crawls the site (
SITE_URL) to extract current topics and structure. - Research External Sources β Uses external APIs (e.g., Anthropic) to gather fresh insights.
- Generate Suggestions β Creates draft article outlines in
suggested_articles/. - Prepare Branch & Commit β Creates a dated branch (e.g.,
agent-research-20250830-1707), moves files into:docs/suggested/<DATE>/docs/research/<DATE>/
- Commit Changes β If new suggestions exist, commits them.
- Create Pull Request (PR) β Pushes the branch and opens a PR with a summary of suggested articles.
- Human Review β Team members can review, edit, and approve articles before merging.
π Workflow Flow (Text Diagram)β
π€ AI Content Research Agent
This repository includes an automated AI Content Research Agent that helps generate article suggestions based on the siteβs current content and external research.
π Workflow Overviewβ
The agent runs on a weekly schedule (Mondays at 9AM UTC), or it can be triggered manually. It follows these steps:
- Checkout Repository β Pulls the latest code and docs.
- Set Up Python Environment β Installs Python 3.11 and caches dependencies.
- Install Dependencies β Installs required packages from
.github/scripts/requirements.txt. - Analyze Existing Site Content β Crawls the site (
SITE_URL) to extract current topics and structure. - Research External Sources β Uses external APIs (e.g., Anthropic) to gather fresh insights.
- Generate Suggestions β Creates draft article outlines in
suggested_articles/. - Prepare Branch & Commit β Creates a dated branch (e.g.,
agent-research-20250830-1707), moves files into:docs/suggested/<DATE>/docs/research/<DATE>/
- Commit Changes β If new suggestions exist, commits them.
- Create Pull Request (PR) β Pushes the branch and opens a PR with a summary of suggested articles.
- Human Review β Team members can review, edit, and approve articles before merging.
π Review Processβ
When a PR is created, reviewers should:
- π Review the suggested article outlines.
- π§ͺ Consider proposed collaboration experiments.
- βοΈ Edit/refine drafts as needed.
- π Move approved articles into the main
docs/directory. - π Merge when ready.
βοΈ Configuration Notesβ
- Branch Prefix: All agent branches start with
agent-research-<DATE>-<TIME>. - Secrets Required:
ANTHROPIC_API_KEYβ For external research.GH_PATβ Classic PAT (withreposcope) to create PRs.
- Workflow File:
.github/workflows/ai-research-agent.yml