# Initialize-IntelligenceX

Initializes the client handshake with the app-server.

Command 

**Module**

`IntelligenceX.PowerShell`

**Inputs**

`IntelligenceX.OpenAI.IntelligenceXClient`

Initializes the client handshake with the app-server.

## Syntax

```
Initialize-IntelligenceX
-Name <string>
-Title <string>
-Version <string>
[-Client <IntelligenceXClient>]
[<CommonParameters>]
```

[#](#method-initialize-intelligencex-string-string-string-intelligencexclient)

## Examples

### Example 1

```powershell
Initialize-IntelligenceX -Name "ix-cli" -Title "IntelligenceX CLI" -Version "0.1.0"
```

Initialize the app-server session

### Example 2

```powershell
$client = Connect-IntelligenceX; Initialize-IntelligenceX -Client $client -Name "Automation" -Title "Build Runner" -Version "1.0.0"
```

Initialize a specific client instance

### Example 3

```powershell
$client = Connect-IntelligenceX; Initialize-IntelligenceX -Client $client -Name "Repo.Tooling" -Title "Repo Tooling" -Version "0.2.0"
```

Initialize immediately after connect in a script bootstrap

## Parameters

**-Name string required**

Client identifier sent to the app-server (machine-friendly).

**-Title string required**

Client display title sent to the app-server (human-friendly).

**-Version string required**

Client version sent to the app-server for telemetry/capability context.

**-Client IntelligenceXClient optionalpipeline: true (ByValue)**

Client instance to initialize. Defaults to the active client.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:CFA5A68938AE0A22A154E816F372E1E0261C22BFFF8CE5B9A880E55D6B9A9E91 -->
