# rayhunter/crewai-groq architecture

> Architecture diagram of the GitHub repository rayhunter/crewai-groq, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rayhunter/crewai-groq
- Repository: https://github.com/rayhunter/crewai-groq

## Overview

The sampled runtime identifies itself as GourmetPress, a recipe and cookbook assistant, while the README describes a machine-learning assistant. The visible workflow accepts a topic and optional CSV, configures a Groq-backed language model, defines recipe-oriented agents and tasks, and constructs a Crew; the excerpt does not show Crew execution or result rendering. The README’s ML stages are therefore documented capabilities, not confirmed runtime behavior. The graph reflects only relationships visible in the excerpt; omitted portions of app.py may add more.

Main entry points: [`app.py`](https://github.com/rayhunter/crewai-groq/blob/main/app.py) (Streamlit app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Streamlit interface"]
  node_app["Streamlit app<br/>[app.py]"]
  node_topic["Topic input<br/>[app.py]"]
  node_csv["CSV preview<br/>[app.py]"]
end

subgraph group_assistant["Recipe assistant"]
  node_llm["Groq language model<br/>[app.py]"]
  node_topic_agent["Topic agent<br/>[app.py]"]
  node_recipe_agent["Recipe agent<br/>[app.py]"]
  node_summary_agent["Summary agent<br/>[app.py]"]
  node_tasks["Recipe tasks<br/>[app.py]"]
  node_crew["Crew orchestration<br/>[app.py]"]
end

node_user(("User"))

node_user -->|"enters topic"| node_topic
node_user -->|"uploads sample"| node_csv
node_app -->|"renders input"| node_topic
node_app -->|"reads and previews"| node_csv
node_app -->|"configures"| node_llm
node_app -->|"defines"| node_topic_agent
node_app -->|"defines"| node_recipe_agent
node_app -->|"defines"| node_summary_agent
node_app -->|"defines"| node_tasks
node_app -->|"constructs"| node_crew
node_tasks -->|"assigns agent"| node_topic_agent
node_tasks -->|"assigns agent"| node_recipe_agent
node_tasks -->|"assigns agent"| node_summary_agent

click node_app "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_topic "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_csv "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_llm "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_topic_agent "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_recipe_agent "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_summary_agent "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_tasks "https://github.com/rayhunter/crewai-groq/blob/main/app.py"
click node_crew "https://github.com/rayhunter/crewai-groq/blob/main/app.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_app,node_topic,node_csv,node_user toneBlue
class node_llm,node_topic_agent,node_recipe_agent,node_summary_agent,node_tasks,node_crew toneAmber
```

## Components

### Streamlit interface

- [Streamlit app](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [Topic input](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [CSV preview](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`

### Recipe assistant

- [Groq language model](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [Topic agent](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [Recipe agent](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [Summary agent](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [Recipe tasks](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`
- [Crew orchestration](https://github.com/rayhunter/crewai-groq/blob/main/app.py): `app.py`

### Other components

- **User**

## Connections

- User → Topic input: enters topic (evidence: `app.py`)
- User → CSV preview: uploads sample (evidence: `app.py`)
- Streamlit app → Topic input: renders input (evidence: `app.py`)
- Streamlit app → CSV preview: reads and previews (evidence: `app.py`)
- Streamlit app → Groq language model: configures (evidence: `app.py`)
- Streamlit app → Topic agent: defines (evidence: `app.py`)
- Streamlit app → Recipe agent: defines (evidence: `app.py`)
- Streamlit app → Summary agent: defines (evidence: `app.py`)
- Streamlit app → Recipe tasks: defines (evidence: `app.py`)
- Streamlit app → Crew orchestration: constructs (evidence: `app.py`)
- Recipe tasks → Topic agent: assigns agent (evidence: `app.py`)
- Recipe tasks → Recipe agent: assigns agent (evidence: `app.py`)
- Recipe tasks → Summary agent: assigns agent (evidence: `app.py`)
