Command builder
Included in the platform · also .usagent
command-builder.usagent
SHA-256 · 0da51bf8021c…
What the agent does
The agent picks the runner type (shell, docker, code, sql, ollama, pdf/docx/xlsx generators), writes the payload to its contract and declares the variables — by the rules of command-manager.
For code commands it uses the unishift-client-go and unishift-client-py libraries and explains how to pass tokens through variables. The command is returned as JSON: it can be created through the API or the Commands UI. The package is part of the UniShift installation.
How to install
- Download
command-builder.usagent. - Open Settings → AI Router → Agents.
- Click "Import .usagent" and select the file.
- An unsigned package goes to quarantine. An administrator checks it and publishes it.
Running requires an online runner-agent with a capability from the list below. Without a runner the agent is unavailable.
Runner requirements
agent.run.v1
Steps
-
analyzeRestate the goal, pick the runner type from the table, and list which variables and env values the payload will need. No tool calls in this step.
-
draftWrite the full source for the chosen runner contract and the variable list. Check every declared variable is referenced and no secret is inlined. No tool calls in this step.
-
reportReturn the final JSON only: summary, command (name, description, type, source, variables, optional concurrency), and notes listing runner availability, prerequisites, env configuration, and assumptions.
API:
GET /api/agents/command-builder
·
GET /api/agents/command-builder/download