# great-yudzz/agentic-app architecture

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

- Interactive diagram: https://gitdiagram.com/great-yudzz/agentic-app
- Repository: https://github.com/great-yudzz/agentic-app

## Overview

Agentic Native Hub is a Tauri desktop workspace for multi-provider AI chat and autonomous software-engineering agents. The user selects a workspace and mode, submits prompts or project goals, and views model or agent output; the native backend provides provider access, persistence, and confined tools. The README also documents Build Studio, skills management, terminal, and code review. Build Studio’s import is visible in App.tsx, but its files are absent from the supplied tree; its internal design is therefore represented only at the documented capability level.

Main entry points: [`src/App.tsx`](https://github.com/great-yudzz/agentic-app/blob/main/src/App.tsx) (Mode Workspace), [`src/store/useStore.ts`](https://github.com/great-yudzz/agentic-app/blob/main/src/store/useStore.ts) (Application State), [`src-tauri/src/ipc/mod.rs`](https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/ipc/mod.rs) (Tauri Commands), [`src/components/agent/AgentWorkspace.tsx`](https://github.com/great-yudzz/agentic-app/blob/main/src/components/agent/AgentWorkspace.tsx) (Agent Workspace)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workspace["Workspace UI"]
  node_app["Mode Workspace<br/>[App.tsx]"]
  node_chat["Chat Assistant<br/>[ChatContainer.tsx]"]
  node_state["Application State<br/>[useStore.ts]"]
  node_api_helpers["API Helpers<br/>[api.ts]"]
end

subgraph group_agent_workflows["Agent Workflows"]
  node_agent_ui["Agent Workspace<br/>[AgentWorkspace.tsx]"]
  node_agent_creator["Agent Creator"]
  node_build_studio["Build Studio"]
  node_code_review["Code Review"]
end

subgraph group_native_backend["Native Backend"]
  node_ipc["Tauri Commands<br/>[mod.rs]"]
  node_orchestrator["Agent Orchestrator<br/>[orchestrator.rs]"]
  node_tool_runner["Confined Tool Runner<br/>[tools.rs]"]
  node_providers["LLM Providers<br/>[mod.rs]"]
  node_database[("Local SQLite<br/>[mod.rs]")]
end

subgraph group_configuration["Settings &amp; Tools"]
  node_settings["Provider Settings<br/>[SettingsModal.tsx]"]
  node_project_picker["Project Picker"]
  node_skills["Skills Hub<br/>[SkillsModal.tsx]"]
  node_terminal["Terminal Drawer<br/>[TerminalDrawer.tsx]"]
end

node_user(("Operator"))
node_provider_services{{"LLM Services"}}

node_user -->|"selects mode"| node_app
node_app -->|"renders mode"| node_chat
node_app -->|"renders mode"| node_agent_ui
node_app -->|"renders mode"| node_build_studio
node_app -->|"mounts drawer"| node_terminal
node_app -->|"mounts modal"| node_settings
node_app -->|"mounts modal"| node_skills
node_app -->|"mounts modal"| node_project_picker
node_app -->|"mounts modal"| node_code_review
node_chat -->|"reads and updates"| node_state
node_agent_ui -->|"reads and updates"| node_state
node_agent_creator -->|"manages agents"| node_state
node_agent_ui -->|"opens creator"| node_agent_creator
node_chat -->|"parses responses"| node_api_helpers
node_state -->|"uses API helpers"| node_api_helpers
node_settings -->|"updates configuration"| node_state
node_project_picker -->|"sets workspace"| node_state
node_skills -->|"manages skills"| node_state
node_terminal -->|"uses app state"| node_state
node_api_helpers -.->|"calls native commands"| node_ipc
node_ipc -->|"reads and writes"| node_database
node_ipc -->|"dispatches agent work"| node_orchestrator
node_ipc -->|"executes tools"| node_tool_runner
node_ipc -->|"tests providers"| node_providers
node_orchestrator -->|"stores agent logs"| node_database
node_orchestrator -->|"runs agent tools"| node_tool_runner
node_providers -->|"sends model requests"| node_provider_services
node_build_studio -.->|"reviews code"| node_code_review
node_build_studio -.->|"offers terminal"| node_terminal
node_build_studio -.->|"coordinates agents"| node_agent_ui

click node_app "https://github.com/great-yudzz/agentic-app/blob/main/src/App.tsx"
click node_chat "https://github.com/great-yudzz/agentic-app/blob/main/src/components/chatbot/ChatContainer.tsx"
click node_agent_ui "https://github.com/great-yudzz/agentic-app/blob/main/src/components/agent/AgentWorkspace.tsx"
click node_agent_creator "https://github.com/great-yudzz/agentic-app/blob/main/src/components/agent/AgentCreatorModal.tsx"
click node_state "https://github.com/great-yudzz/agentic-app/blob/main/src/store/useStore.ts"
click node_api_helpers "https://github.com/great-yudzz/agentic-app/blob/main/src/utils/api.ts"
click node_ipc "https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/ipc/mod.rs"
click node_orchestrator "https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/engine/orchestrator.rs"
click node_tool_runner "https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/engine/tools.rs"
click node_providers "https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/providers/mod.rs"
click node_database "https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/db/mod.rs"
click node_settings "https://github.com/great-yudzz/agentic-app/blob/main/src/components/settings/SettingsModal.tsx"
click node_project_picker "https://github.com/great-yudzz/agentic-app/blob/main/src/components/common/ProjectPickerModal.tsx"
click node_skills "https://github.com/great-yudzz/agentic-app/blob/main/src/components/skills/SkillsModal.tsx"
click node_terminal "https://github.com/great-yudzz/agentic-app/blob/main/src/components/terminal/TerminalDrawer.tsx"

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_chat,node_state,node_api_helpers toneBlue
class node_agent_ui,node_agent_creator,node_build_studio,node_code_review toneAmber
class node_ipc,node_orchestrator,node_tool_runner,node_providers,node_database toneMint
class node_settings,node_project_picker,node_skills,node_terminal toneRose
class node_user,node_provider_services toneIndigo
```

## Components

### Workspace UI

- [Mode Workspace](https://github.com/great-yudzz/agentic-app/blob/main/src/App.tsx): `src/App.tsx`
- [Chat Assistant](https://github.com/great-yudzz/agentic-app/blob/main/src/components/chatbot/ChatContainer.tsx): `src/components/chatbot/ChatContainer.tsx`
- [Application State](https://github.com/great-yudzz/agentic-app/blob/main/src/store/useStore.ts): `src/store/useStore.ts`
- [API Helpers](https://github.com/great-yudzz/agentic-app/blob/main/src/utils/api.ts): `src/utils/api.ts`

### Agent Workflows

- [Agent Workspace](https://github.com/great-yudzz/agentic-app/blob/main/src/components/agent/AgentWorkspace.tsx): `src/components/agent/AgentWorkspace.tsx`
- [Agent Creator](https://github.com/great-yudzz/agentic-app/blob/main/src/components/agent/AgentCreatorModal.tsx): `src/components/agent/AgentCreatorModal.tsx`
- **Build Studio**
- **Code Review**

### Native Backend

- [Tauri Commands](https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/ipc/mod.rs): `src-tauri/src/ipc/mod.rs`
- [Agent Orchestrator](https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/engine/orchestrator.rs): `src-tauri/src/engine/orchestrator.rs`
- [Confined Tool Runner](https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/engine/tools.rs): `src-tauri/src/engine/tools.rs`
- [LLM Providers](https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/providers/mod.rs): `src-tauri/src/providers/mod.rs`
- [Local SQLite](https://github.com/great-yudzz/agentic-app/blob/main/src-tauri/src/db/mod.rs): `src-tauri/src/db/mod.rs`

### Settings & Tools

- [Provider Settings](https://github.com/great-yudzz/agentic-app/blob/main/src/components/settings/SettingsModal.tsx): `src/components/settings/SettingsModal.tsx`
- [Project Picker](https://github.com/great-yudzz/agentic-app/blob/main/src/components/common/ProjectPickerModal.tsx): `src/components/common/ProjectPickerModal.tsx`
- [Skills Hub](https://github.com/great-yudzz/agentic-app/blob/main/src/components/skills/SkillsModal.tsx): `src/components/skills/SkillsModal.tsx`
- [Terminal Drawer](https://github.com/great-yudzz/agentic-app/blob/main/src/components/terminal/TerminalDrawer.tsx): `src/components/terminal/TerminalDrawer.tsx`

### Other components

- **Operator**
- **LLM Services**

## Connections

- Operator → Mode Workspace: selects mode (evidence: `src/App.tsx`)
- Mode Workspace → Chat Assistant: renders mode (evidence: `src/App.tsx`)
- Mode Workspace → Agent Workspace: renders mode (evidence: `src/App.tsx`)
- Mode Workspace → Build Studio: renders mode (evidence: `src/App.tsx`)
- Mode Workspace → Terminal Drawer: mounts drawer (evidence: `src/App.tsx`)
- Mode Workspace → Provider Settings: mounts modal (evidence: `src/App.tsx`)
- Mode Workspace → Skills Hub: mounts modal (evidence: `src/App.tsx`)
- Mode Workspace → Project Picker: mounts modal (evidence: `src/App.tsx`)
- Mode Workspace → Code Review: mounts modal (evidence: `src/App.tsx`)
- Chat Assistant → Application State: reads and updates (evidence: `src/components/chatbot/ChatContainer.tsx`)
- Agent Workspace → Application State: reads and updates (evidence: `src/components/agent/AgentWorkspace.tsx`)
- Agent Creator → Application State: manages agents (evidence: `src/components/agent/AgentCreatorModal.tsx`)
- Agent Workspace → Agent Creator: opens creator (evidence: `src/components/agent/AgentWorkspace.tsx`)
- Chat Assistant → API Helpers: parses responses (evidence: `src/components/chatbot/ChatContainer.tsx`)
- Application State → API Helpers: uses API helpers (evidence: `src/store/useStore.ts`)
- Provider Settings → Application State: updates configuration (evidence: `src/components/settings/SettingsModal.tsx`)
- Project Picker → Application State: sets workspace (evidence: `src/components/common/ProjectPickerModal.tsx`)
- Skills Hub → Application State: manages skills (evidence: `src/components/skills/SkillsModal.tsx`)
- Terminal Drawer → Application State: uses app state (evidence: `src/components/terminal/TerminalDrawer.tsx`)
- API Helpers → Tauri Commands: calls native commands
- Tauri Commands → Local SQLite: reads and writes (evidence: `src-tauri/src/ipc/mod.rs`)
- Tauri Commands → Agent Orchestrator: dispatches agent work (evidence: `src-tauri/src/ipc/mod.rs`)
- Tauri Commands → Confined Tool Runner: executes tools (evidence: `src-tauri/src/ipc/mod.rs`)
- Tauri Commands → LLM Providers: tests providers (evidence: `src-tauri/src/ipc/mod.rs`)
- Agent Orchestrator → Local SQLite: stores agent logs (evidence: `src-tauri/src/engine/orchestrator.rs`)
- Agent Orchestrator → Confined Tool Runner: runs agent tools (evidence: `src-tauri/src/engine/orchestrator.rs`)
- LLM Providers → LLM Services: sends model requests (evidence: `src-tauri/src/providers/mod.rs`)
- Build Studio → Code Review: reviews code
- Build Studio → Terminal Drawer: offers terminal
- Build Studio → Agent Workspace: coordinates agents
