Watch Aspire live streamsDocsTry Aspire

AzurePromptAgentResource

Classnet10.0
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
Represents a Microsoft Foundry prompt agent resource that is provisioned on Azure.
namespace Aspire.Hosting.Foundry;
public class AzurePromptAgentResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IExpressionValue,
Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
Aspire.Hosting.ApplicationModel.IResourceWithEnvironment,
Aspire.Hosting.ApplicationModel.IValueProvider,
Aspire.Hosting.ApplicationModel.IValueWithReferences
{
// ...
}
ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEnvironmentIValueProviderIValueWithReferences
Unlike hosted agents (which run as containers), prompt agents are configuration-only agents defined by a model, system instructions, and optional tools. They are always deployed to Azure Foundry via the data plane API, even during local development ( aspire run). Local services communicate with the cloud-provisioned agent using the Foundry project endpoint and agent name.
View all constructors
View all properties