# HostedAgentProtocol

- Kind: `enum`
- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Foundry`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/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. |
