# saucepleez/taskt architecture

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

- Interactive diagram: https://gitdiagram.com/saucepleez/taskt
- Repository: https://github.com/saucepleez/taskt

## Overview

taskt is a Windows desktop RPA client: users configure scripts in a visual builder, then run them through an engine that interprets commands against selected inputs. The command library spans desktop and web automation, data handling, databases, scripting, and integrations. The README documents the builder-to-script-to-engine workflow and optional remote orchestration; source excerpts show the engine launch path and command execution interfaces. Many command families and server details are represented by their tree paths, not inspected implementations.

Main entry points: [`taskt/Core/Automation/Commands/ScriptCommand.cs`](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Commands/ScriptCommand.cs) (Command framework), [`taskt/Core/Automation/Engine/AutomationEngineInstance.cs`](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Engine/AutomationEngineInstance.cs) (Automation engine), [`taskt/UI/Forms/ScriptBuilder/frmScriptBuilder/frmScriptBuilder.FormHandlers.cs`](https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptBuilder/frmScriptBuilder/frmScriptBuilder.FormHandlers.cs) (Visual builder), [`taskt/Core/Automation/Commands`](https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands) (Desktop and web)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Script authoring"]
  node_builder["Visual builder"]
  node_command_editor["Command editor"]
  node_script["Script model<br/>[Script.cs]"]
end

subgraph group_runtime["Execution runtime"]
  node_engine_ui["Run interface<br/>[frmScriptEngine.cs]"]
  node_engine["Automation engine"]
  node_variables["Script variables<br/>[ScriptVariable.cs]"]
  node_command_base["Command framework<br/>[ScriptCommand.cs]"]
end

subgraph group_capabilities["Automation capabilities"]
  node_desktop_web["Desktop and web"]
  node_data_commands["Data operations"]
  node_database["Database queries"]
  node_script_commands["External scripts"]
  node_excel_commands["Excel automation"]
  node_integration_commands["API and email"]
end

subgraph group_connectivity["Settings and connectivity"]
  node_settings["Application settings<br/>[EngineSettings.cs]"]
  node_server_client["Remote clients"]
end

node_developer(("Bot developer"))
node_external_apps{{"Target applications"}}
node_remote_server{{"Optional taskt server"}}

node_developer -->|"designs scripts"| node_builder
node_builder -.->|"configures commands"| node_command_editor
node_builder -->|"creates configuration"| node_script
node_engine_ui -->|"starts execution"| node_engine
node_engine -->|"interprets script"| node_script
node_engine -->|"runs commands"| node_command_base
node_command_base -->|"uses variables"| node_variables
node_engine -->|"uses settings"| node_settings
node_command_base -->|"enables automation"| node_desktop_web
node_command_base -->|"provides data actions"| node_data_commands
node_command_base -->|"provides queries"| node_database
node_command_base -->|"runs scripts"| node_script_commands
node_command_base -->|"automates workbooks"| node_excel_commands
node_command_base -->|"supports integrations"| node_integration_commands
node_desktop_web -->|"automates"| node_external_apps
node_engine -.->|"supports remote execution"| node_server_client
node_server_client -.->|"communicates optionally"| node_remote_server

click node_builder "https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptBuilder/frmScriptBuilder/frmScriptBuilder.FormHandlers.cs"
click node_command_editor "https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptBuilder/CommandEditor/frmCommandEditor.cs"
click node_script "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Script/Script.cs"
click node_engine_ui "https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptEngine/frmScriptEngine.cs"
click node_engine "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Engine/AutomationEngineInstance.cs"
click node_variables "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Script/ScriptVariable.cs"
click node_command_base "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Commands/ScriptCommand.cs"
click node_desktop_web "https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands"
click node_data_commands "https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands/DataTable"
click node_database "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Commands/Database/DatabaseExecuteQueryCommand.cs"
click node_script_commands "https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands/ApplicationScriptFile"
click node_excel_commands "https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands/Excel"
click node_integration_commands "https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands"
click node_settings "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/ApplicationSettings/EngineSettings.cs"
click node_server_client "https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Server/HttpServerClient.cs"

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_builder,node_command_editor,node_script toneBlue
class node_engine_ui,node_engine,node_variables,node_command_base toneAmber
class node_desktop_web,node_data_commands,node_database,node_script_commands,node_excel_commands,node_integration_commands toneMint
class node_settings,node_server_client,node_remote_server toneRose
class node_developer,node_external_apps toneIndigo
```

## Components

### Script authoring

- [Visual builder](https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptBuilder/frmScriptBuilder/frmScriptBuilder.FormHandlers.cs): `taskt/UI/Forms/ScriptBuilder/frmScriptBuilder/frmScriptBuilder.FormHandlers.cs`
- [Command editor](https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptBuilder/CommandEditor/frmCommandEditor.cs): `taskt/UI/Forms/ScriptBuilder/CommandEditor/frmCommandEditor.cs`
- [Script model](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Script/Script.cs): `taskt/Core/Script/Script.cs`

### Execution runtime

- [Run interface](https://github.com/saucepleez/taskt/blob/development-branch/taskt/UI/Forms/ScriptEngine/frmScriptEngine.cs): `taskt/UI/Forms/ScriptEngine/frmScriptEngine.cs`
- [Automation engine](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Engine/AutomationEngineInstance.cs): `taskt/Core/Automation/Engine/AutomationEngineInstance.cs`
- [Script variables](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Script/ScriptVariable.cs): `taskt/Core/Script/ScriptVariable.cs`
- [Command framework](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Commands/ScriptCommand.cs): `taskt/Core/Automation/Commands/ScriptCommand.cs`

### Automation capabilities

- [Desktop and web](https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands): `taskt/Core/Automation/Commands`
- [Data operations](https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands/DataTable): `taskt/Core/Automation/Commands/DataTable`
- [Database queries](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Automation/Commands/Database/DatabaseExecuteQueryCommand.cs): `taskt/Core/Automation/Commands/Database/DatabaseExecuteQueryCommand.cs`
- [External scripts](https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands/ApplicationScriptFile): `taskt/Core/Automation/Commands/ApplicationScriptFile`
- [Excel automation](https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands/Excel): `taskt/Core/Automation/Commands/Excel`
- [API and email](https://github.com/saucepleez/taskt/tree/development-branch/taskt/Core/Automation/Commands): `taskt/Core/Automation/Commands`

### Settings and connectivity

- [Application settings](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/ApplicationSettings/EngineSettings.cs): `taskt/Core/ApplicationSettings/EngineSettings.cs`
- [Remote clients](https://github.com/saucepleez/taskt/blob/development-branch/taskt/Core/Server/HttpServerClient.cs): `taskt/Core/Server/HttpServerClient.cs`

### Other components

- **Bot developer**
- **Target applications**
- **Optional taskt server**

## Connections

- Bot developer → Visual builder: designs scripts (evidence: `README.md`)
- Visual builder → Command editor: configures commands
- Visual builder → Script model: creates configuration (evidence: `README.md`)
- Run interface → Automation engine: starts execution (evidence: `taskt/UI/Forms/ScriptEngine/frmScriptEngine.cs`)
- Automation engine → Script model: interprets script (evidence: `taskt/Core/Automation/Engine/AutomationEngineInstance.cs`)
- Automation engine → Command framework: runs commands (evidence: `taskt/Core/Automation/Engine/AutomationEngineInstance.cs`)
- Command framework → Script variables: uses variables (evidence: `taskt/Core/Automation/Commands/ScriptCommand.cs`)
- Automation engine → Application settings: uses settings (evidence: `taskt/Core/Automation/Engine/AutomationEngineInstance.cs`)
- Command framework → Desktop and web: enables automation (evidence: `README.md`)
- Command framework → Data operations: provides data actions (evidence: `README.md`)
- Command framework → Database queries: provides queries (evidence: `taskt/Core/Automation/Commands/Database/DatabaseExecuteQueryCommand.cs`)
- Command framework → External scripts: runs scripts (evidence: `README.md`)
- Command framework → Excel automation: automates workbooks (evidence: `README.md`)
- Command framework → API and email: supports integrations (evidence: `README.md`)
- Desktop and web → Target applications: automates (evidence: `README.md`)
- Automation engine → Remote clients: supports remote execution (evidence: `taskt/Core/Automation/Engine/AutomationEngineInstance.cs`)
- Remote clients → Optional taskt server: communicates optionally (evidence: `README.md`)
