# quistech/agentic-studio architecture

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

- Interactive diagram: https://gitdiagram.com/quistech/agentic-studio
- Repository: https://github.com/quistech/agentic-studio

## Overview

#### Purpose and entry points
Agentic Studio is a single-page Next.js dashboard for collaborating with AI agents: chat interaction, task tracking, and generated-code review. The primary UI entry is `src/app/page.tsx`, wrapped by the application shell in `src/app/layout.tsx`. Global styling is defined in `src/app/globals.css`.

#### Application shell and dashboard composition
The root page assembles the dashboard experience, while the client-side dashboard component coordinates its interactive regions. `src/components/DashboardClient.tsx` is the main client boundary; it composes the shared navigation/header and workspace panels.
- `src/app/page.tsx`
- `src/app/layout.tsx`
- `src/components/DashboardClient.tsx`

#### Agent interaction boundary
`AgentChat` provides the conversational UI through which users submit agent-oriented requests and receive displayed responses. Server-side orchestration is exposed through a Next.js route handler, separating browser interaction from backend agent execution.
- `src/components/AgentChat.tsx`
- `src/app/api/orchestrate/route.ts`

#### Orchestration API
`src/app/api/orchestrate/route.ts` is the backend entry point for agent orchestration requests. It is the natural integration boundary for an LLM provider, agent runtime, persistence layer, or external tools; none are represented in the supplied tree, so the current external-service contract should be validated in that route before extending it.
- `src/app/api/orchestrate/route.ts`

#### Task workflow visualization
The Kanban board represents work items and progress stages within the agent collaboration workflow. It is a UI-state/workflow boundary rather than a separately visible persistence subsystem in this repository.
- `src/components/KanbanBoard.tsx`
- `src/components/DashboardClient.tsx`

#### Code artifact review and export
The code viewer renders generated or modified code for inspection. ZIP-related functionality is isolated behind a library module, making it the likely boundary for packaging downloadable artifacts rather than embedding archive mechanics in UI components.
- `src/components/CodeViewer.tsx`
- `src/lib/zip.ts`

#### Runtime and presentation infrastructure
The application runs on Next.js 16 with React 19 and TypeScript. Next.js supplies server route handling and page rendering; interactive dashboard regions run in the browser. Tailwind CSS v4 provides styling, with Framer Motion and Lucide React supporting dashboard motion and iconography. Framework behavior is configured in `next.config.ts`; static browser assets belong under `public`.
- `next.config.ts`
- `src/app/globals.css`
- `public`

Main entry points: [`src/components/DashboardClient.tsx`](https://github.com/quistech/agentic-studio/blob/main/src/components/DashboardClient.tsx) (Dashboard client), [`src/app/layout.tsx`](https://github.com/quistech/agentic-studio/blob/main/src/app/layout.tsx) (Application shell), [`src/app/page.tsx`](https://github.com/quistech/agentic-studio/blob/main/src/app/page.tsx) (Dashboard page), [`src/components/AgentChat.tsx`](https://github.com/quistech/agentic-studio/blob/main/src/components/AgentChat.tsx) (Agent chat)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_next["Next.js application"]
  node_config["Next config<br/>framework config<br/>[next.config.ts]"]
  node_layout["Application shell<br/>root layout<br/>[layout.tsx]"]
  node_page["Dashboard page<br/>page entry<br/>[page.tsx]"]
  node_styles["Global styles<br/>Tailwind CSS<br/>[globals.css]"]
  node_assets["Static assets<br/>browser assets"]
end

subgraph group_dashboard["Interactive dashboard"]
  node_dashboard_client["Dashboard client<br/>client boundary"]
  node_kanban["Kanban board<br/>workflow UI<br/>[KanbanBoard.tsx]"]
end

subgraph group_agent["Agent workflow"]
  node_agent_chat["Agent chat<br/>conversation UI<br/>[AgentChat.tsx]"]
  node_orchestrate{{"Orchestration API<br/>Next.js route handler<br/>[route.ts]"}}
end

subgraph group_artifacts["Artifact delivery"]
  node_code_viewer["Code viewer<br/>artifact review UI<br/>[CodeViewer.tsx]"]
  node_zip["ZIP packaging<br/>archive library<br/>[zip.ts]"]
end

node_config -.->|"configures runtime"| node_layout
node_layout -->|"wraps"| node_page
node_styles -->|"styles"| node_layout
node_assets -.->|"serves assets to"| node_page
node_page -->|"renders"| node_dashboard_client
node_dashboard_client -->|"composes"| node_agent_chat
node_dashboard_client -->|"composes"| node_kanban
node_dashboard_client -->|"composes"| node_code_viewer
node_agent_chat -->|"submits requests"| node_orchestrate
node_orchestrate -.->|"returns responses"| node_agent_chat
node_code_viewer -->|"exports artifacts through"| node_zip

click node_config "https://github.com/quistech/agentic-studio/blob/main/next.config.ts"
click node_layout "https://github.com/quistech/agentic-studio/blob/main/src/app/layout.tsx"
click node_page "https://github.com/quistech/agentic-studio/blob/main/src/app/page.tsx"
click node_styles "https://github.com/quistech/agentic-studio/blob/main/src/app/globals.css"
click node_assets "https://github.com/quistech/agentic-studio/tree/main/public"
click node_dashboard_client "https://github.com/quistech/agentic-studio/blob/main/src/components/DashboardClient.tsx"
click node_agent_chat "https://github.com/quistech/agentic-studio/blob/main/src/components/AgentChat.tsx"
click node_orchestrate "https://github.com/quistech/agentic-studio/blob/main/src/app/api/orchestrate/route.ts"
click node_kanban "https://github.com/quistech/agentic-studio/blob/main/src/components/KanbanBoard.tsx"
click node_code_viewer "https://github.com/quistech/agentic-studio/blob/main/src/components/CodeViewer.tsx"
click node_zip "https://github.com/quistech/agentic-studio/blob/main/src/lib/zip.ts"

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_config,node_layout,node_page,node_styles,node_assets toneBlue
class node_dashboard_client,node_kanban toneAmber
class node_agent_chat,node_orchestrate toneMint
class node_code_viewer,node_zip toneRose
```

## Components

### Next.js application

- [Next config](https://github.com/quistech/agentic-studio/blob/main/next.config.ts): framework config · `next.config.ts`
- [Application shell](https://github.com/quistech/agentic-studio/blob/main/src/app/layout.tsx): root layout · `src/app/layout.tsx`
- [Dashboard page](https://github.com/quistech/agentic-studio/blob/main/src/app/page.tsx): page entry · `src/app/page.tsx`
- [Global styles](https://github.com/quistech/agentic-studio/blob/main/src/app/globals.css): Tailwind CSS · `src/app/globals.css`
- [Static assets](https://github.com/quistech/agentic-studio/tree/main/public): browser assets · `public`

### Interactive dashboard

- [Dashboard client](https://github.com/quistech/agentic-studio/blob/main/src/components/DashboardClient.tsx): client boundary · Coordinates interactive dashboard regions. · `src/components/DashboardClient.tsx`
- [Kanban board](https://github.com/quistech/agentic-studio/blob/main/src/components/KanbanBoard.tsx): workflow UI · Represents task stages as client-side workflow state. · `src/components/KanbanBoard.tsx`

### Agent workflow

- [Agent chat](https://github.com/quistech/agentic-studio/blob/main/src/components/AgentChat.tsx): conversation UI · `src/components/AgentChat.tsx`
- [Orchestration API](https://github.com/quistech/agentic-studio/blob/main/src/app/api/orchestrate/route.ts): Next.js route handler · Backend integration boundary for agent execution. · `src/app/api/orchestrate/route.ts`

### Artifact delivery

- [Code viewer](https://github.com/quistech/agentic-studio/blob/main/src/components/CodeViewer.tsx): artifact review UI · `src/components/CodeViewer.tsx`
- [ZIP packaging](https://github.com/quistech/agentic-studio/blob/main/src/lib/zip.ts): archive library · Packages downloadable generated artifacts. · `src/lib/zip.ts`

## Connections

- Next config → Application shell: configures runtime
- Application shell → Dashboard page: wraps
- Global styles → Application shell: styles
- Static assets → Dashboard page: serves assets to
- Dashboard page → Dashboard client: renders
- Dashboard client → Agent chat: composes
- Dashboard client → Kanban board: composes
- Dashboard client → Code viewer: composes
- Agent chat → Orchestration API: submits requests
- Orchestration API → Agent chat: returns responses
- Code viewer → ZIP packaging: exports artifacts through
