# Assistant Transport
URL: /docs/api-reference/transport/assistant-transport

Command, protocol, and transport types for connecting assistant-ui runtimes across execution boundaries.

{/* AUTO-GENERATED PAGE by scripts/generate-api-reference.mts */}

{/* Do not edit manually. */}

{/* api-reference:start */}

{/* AUTO-GENERATED by scripts/generate-api-reference.mts */}

{/* Do not edit this block manually. */}

## API Reference \[#api-reference]

### AssistantTransportCommand \[#assistanttransportcommand]

<ParametersTable />

### AssistantTransportConnectionMetadata \[#assistanttransportconnectionmetadata]

<ParametersTable />

### AssistantTransportProtocol \[#assistanttransportprotocol]

<ParametersTable />

### SendCommandsRequestBody \[#sendcommandsrequestbody]

<ParametersTable />

### useAssistantTransportRuntime \[#useassistanttransportruntime]

<ParametersTable />

### useAssistantTransportSendCommand \[#useassistanttransportsendcommand]

```ts
const useAssistantTransportSendCommand: () => (command: AssistantTransportCommand) => void;
```

### useAssistantTransportState \[#useassistanttransportstate]

```ts
function useAssistantTransportState(): UserExternalState;
```

{/* api-reference:end */}
