IntelligenceX
Command

Start-IntelligenceXThread

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient
Outputs
IntelligenceX.Json.JsonValue IntelligenceX.OpenAI.AppServer.Models.ThreadInfo

Creates a new conversation thread.

Syntax

Start-IntelligenceXThread
-Model <string>
[-ApprovalPolicy <string>]
[-Client <IntelligenceXClient>]
[-CurrentDirectory <string>]
[-Raw]
[-Sandbox <string>]
[<CommonParameters>]
#

Examples

Example 1

Start-IntelligenceXThread -Model "gpt-5.3-codex"

Start a thread with the default model

Example 2

Start-IntelligenceXThread -Model "gpt-5.3-codex" -CurrentDirectory "C:\repo" -Sandbox "workspace"

Start a thread scoped to a repo and sandboxed

Example 3

Start-IntelligenceXThread -Model "gpt-5.3-codex" -ApprovalPolicy "auto"

Start a thread with an approval policy

Parameters

-Model string required
Model identifier to use (for example gpt-5.3-codex).
-ApprovalPolicy string optional
Approval policy name to use.
-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
-CurrentDirectory string optional
Working directory to pass to the app-server.
-Raw SwitchParameter optional
Return raw JSON response.
-Sandbox string optional
Sandbox mode to use (for example 'workspace' or 'danger-full-access').

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.