# andrewm4894/github-standup-agent architecture

> Architecture diagram of the GitHub repository andrewm4894/github-standup-agent, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/andrewm4894/github-standup-agent
- Repository: https://github.com/andrewm4894/github-standup-agent

## Overview

GitHub Standup Agent collects activity, generates and refines a standup through an interactive agent, then supports terminal, clipboard, file, and Slack outputs. It also offers session persistence, configurable style, history, team-standup reading, and feedback capture. The graph includes the major GitHub tool modules and the agent’s context, prompts, and instrumentation. Some runner and integration details are only partially excerpted, so unverified connections are omitted.

Main entry points: [`src/github_standup_agent/agents/standup_agent.py`](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/agents/standup_agent.py) (Standup agent), [`src/github_standup_agent/tools/github/__init__.py`](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/__init__.py) (GitHub tool registry), [`src/github_standup_agent/runner.py`](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/runner.py) (Workflow runner), [`src/github_standup_agent/cli.py`](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/cli.py) (CLI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["CLI and workflow"]
  node_cli["CLI<br/>[cli.py]"]
  node_config["Configuration<br/>[config.py]"]
  node_runner["Workflow runner<br/>[runner.py]"]
  node_sessions[("Chat sessions<br/>[runner.py]")]
end

subgraph group_agent["Agent runtime"]
  node_context["Run context<br/>[context.py]"]
  node_agent_core["Standup agent<br/>[standup_agent.py]"]
  node_prompts["Prompt manager<br/>[__init__.py]"]
  node_instrumentation["Instrumentation<br/>[instrumentation.py]"]
end

subgraph group_github["GitHub collection"]
  node_github_tools["GitHub tool registry<br/>[__init__.py]"]
  node_activity["Activity feed<br/>[github_events.py]"]
  node_activity_summary["Activity summary<br/>[github_activity.py]"]
  node_assigned["Assigned items<br/>[github_assigned.py]"]
  node_comments["Comments<br/>[github_comments.py]"]
  node_commits["Commits<br/>[github_commits.py]"]
  node_issues["Issues<br/>[github_issues.py]"]
  node_pull_requests["Pull requests<br/>[github_prs.py]"]
  node_reviews["Code reviews<br/>[github_reviews.py]"]
end

subgraph group_integrations["Slack and feedback"]
  node_slack_tools["Slack tools<br/>[slack_publish.py]"]
  node_slack_reader["Team standups<br/>[slack_standups.py]"]
  node_slack_client["Slack client<br/>[slack_client.py]"]
  node_feedback["Feedback capture<br/>[feedback.py]"]
end

subgraph group_outputs["Standup outputs"]
  node_clipboard["Clipboard output<br/>[clipboard.py]"]
  node_history["File history<br/>[history.py]"]
end

node_user(("User"))
node_github["GitHub CLI"]
node_slack["Slack"]

node_user -->|"invokes"| node_cli
node_cli -->|"loads"| node_config
node_cli -->|"starts"| node_runner
node_runner -->|"runs"| node_agent_core
node_runner -->|"builds"| node_context
node_runner -->|"uses"| node_config
node_runner -->|"persists"| node_sessions
node_agent_core -->|"loads prompts"| node_prompts
node_agent_core -->|"reads state"| node_context
node_agent_core -->|"registers tools"| node_github_tools
node_github_tools -->|"exports"| node_activity
node_github_tools -->|"exports"| node_activity_summary
node_github_tools -->|"exports"| node_assigned
node_github_tools -->|"exports"| node_comments
node_github_tools -->|"exports"| node_commits
node_github_tools -->|"exports"| node_issues
node_github_tools -->|"exports"| node_pull_requests
node_github_tools -->|"exports"| node_reviews
node_activity -->|"queries via gh"| node_github
node_assigned -->|"queries via gh"| node_github
node_comments -->|"queries via gh"| node_github
node_commits -->|"queries via gh"| node_github
node_issues -->|"queries via gh"| node_github
node_pull_requests -->|"queries via gh"| node_github
node_reviews -->|"queries via gh"| node_github
node_agent_core -->|"registers tools"| node_slack_tools
node_agent_core -->|"registers tools"| node_slack_reader
node_slack_tools -->|"calls"| node_slack_client
node_slack_reader -->|"calls"| node_slack_client
node_slack_client -->|"uses API"| node_slack
node_agent_core -->|"registers tool"| node_clipboard
node_agent_core -->|"registers tool"| node_history
node_agent_core -->|"registers tools"| node_feedback
node_feedback -->|"emits feedback"| node_instrumentation

click node_cli "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/cli.py"
click node_config "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/config.py"
click node_runner "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/runner.py"
click node_sessions "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/runner.py"
click node_context "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/context.py"
click node_agent_core "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/agents/standup_agent.py"
click node_prompts "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/prompts/__init__.py"
click node_instrumentation "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/instrumentation.py"
click node_github_tools "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/__init__.py"
click node_activity "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_events.py"
click node_activity_summary "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_activity.py"
click node_assigned "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_assigned.py"
click node_comments "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_comments.py"
click node_commits "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_commits.py"
click node_issues "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_issues.py"
click node_pull_requests "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_prs.py"
click node_reviews "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_reviews.py"
click node_slack_tools "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/slack/slack_publish.py"
click node_slack_reader "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/slack/slack_standups.py"
click node_slack_client "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/slack/slack_client.py"
click node_feedback "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/feedback.py"
click node_clipboard "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/clipboard.py"
click node_history "https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/history.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli,node_config,node_runner,node_sessions,node_user toneBlue
class node_context,node_agent_core,node_prompts,node_instrumentation toneAmber
class node_github_tools,node_activity,node_activity_summary,node_assigned,node_comments,node_commits,node_issues,node_pull_requests,node_reviews toneMint
class node_slack_tools,node_slack_reader,node_slack_client,node_feedback toneRose
class node_clipboard,node_history,node_github,node_slack toneIndigo
```

## Components

### CLI and workflow

- [CLI](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/cli.py): `src/github_standup_agent/cli.py`
- [Configuration](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/config.py): `src/github_standup_agent/config.py`
- [Workflow runner](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/runner.py): `src/github_standup_agent/runner.py`
- [Chat sessions](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/runner.py): `src/github_standup_agent/runner.py`

### Agent runtime

- [Run context](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/context.py): `src/github_standup_agent/context.py`
- [Standup agent](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/agents/standup_agent.py): `src/github_standup_agent/agents/standup_agent.py`
- [Prompt manager](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/prompts/__init__.py): `src/github_standup_agent/prompts/__init__.py`
- [Instrumentation](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/instrumentation.py): `src/github_standup_agent/instrumentation.py`

### GitHub collection

- [GitHub tool registry](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/__init__.py): `src/github_standup_agent/tools/github/__init__.py`
- [Activity feed](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_events.py): `src/github_standup_agent/tools/github/github_events.py`
- [Activity summary](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_activity.py): `src/github_standup_agent/tools/github/github_activity.py`
- [Assigned items](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_assigned.py): `src/github_standup_agent/tools/github/github_assigned.py`
- [Comments](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_comments.py): `src/github_standup_agent/tools/github/github_comments.py`
- [Commits](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_commits.py): `src/github_standup_agent/tools/github/github_commits.py`
- [Issues](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_issues.py): `src/github_standup_agent/tools/github/github_issues.py`
- [Pull requests](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_prs.py): `src/github_standup_agent/tools/github/github_prs.py`
- [Code reviews](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/github/github_reviews.py): `src/github_standup_agent/tools/github/github_reviews.py`

### Slack and feedback

- [Slack tools](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/slack/slack_publish.py): `src/github_standup_agent/tools/slack/slack_publish.py`
- [Team standups](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/slack/slack_standups.py): `src/github_standup_agent/tools/slack/slack_standups.py`
- [Slack client](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/slack/slack_client.py): `src/github_standup_agent/tools/slack/slack_client.py`
- [Feedback capture](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/feedback.py): `src/github_standup_agent/tools/feedback.py`

### Standup outputs

- [Clipboard output](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/clipboard.py): `src/github_standup_agent/tools/clipboard.py`
- [File history](https://github.com/andrewm4894/github-standup-agent/blob/main/src/github_standup_agent/tools/history.py): `src/github_standup_agent/tools/history.py`

### Other components

- **User**
- **GitHub CLI**
- **Slack**

## Connections

- User → CLI: invokes (evidence: `README.md`)
- CLI → Configuration: loads (evidence: `src/github_standup_agent/cli.py`)
- CLI → Workflow runner: starts (evidence: `src/github_standup_agent/cli.py`)
- Workflow runner → Standup agent: runs (evidence: `src/github_standup_agent/runner.py`)
- Workflow runner → Run context: builds (evidence: `src/github_standup_agent/runner.py`)
- Workflow runner → Configuration: uses (evidence: `src/github_standup_agent/runner.py`)
- Workflow runner → Chat sessions: persists (evidence: `src/github_standup_agent/runner.py`)
- Standup agent → Prompt manager: loads prompts (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Standup agent → Run context: reads state (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Standup agent → GitHub tool registry: registers tools (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- GitHub tool registry → Activity feed: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Activity summary: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Assigned items: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Comments: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Commits: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Issues: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Pull requests: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- GitHub tool registry → Code reviews: exports (evidence: `src/github_standup_agent/tools/github/__init__.py`)
- Activity feed → GitHub CLI: queries via gh (evidence: `README.md`)
- Assigned items → GitHub CLI: queries via gh (evidence: `README.md`)
- Comments → GitHub CLI: queries via gh (evidence: `README.md`)
- Commits → GitHub CLI: queries via gh (evidence: `README.md`)
- Issues → GitHub CLI: queries via gh (evidence: `README.md`)
- Pull requests → GitHub CLI: queries via gh (evidence: `README.md`)
- Code reviews → GitHub CLI: queries via gh (evidence: `src/github_standup_agent/tools/github/github_reviews.py`)
- Standup agent → Slack tools: registers tools (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Standup agent → Team standups: registers tools (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Slack tools → Slack client: calls (evidence: `src/github_standup_agent/tools/slack/slack_publish.py`)
- Team standups → Slack client: calls (evidence: `src/github_standup_agent/tools/slack/slack_standups.py`)
- Slack client → Slack: uses API (evidence: `src/github_standup_agent/tools/slack/slack_client.py`)
- Standup agent → Clipboard output: registers tool (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Standup agent → File history: registers tool (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Standup agent → Feedback capture: registers tools (evidence: `src/github_standup_agent/agents/standup_agent.py`)
- Feedback capture → Instrumentation: emits feedback (evidence: `src/github_standup_agent/tools/feedback.py`)
