Skip to content

run

Start the agent and its modules

Terminal window
conhive-agent run

Starts the main Conhive backend agent process along with all its enabled modules. This command initiates backend communication, data collection, scheduled tasks, and system monitoring functions based on the current configuration. The agent typically runs in the foreground, displaying logs to the console, unless configured otherwise or backgrounded using OS mechanisms.

Terminal window
conhive-agent run [flags]
Terminal window
-h, --help help for run
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)