Repository navigation
Agentic Actions
DESK uses a structured action system to allow AI agents to perform supported desktop operations.
The important design principle is:
The model describes the action. DESK executes the action.
The AI does not receive unrestricted access to the operating system.
When an agent needs to perform an action, it can return a structured DESK_ACTION request.
A simplified example looks like:
<DESK_ACTION>
{
"action": "open_application",
"target": "calculator"
}
</DESK_ACTION>
DESK identifies the action, validates the request, and passes it to the appropriate action handler.
Without a structured protocol, DESK would have to interpret ordinary AI responses as possible commands.
For example:
Please open the calculator.
could simply be a conversational statement.
A structured action provides a clear distinction between:
Normal conversation
and:
An instruction intended for DESK to execute
User
│
▼
AI Agent
│
│ requests an action
▼
DESK Action Protocol
│
│ validates action
▼
Action Handler
│
▼
Operating System
The AI therefore does not need to know the exact executable path or operating-system-specific implementation.
For example, the agent can request:
open_application("calculator")
while DESK determines how to locate and launch the application on the current operating system.
The available actions depend on the current DESK implementation.
Current desktop capabilities include browser-related actions and application launching.
The action system is designed so that additional capabilities can be implemented without giving the AI unrestricted system access.