# HostedAgentProtocol

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

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.
