# descentis/iitb_techfest_2025 architecture

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

- Interactive diagram: https://gitdiagram.com/descentis/iitb_techfest_2025
- Repository: https://github.com/descentis/iitb_techfest_2025

## Overview

This repository combines IIT-B Techfest learning materials with a runnable content-planning agent. The main workflow is an interactive user request, local LLM tool selection and execution, then a generated response; the agent offers idea generation, outlines, hooks, keyword research, personalization, calendars and format suggestions. A second agent version adds LLM-based request analysis. Advanced features provide separate persistence, scoring, calendar and analytics capabilities. Connections among the advanced features are omitted where the excerpts do not show callers; the day-one materials are represented as learning content, not runtime components.

Main entry points: [`day-2/Content_agent/content_agent.py`](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/content_agent.py) (Interactive agent), [`day-2/Content_agent/agent_llm_driven.py`](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/agent_llm_driven.py) (LLM-driven agent), [`day-1/intro_to_python.ipynb`](https://github.com/descentis/iitb_techfest_2025/blob/main/day-1/intro_to_python.ipynb) (Python intro), [`day-1/generative AI_part-1.pptx`](https://github.com/descentis/iitb_techfest_2025/blob/main/day-1/generative%20AI_part-1.pptx) (AI roadmap slides)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning materials"]
  node_python_intro["Python intro"]
  node_ai_slides["AI roadmap slides"]
  node_rag_reading["RAG reading<br/>[RAG.pdf]"]
end

subgraph group_agent["Content agent"]
  node_interactive_agent["Interactive agent<br/>[content_agent.py]"]
  node_llm_agent["LLM-driven agent"]
  node_content_tools["Content tools<br/>[content_agent.py]"]
  node_llm_tools["LLM agent tools"]
end

subgraph group_advanced["Advanced features"]
  node_idea_memory[("Idea memory")]
  node_idea_scoring["Idea scoring"]
  node_calendar_generator["Calendar generator"]
  node_content_analytics[("Content analytics")]
end

node_learner(("Learner"))
node_ollama["Local Ollama"]

node_learner -->|"studies"| node_python_intro
node_learner -->|"studies"| node_ai_slides
node_learner -->|"studies"| node_rag_reading
node_learner -->|"enters request"| node_interactive_agent
node_interactive_agent -->|"dispatches tools"| node_content_tools
node_content_tools -->|"returns results"| node_interactive_agent
node_interactive_agent -->|"invokes model"| node_ollama
node_learner -->|"enters request"| node_llm_agent
node_llm_agent -->|"dispatches tools"| node_llm_tools
node_llm_tools -->|"returns results"| node_llm_agent
node_llm_agent -->|"invokes model"| node_ollama

click node_python_intro "https://github.com/descentis/iitb_techfest_2025/blob/main/day-1/intro_to_python.ipynb"
click node_ai_slides "https://github.com/descentis/iitb_techfest_2025/blob/main/day-1/generative%20AI_part-1.pptx"
click node_rag_reading "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/RAG.pdf"
click node_interactive_agent "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/content_agent.py"
click node_llm_agent "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/agent_llm_driven.py"
click node_content_tools "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/content_agent.py"
click node_llm_tools "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/agent_llm_driven.py"
click node_idea_memory "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py"
click node_idea_scoring "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py"
click node_calendar_generator "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py"
click node_content_analytics "https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.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_python_intro,node_ai_slides,node_rag_reading toneBlue
class node_interactive_agent,node_llm_agent,node_content_tools,node_llm_tools toneAmber
class node_idea_memory,node_idea_scoring,node_calendar_generator,node_content_analytics toneMint
class node_learner,node_ollama toneIndigo
```

## Components

### Learning materials

- [Python intro](https://github.com/descentis/iitb_techfest_2025/blob/main/day-1/intro_to_python.ipynb): `day-1/intro_to_python.ipynb`
- [AI roadmap slides](https://github.com/descentis/iitb_techfest_2025/blob/main/day-1/generative%20AI_part-1.pptx): `day-1/generative AI_part-1.pptx`
- [RAG reading](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/RAG.pdf): `day-2/RAG.pdf`

### Content agent

- [Interactive agent](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/content_agent.py): `day-2/Content_agent/content_agent.py`
- [LLM-driven agent](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/agent_llm_driven.py): `day-2/Content_agent/agent_llm_driven.py`
- [Content tools](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/content_agent.py): `day-2/Content_agent/content_agent.py`
- [LLM agent tools](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/agent_llm_driven.py): `day-2/Content_agent/agent_llm_driven.py`

### Advanced features

- [Idea memory](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py): `day-2/Content_agent/advanced_features.py`
- [Idea scoring](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py): `day-2/Content_agent/advanced_features.py`
- [Calendar generator](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py): `day-2/Content_agent/advanced_features.py`
- [Content analytics](https://github.com/descentis/iitb_techfest_2025/blob/main/day-2/Content_agent/advanced_features.py): `day-2/Content_agent/advanced_features.py`

### Other components

- **Learner**
- **Local Ollama**

## Connections

- Learner → Python intro: studies (evidence: `README.md`)
- Learner → AI roadmap slides: studies (evidence: `README.md`)
- Learner → RAG reading: studies (evidence: `README.md`)
- Learner → Interactive agent: enters request (evidence: `day-2/Content_agent/content_agent.py`)
- Interactive agent → Content tools: dispatches tools (evidence: `day-2/Content_agent/content_agent.py`)
- Content tools → Interactive agent: returns results (evidence: `day-2/Content_agent/content_agent.py`)
- Interactive agent → Local Ollama: invokes model (evidence: `day-2/Content_agent/content_agent.py`)
- Learner → LLM-driven agent: enters request (evidence: `day-2/Content_agent/agent_llm_driven.py`)
- LLM-driven agent → LLM agent tools: dispatches tools (evidence: `day-2/Content_agent/agent_llm_driven.py`)
- LLM agent tools → LLM-driven agent: returns results (evidence: `day-2/Content_agent/agent_llm_driven.py`)
- LLM-driven agent → Local Ollama: invokes model (evidence: `day-2/Content_agent/agent_llm_driven.py`)
