# DevUIResource

- Kind: `class`
- Package: [Aspire.Hosting.AgentFramework.DevUI](/reference/api/csharp/aspire.hosting.agentframework.devui.md)
- Version: `1.8.0-preview.260528.1`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/agent-framework/tree/e9a606344adbe5e41d9376b1f8508da593ea6c3b)
- Inherits: `Resource`
- Implements: `IResource`, `IResourceWithEndpoints`, `IResourceWithWaitSupport`

Represents a DevUI resource for testing AI agents in a distributed application.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class DevUIResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithEndpoints,
      Aspire.Hosting.ApplicationModel.IResourceWithWaitSupport
{
    // ...
}
```

## Remarks

DevUI aggregates agents from multiple backend services and provides a unified web interface for testing and debugging AI agents using the OpenAI Responses protocol. The aggregator runs as an in-process reverse proxy within the AppHost, requiring no external container image.

## Constructors

- [DevUIResource(string)](/reference/api/csharp/aspire.hosting.agentframework.devui/devuiresource/constructors.md#constructor-string) -- Represents a DevUI resource for testing AI agents in a distributed application.

## Properties

- [PrimaryEndpoint](/reference/api/csharp/aspire.hosting.agentframework.devui/devuiresource/properties.md#primaryendpoint) : `EndpointReference` `get` -- Gets the primary HTTP endpoint for the DevUI web interface.
