Sequential AI Agent:
GitHub Intelligence Pipeline
You'll build a Type 3 agent that chains three specialised Claude stages together โ each one passing its output to the next โ to produce a competitive intelligence dashboard about cal.com, the open-source scheduling platform.
๐ What is an AI Agent Type 3 โ Sequential?
A chained pipeline where each stage is a specialised AI call. Stage 1's output becomes Stage 2's input. Stage 2's output feeds Stage 3. No stage knows about the others โ they're just experts at one thing. This is the foundation of almost every real-world AI workflow. See all 7 Agent Types โ
- โClaude Code installed โ run
npm install -g @anthropic-ai/claude-codeif not yet installed - A terminal open and ready โ Claude Code runs from the command line
- (Optional) A GitHub Personal Access Token for higher API rate limits โ not required for this workshop
Hit "Begin Sprint" to start the 10-minute countdown. You'll run three sequential Claude Code prompts, each building on the last. The final output is a complete HTML dashboard saved to your local machine.
Stage 1: Fetch Agent
Query GitHub API
The first agent in your pipeline has one job: hit the GitHub API for cal.com and pull structured raw data. It saves everything to a JSON file that Stage 2 will consume.
๐ต What this agent does
Stage 1 is purely a data fetcher. It calls four GitHub API endpoints, normalises the results, and writes a single calcom_data.json file. No analysis, no interpretation โ just clean, structured data for Stage 2 to work with.
-
1Open your terminal and navigate to a working directory:
cd ~/Desktop && mkdir calcom-intel && cd calcom-intel -
2Launch Claude Code in this directory:
claude -
3Copy the Stage 1 prompt below and paste it into the Claude Code prompt. Hit Enter and let it run.
-
4Wait for Claude Code to finish โ it will confirm that
calcom_data.jsonhas been created. Don't move on until you see this confirmation.
What Claude Code does behind the scenes: It writes a Node.js or Python script, executes it in your terminal, handles pagination, and saves the JSON. You don't write any code โ the agent does it all. This is the power of a tool-using sequential agent.
- Claude Code confirmed calcom_data.json was created
- The file exists in your
calcom-intelfolder - Claude Code printed the Stage 1 Complete confirmation with data counts
Stage 2: Intelligence Agent
Find Patterns & Signals
Stage 2 reads the JSON from Stage 1 and reasons about it โ categorising issues, spotting trends, identifying what cal.com is prioritising, and surfacing signals relevant to TeamCal AI's roadmap.
๐ฃ What this agent does
Stage 2 is the intelligence layer. It reads calcom_data.json, applies structured reasoning to categorise and interpret the data, and outputs a structured analysis to calcom_analysis.json. It never touches the GitHub API โ it only works with what Stage 1 gave it.
This is the chain in action: Stage 2 has no knowledge of Stage 1's implementation. It only sees calcom_data.json as input and produces calcom_analysis.json as output. Each stage is independently replaceable โ you could swap Stage 1 for a different data source and Stage 2 wouldn't change.
- Claude Code confirmed calcom_analysis.json was created
- The analysis includes issue categories and competitive signals
- You can see a ROADMAP_INFERENCE section with 3 predicted features
Stage 3: Dashboard Agent
Render the Intelligence Report
Stage 3 reads the structured analysis from Stage 2 and renders it as a polished, self-contained HTML dashboard โ complete with a metrics bar, issue category breakdown, competitive signal cards, and roadmap predictions.
๐ข What this agent does
Stage 3 is the presentation layer. It reads calcom_analysis.json and generates a fully formatted calcom_dashboard.html file that opens in any browser โ no server needed, no dependencies, just a clean competitive intelligence report.
- Claude Code confirmed calcom_dashboard.html was created
- You opened the file in a browser and can see the dashboard
- The competitive signals section has priority badges
- The footer correctly credits the 3-stage pipeline
Open Your Dashboard &
Extend the Pipeline
Your three-stage sequential AI agent pipeline has run. Open your dashboard, review the output, and see how to expand this pipeline into a fully automated recurring system.
-
1In your terminal, run:
open calcom_dashboard.html(Mac) orstart calcom_dashboard.html(Windows) -
2You should see a complete competitive intelligence dashboard with metrics, issue breakdown, competitive signals, and roadmap predictions โ all generated from live GitHub data.
-
3You also have
calcom_data.jsonandcalcom_analysis.jsonโ machine-readable files you can feed into Notion, Slack, or any other tool.
You just built a real Type 3 Sequential Agent pipeline โ three specialised agents chained together, each with a single responsibility, producing live competitive intelligence from a public GitHub repository. This pattern scales to any data source and any output format.
Workshop Complete!
Your Type 3 Sequential Agent pipeline ran successfully. Here's what you built:
-
T1Type 1 โ Basic Agent with Tools: Gemini + Google Workspace (your morning briefing workshop). Single agent, external integrations.
-
T2Type 2 โ Tool-Using Agent with MCP: Claude + Jira + Slack + Calendar (your AI PM Agent workshop). Single agent, multiple MCP servers.
-
T3Type 3 โ Sequential Pipeline (this workshop): Chained specialised agents, each passing output to the next. See Types 4โ7 โ
Built by TeamCal AI โ AI-powered scheduling trusted in 90+ countries. Meet Zara, your AI executive scheduling partner at teamcal.ai/getzaraai โ