# DevUIResource Constructors

- Package: [Aspire.Hosting.AgentFramework.DevUI](/reference/api/csharp/aspire.hosting.agentframework.devui.md)
- Type: [DevUIResource](/reference/api/csharp/aspire.hosting.agentframework.devui/devuiresource.md)
- Kind: `Constructors`
- Members: `1`

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

## DevUIResource(string)

- Name: `Constructor(string)`

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

```csharp
public class DevUIResource
{
    public DevUIResource(
        string name)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the DevUI resource.

## 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.
