# HostedAgentProtocol

- Module: [Aspire.Hosting.Foundry](/reference/api/go/aspire.hosting.foundry.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Protocols supported by Microsoft Foundry hosted agent containers.

## Definition

```go
type HostedAgentProtocol string

const (
    HostedAgentProtocolResponses   HostedAgentProtocol = "Responses"
    HostedAgentProtocolInvocations HostedAgentProtocol = "Invocations"
)
```

## Values

- `HostedAgentProtocolResponses` = `"Responses"` -- The hosted agent container exposes the Responses protocol.
- `HostedAgentProtocolInvocations` = `"Invocations"` -- The hosted agent container exposes the Invocations protocol.
