# chidvielasparepalli/chidvi-556 architecture

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

- Interactive diagram: https://gitdiagram.com/chidvielasparepalli/chidvi-556
- Repository: https://github.com/chidvielasparepalli/chidvi-556

## Overview

CHIDVI-556 is a desktop AI companion and autonomous command center. The principal workflow runs from user input through the interface and application agent, which can execute bounded tasks using discovered actions and plugins, consult persistent memory, and return conversational or narrated results. Major branches include provider configuration, voice, form assistance, image generation, Android control, Blender automation, and desktop/browser interaction. The graph follows README-documented workflows and indexed source references; unsampled subsystem internals and uncertain connections are not inferred.

Main entry points: [`main.py`](https://github.com/chidvielasparepalli/chidvi-556/blob/main/main.py) (Application Agent), [`core/plugin_loader.py`](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/plugin_loader.py) (Plugin Discovery), [`core/action_loader.py`](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/action_loader.py) (Action Discovery), [`actions/browser_control.py`](https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/browser_control.py) (Browser Control)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["User Interaction"]
  node_ui["Desktop UI<br/>[ui.py]"]
  node_voice["Voice Input and Output<br/>[wake_word.py]"]
  node_audio["Audio Devices<br/>[audio_devices.py]"]
end

subgraph group_agent["Agent Runtime"]
  node_app["Application Agent<br/>[main.py]"]
  node_autonomy["Task Orchestrator"]
  node_taskstate["Task Control<br/>[task_control.py]"]
  node_confirmation["Action Confirmation<br/>[confirm.py]"]
end

subgraph group_memory["Memory and Settings"]
  node_memorymanager[("Persistent Memory<br/>[memory_manager.py]")]
  node_settings[("Runtime Settings<br/>[config_manager.py]")]
end

subgraph group_capabilities["Actions and Integrations"]
  node_actionloader["Action Discovery<br/>[action_loader.py]"]
  node_pluginloader["Plugin Discovery<br/>[plugin_loader.py]"]
  node_browser["Browser Control<br/>[browser_control.py]"]
  node_websearch["Web Search<br/>[web_search.py]"]
  node_formagent["Memory-Aware Forms<br/>[form_agent.py]"]
  node_image["Image Generation<br/>[image_generator.py]"]
  node_android["Android Control"]
  node_blender["Blender Control<br/>[blender_control.py]"]
  node_blenderbridge["Blender Add-on Bridge"]
  node_desktop["Desktop Control<br/>[desktop_control.py]"]
end

subgraph group_providers["Model Providers"]
  node_providersettings[("Provider Profiles<br/>[provider_config.py]")]
  node_providerruntime["Provider Runtime"]
  node_providerclient["Provider Client<br/>[provider_client.py]"]
  node_protocols["Provider Adapters<br/>[providers.py]"]
end

node_user(("User"))

node_user -->|"interacts with"| node_ui
node_ui -->|"sends requests"| node_app
node_app -->|"returns responses"| node_ui
node_app -->|"reads and updates"| node_memorymanager
node_app -->|"reads settings"| node_settings
node_app -->|"discovers actions"| node_actionloader
node_app -->|"discovers plugins"| node_pluginloader
node_app -->|"runs bounded tasks"| node_autonomy
node_autonomy -.->|"tracks execution"| node_taskstate
node_app -->|"handles voice"| node_voice
node_voice -.->|"uses devices"| node_audio
node_actionloader -->|"discovers tools"| node_browser
node_actionloader -->|"discovers tools"| node_websearch
node_pluginloader -->|"discovers plugins"| node_formagent
node_pluginloader -->|"discovers plugins"| node_android
node_pluginloader -->|"discovers plugins"| node_blender
node_formagent -->|"uses context"| node_memorymanager
node_app -->|"executes action"| node_image
node_blender -->|"sends commands"| node_blenderbridge
node_app -.->|"selects configuration"| node_providersettings
node_providerclient -->|"loads profiles"| node_providersettings
node_providerclient -->|"routes requests"| node_providerruntime
node_providerruntime -->|"uses adapters"| node_protocols
node_app -.->|"requests approval"| node_confirmation
node_browser -->|"requests approval"| node_confirmation
node_browser -->|"controls desktop"| node_desktop
node_app -->|"supports computer control"| node_desktop

click node_ui "https://github.com/chidvielasparepalli/chidvi-556/blob/main/ui.py"
click node_app "https://github.com/chidvielasparepalli/chidvi-556/blob/main/main.py"
click node_autonomy "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/autonomous_orchestrator.py"
click node_taskstate "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/task_control.py"
click node_voice "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/wake_word.py"
click node_audio "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/audio_devices.py"
click node_memorymanager "https://github.com/chidvielasparepalli/chidvi-556/blob/main/memory/memory_manager.py"
click node_settings "https://github.com/chidvielasparepalli/chidvi-556/blob/main/memory/config_manager.py"
click node_actionloader "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/action_loader.py"
click node_pluginloader "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/plugin_loader.py"
click node_browser "https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/browser_control.py"
click node_websearch "https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/web_search.py"
click node_formagent "https://github.com/chidvielasparepalli/chidvi-556/blob/main/plugins/form_agent.py"
click node_image "https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/image_generator.py"
click node_android "https://github.com/chidvielasparepalli/chidvi-556/blob/main/plugins/wireless_control.py"
click node_blender "https://github.com/chidvielasparepalli/chidvi-556/blob/main/plugins/blender_control.py"
click node_blenderbridge "https://github.com/chidvielasparepalli/chidvi-556/blob/main/blender_addon/blender_chidvi_bridge.py"
click node_providersettings "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/provider_config.py"
click node_providerruntime "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/provider_runtime.py"
click node_providerclient "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/provider_client.py"
click node_protocols "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/providers.py"
click node_confirmation "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/confirm.py"
click node_desktop "https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/desktop_control.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_ui,node_voice,node_audio,node_user toneBlue
class node_app,node_autonomy,node_taskstate,node_confirmation toneAmber
class node_memorymanager,node_settings toneMint
class node_actionloader,node_pluginloader,node_browser,node_websearch,node_formagent,node_image,node_android,node_blender,node_blenderbridge,node_desktop toneRose
class node_providersettings,node_providerruntime,node_providerclient,node_protocols toneIndigo
```

## Components

### User Interaction

- [Desktop UI](https://github.com/chidvielasparepalli/chidvi-556/blob/main/ui.py): `ui.py`
- [Voice Input and Output](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/wake_word.py): `core/wake_word.py`
- [Audio Devices](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/audio_devices.py): `core/audio_devices.py`

### Agent Runtime

- [Application Agent](https://github.com/chidvielasparepalli/chidvi-556/blob/main/main.py): `main.py`
- [Task Orchestrator](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/autonomous_orchestrator.py): `core/autonomous_orchestrator.py`
- [Task Control](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/task_control.py): `core/task_control.py`
- [Action Confirmation](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/confirm.py): `core/confirm.py`

### Memory and Settings

- [Persistent Memory](https://github.com/chidvielasparepalli/chidvi-556/blob/main/memory/memory_manager.py): `memory/memory_manager.py`
- [Runtime Settings](https://github.com/chidvielasparepalli/chidvi-556/blob/main/memory/config_manager.py): `memory/config_manager.py`

### Actions and Integrations

- [Action Discovery](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/action_loader.py): `core/action_loader.py`
- [Plugin Discovery](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/plugin_loader.py): `core/plugin_loader.py`
- [Browser Control](https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/browser_control.py): `actions/browser_control.py`
- [Web Search](https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/web_search.py): `actions/web_search.py`
- [Memory-Aware Forms](https://github.com/chidvielasparepalli/chidvi-556/blob/main/plugins/form_agent.py): `plugins/form_agent.py`
- [Image Generation](https://github.com/chidvielasparepalli/chidvi-556/blob/main/actions/image_generator.py): `actions/image_generator.py`
- [Android Control](https://github.com/chidvielasparepalli/chidvi-556/blob/main/plugins/wireless_control.py): `plugins/wireless_control.py`
- [Blender Control](https://github.com/chidvielasparepalli/chidvi-556/blob/main/plugins/blender_control.py): `plugins/blender_control.py`
- [Blender Add-on Bridge](https://github.com/chidvielasparepalli/chidvi-556/blob/main/blender_addon/blender_chidvi_bridge.py): `blender_addon/blender_chidvi_bridge.py`
- [Desktop Control](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/desktop_control.py): `core/desktop_control.py`

### Model Providers

- [Provider Profiles](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/provider_config.py): `core/provider_config.py`
- [Provider Runtime](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/provider_runtime.py): `core/provider_runtime.py`
- [Provider Client](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/provider_client.py): `core/provider_client.py`
- [Provider Adapters](https://github.com/chidvielasparepalli/chidvi-556/blob/main/core/providers.py): `core/providers.py`

### Other components

- **User**

## Connections

- User → Desktop UI: interacts with
- Desktop UI → Application Agent: sends requests (evidence: `main.py`)
- Application Agent → Desktop UI: returns responses (evidence: `main.py`)
- Application Agent → Persistent Memory: reads and updates (evidence: `main.py`)
- Application Agent → Runtime Settings: reads settings (evidence: `main.py`)
- Application Agent → Action Discovery: discovers actions (evidence: `main.py`)
- Application Agent → Plugin Discovery: discovers plugins (evidence: `main.py`)
- Application Agent → Task Orchestrator: runs bounded tasks
- Task Orchestrator → Task Control: tracks execution
- Application Agent → Voice Input and Output: handles voice (evidence: `main.py`)
- Voice Input and Output → Audio Devices: uses devices
- Action Discovery → Browser Control: discovers tools
- Action Discovery → Web Search: discovers tools
- Plugin Discovery → Memory-Aware Forms: discovers plugins
- Plugin Discovery → Android Control: discovers plugins
- Plugin Discovery → Blender Control: discovers plugins
- Memory-Aware Forms → Persistent Memory: uses context
- Application Agent → Image Generation: executes action
- Blender Control → Blender Add-on Bridge: sends commands
- Application Agent → Provider Profiles: selects configuration (evidence: `main.py`)
- Provider Client → Provider Profiles: loads profiles (evidence: `core/provider_client.py`)
- Provider Client → Provider Runtime: routes requests (evidence: `core/provider_client.py`)
- Provider Runtime → Provider Adapters: uses adapters (evidence: `core/provider_runtime.py`)
- Application Agent → Action Confirmation: requests approval (evidence: `main.py`)
- Browser Control → Action Confirmation: requests approval (evidence: `actions/browser_control.py`)
- Browser Control → Desktop Control: controls desktop (evidence: `actions/browser_control.py`)
- Application Agent → Desktop Control: supports computer control (evidence: `main.py`)
