Repository navigation
Architecture
DESK is organized into separate components so that the user interface, AI inference, memory, workspace, and desktop actions remain independent.
DESK
│
├── UI
│ ├── Main Window
│ └── Chat Panel
│
├── Core
│ ├── Inference
│ ├── Memory
│ ├── History
│ ├── Workspace / Artifacts
│ ├── Configuration
│ └── Agent Actions
│
├── Configuration
│
├── Workspace
│
└── Bucket
The application's entry point.
It initializes DESK and starts the PySide6 application.
Responsible for communication between DESK and the configured AI provider.
It handles the inference side of the application and works with the structured action system when an agent requests an action.
Handles computational operations used by DESK.
Keeping computation separate from inference allows the application to perform local processing without placing everything inside the AI layer.
Responsible for persistent memory.
Memory is kept separately from the conversation interface so that information can remain available across sessions.
Handles conversation history and persistence of previous chats.
Manages artifacts created or stored through DESK's workspace.
Loads and manages application configuration.
This allows settings to remain separate from the application code.
Defines the structured protocol used when an AI agent requests a desktop action.
This provides a controlled boundary between AI-generated instructions and actual system operations.
Handles the execution of supported agent actions.
The action layer is responsible for interpreting validated requests and carrying out the corresponding operation.
Handles application discovery and application launching.
DESK does not need to maintain a manually hardcoded list of every application installed on a user's computer.
Handles Chrome profile configuration used by browser-related actions.
The interface is primarily implemented using PySide6.
Important UI components include:
ui/main_window.pyui/chat_panel.py
The UI communicates with the core systems rather than directly implementing AI or operating-system logic.
DESK keeps the AI layer and execution layer separate.
The model can express an intended action, but the application remains responsible for deciding whether and how that action is executed.
This separation makes the system easier to control, debug, and extend.