CommandsAgent
studio agent restart
Restart target agent process
studio agent restart
Restart the process for a target agent.
This page remains as a command entry point. For the fuller explanation, see CLI / restart and Restart an Agent Safely.
Usage
studio agent restart [path] [options]Key options
-h, --host <host>: daemon host
Behavior
pathdefaults to current directory.- Target agent must be registered in console registry
- Restart flow is stop first, then start again with a new console-assigned port
Related commands
Example Output (Based on Current Implementation)
The examples below are aligned with current command implementations in cli/studio/src (including default output mode and field structure). Placeholder values are used for environment-specific fields.
$ studio agent restart .
studio v1.0.0
✅ Downcity daemon restarted
pid: <pid>
log: <daemonLogPath>$ studio agent restart .
studio v1.0.0
❌ Failed to restart daemon: <error>