Skip to main content

🚧 Cortex is under construction.

cortex run

This command facilitates the initiation of an interactive chat shell with a specified machine-learning model.


This command is compatible with all OpenAI and OpenAI-compatible endpoints.


cortex run MODEL_ID


-t, --thread <thread_id>Specify the Thread ID. Defaults to creating a new thread if none specified.No
-h, --helpDisplay help information for the command.No

Command Chain

cortex run command is a convenience wrapper that automatically executes a sequence of commands to simplify user interactions:

  1. cortex start: This command starts the specified model, making it active and ready for interactions.
  2. cortex chat: Following model activation, this command opens an interactive chat shell where users can directly communicate with the model.