# HostedAgentProtocol

- Kind: `enum`
- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Version: `13.5.1-preview.1.26420.4`
- Namespace: `Aspire.Hosting.Foundry`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/69db530a4816698cf1d5fa4557933e0ac4f127c6/src/Aspire.Hosting.Foundry/HostedAgentProtocol.cs)

Protocols supported by Microsoft Foundry hosted agent containers.

## Definition

```csharp
namespace Aspire.Hosting.Foundry;

public enum HostedAgentProtocol
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Responses | 0 | The hosted agent container exposes the Responses protocol. |
| Invocations | 1 | The hosted agent container exposes the Invocations protocol. |
