# Aspire.Hosting.Foundry

- Package: `Aspire.Hosting.Foundry`
- Version: `13.4.0-preview.1.26281.18`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry)
- NuGet: [Aspire.Hosting.Foundry](https://www.nuget.org/packages/Aspire.Hosting.Foundry)

## Namespaces

### Aspire.Hosting

- [AzureCognitiveServicesProjectConnectionsBuilderExtensions](/reference/api/csharp/aspire.hosting.foundry/azurecognitiveservicesprojectconnectionsbuilderextensions.md) -- `class` `static` -- Extension methods for adding Microsoft Foundry project connection resources to the distributed application model.
- [AzureCognitiveServicesProjectExtensions](/reference/api/csharp/aspire.hosting.foundry/azurecognitiveservicesprojectextensions.md) -- `class` `static` -- Extension methods for adding Microsoft Foundry project resources to the distributed application model.
- [FoundryExtensions](/reference/api/csharp/aspire.hosting.foundry/foundryextensions.md) -- `class` `static` -- Provides extension methods for adding the Microsoft Foundry resources to the application model.
- [HostedAgentResourceBuilderExtensions](/reference/api/csharp/aspire.hosting.foundry/hostedagentresourcebuilderextensions.md) -- `class` `static` -- Extension methods for adding hosted agent applications to the distributed application model.
- [PromptAgentBuilderExtensions](/reference/api/csharp/aspire.hosting.foundry/promptagentbuilderextensions.md) -- `class` `static` -- Extension methods for adding Microsoft Foundry prompt agents and tools to the distributed application model.

### Aspire.Hosting.Foundry

- [Anthropic](/reference/api/csharp/aspire.hosting.foundry/anthropic.md) -- `class` `static` -- Models published by Anthropic.
- [AzureAISearchToolResource](/reference/api/csharp/aspire.hosting.foundry/azureaisearchtoolresource.md) -- `class` `ats export` -- A Foundry tool resource that grounds an agent's responses using data from an Azure AI Search index.
- [AzureCognitiveServicesProjectConnectionResource](/reference/api/csharp/aspire.hosting.foundry/azurecognitiveservicesprojectconnectionresource.md) -- `class` -- The Microsoft Foundry project connection resource scoped to a project.
- [AzureCognitiveServicesProjectResource](/reference/api/csharp/aspire.hosting.foundry/azurecognitiveservicesprojectresource.md) -- `class` -- The Microsoft Foundry project resource that can be used for Microsoft Foundry AI agents. This also functions as an Aspire compute environment resource for deployment.
- [AzureFunctionToolResource](/reference/api/csharp/aspire.hosting.foundry/azurefunctiontoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to invoke an Azure Function.
- [AzureHostedAgentResource](/reference/api/csharp/aspire.hosting.foundry/azurehostedagentresource.md) -- `class` -- A Microsoft Foundry hosted agent resource.
- [AzurePromptAgentResource](/reference/api/csharp/aspire.hosting.foundry/azurepromptagentresource.md) -- `class` `ats export` -- Represents a Microsoft Foundry prompt agent resource that is provisioned on Azure.
- [AzureProvisionableAspireResource<T>](/reference/api/csharp/aspire.hosting.foundry/azureprovisionableaspireresource-1.md) -- `class` `abstract` -- An Aspire wrapper around an Azure.Provisioning.ProvisionableResource.
- [AzureProvisionableAspireResourceExtensions](/reference/api/csharp/aspire.hosting.foundry/azureprovisionableaspireresourceextensions.md) -- `class` `static` -- Extension methods for `Foundry.AzureProvisionableAspireResource`1`.
- [AzureProvisionableAspireResourceWithParent<T, P>](/reference/api/csharp/aspire.hosting.foundry/azureprovisionableaspireresourcewithparent-2.md) -- `class` `abstract` -- An AzureProvisionableAspireResource that also is IResourceWithParent.
- [BingGroundingConnectionResource](/reference/api/csharp/aspire.hosting.foundry/binggroundingconnectionresource.md) -- `class` `ats export` -- A Foundry project connection resource specifically for Grounding with Bing Search connections.
- [BingGroundingToolResource](/reference/api/csharp/aspire.hosting.foundry/binggroundingtoolresource.md) -- `class` `ats export` -- A Foundry tool resource that grounds an agent's responses using Bing Search.
- [BlackForestLabs](/reference/api/csharp/aspire.hosting.foundry/blackforestlabs.md) -- `class` `static` -- Models published by Black Forest Labs.
- [CapabilityHostBuilder](/reference/api/csharp/aspire.hosting.foundry/capabilityhostbuilder.md) -- `class` -- A fluent builder for configuring a capability host on a Microsoft Foundry project.
- [CapabilityHostConfiguration](/reference/api/csharp/aspire.hosting.foundry/capabilityhostconfiguration.md) -- `class` -- Configuration for a Microsoft Foundry capability host.
- [CodeInterpreterToolResource](/reference/api/csharp/aspire.hosting.foundry/codeinterpretertoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to write and run Python code in a sandboxed environment for data analysis, math, and chart generation.
- [Cohere](/reference/api/csharp/aspire.hosting.foundry/cohere.md) -- `class` `static` -- Models published by Cohere.
- [ComputerToolResource](/reference/api/csharp/aspire.hosting.foundry/computertoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to interact with a computer desktop by taking screenshots, moving the mouse, clicking, and typing.
- [Core42](/reference/api/csharp/aspire.hosting.foundry/core42.md) -- `class` `static` -- Models published by Core42.
- [DeepSeek](/reference/api/csharp/aspire.hosting.foundry/deepseek.md) -- `class` `static` -- Models published by DeepSeek.
- [FabricToolResource](/reference/api/csharp/aspire.hosting.foundry/fabrictoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to query data using a Microsoft Fabric data agent.
- [FileSearchToolResource](/reference/api/csharp/aspire.hosting.foundry/filesearchtoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to search uploaded files and proprietary documents using vector search.
- [FoundryDeploymentResource](/reference/api/csharp/aspire.hosting.foundry/foundrydeploymentresource.md) -- `class` `ats export` -- Represents a Microsoft Foundry Deployment.
- [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel.md) -- `class` `ats dto` -- Describes a model that can be deployed to Microsoft Foundry.
- [FoundryResource](/reference/api/csharp/aspire.hosting.foundry/foundryresource.md) -- `class` `ats export` -- Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
- [FoundryToolResource](/reference/api/csharp/aspire.hosting.foundry/foundrytoolresource.md) -- `class` `abstract` `ats export` -- Base class for Foundry tool resources that participate in the Aspire application model.
- [FunctionToolResource](/reference/api/csharp/aspire.hosting.foundry/functiontoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to call a user-defined function.
- [HostedAgentConfiguration](/reference/api/csharp/aspire.hosting.foundry/hostedagentconfiguration.md) -- `class` `ats export` -- A configuration helper for hosted agents.
- [IFoundryTool](/reference/api/csharp/aspire.hosting.foundry/ifoundrytool.md) -- `interface` -- Represents a Foundry tool that can be attached to a prompt agent.
- [ImageGenerationToolResource](/reference/api/csharp/aspire.hosting.foundry/imagegenerationtoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that enables an agent to generate and edit images.
- [Local](/reference/api/csharp/aspire.hosting.foundry/local.md) -- `class` `static` -- Models available on Foundry Local.
- [Meta](/reference/api/csharp/aspire.hosting.foundry/meta.md) -- `class` `static` -- Models published by Meta.
- [Microsoft](/reference/api/csharp/aspire.hosting.foundry/microsoft.md) -- `class` `static` -- Models published by Microsoft.
- [MistralAI](/reference/api/csharp/aspire.hosting.foundry/mistralai.md) -- `class` `static` -- Models published by Mistral AI.
- [OpenAI](/reference/api/csharp/aspire.hosting.foundry/openai.md) -- `class` `static` -- Models published by OpenAI.
- [PublicHostingCognitiveServicesCapabilityHostProperties](/reference/api/csharp/aspire.hosting.foundry/publichostingcognitiveservicescapabilityhostproperties.md) -- `class` -- The properties for a public hosting environment for Cognitive Services capabilities.
- [SharePointToolResource](/reference/api/csharp/aspire.hosting.foundry/sharepointtoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that grounds an agent's responses using SharePoint data.
- [StabilityAI](/reference/api/csharp/aspire.hosting.foundry/stabilityai.md) -- `class` `static` -- Models published by StabilityAI.
- [StaticValueProvider<T>](/reference/api/csharp/aspire.hosting.foundry/staticvalueprovider-1.md) -- `class` -- A static value provider that returns a fixed value once it's been set.
- [WebSearchToolResource](/reference/api/csharp/aspire.hosting.foundry/websearchtoolresource.md) -- `class` `sealed` `ats export` -- A Foundry tool resource that retrieves real-time information from the public web and returns answers with inline citations.
- [XAI](/reference/api/csharp/aspire.hosting.foundry/xai.md) -- `class` `static` -- Models published by xAI.
