CommunityToolkit.Aspire.Hosting.Ollama 9.8.1-beta.406

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Ollama.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Ollama --version 9.8.1-beta.406
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Ollama -Version 9.8.1-beta.406
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Ollama" Version="9.8.1-beta.406" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Ollama" Version="9.8.1-beta.406" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Ollama" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Aspire.Hosting.Ollama --version 9.8.1-beta.406
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Ollama, 9.8.1-beta.406"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CommunityToolkit.Aspire.Hosting.Ollama@9.8.1-beta.406
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.Ollama&version=9.8.1-beta.406&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Ollama&version=9.8.1-beta.406&prerelease
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.Ollama library

Provides extension methods and resource definitions for the .NET Aspire AppHost to support running Ollama containers with support for downloading a model on startup.

It also provides support for running Open WebUI to interact with the Ollama container.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Ollama

Example usage

Then, in the Program.cs file of AppHost, define an Ollama resource, then call AddOllama:

var ollama = builder.AddOllama("ollama")
    .WithModel("phi3")
    .WithOpenWebUI();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/ollama

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CommunityToolkit.Aspire.Hosting.Ollama:

Package Downloads
CrestApps.Aspire.AppHost

Package Description

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on CommunityToolkit.Aspire.Hosting.Ollama:

Repository Stars
dotnet/eShop
A reference .NET application implementing an eCommerce site
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
foxminchan/BookWorm
The practical implementation of Aspire using Microservices, AI-Agents
thangchung/practical-dotnet-aspire
The practical .NET Aspire builds on the coffeeshop app business domain
davidfowl/aspire-ai-chat-demo
Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.
Version Downloads Last Updated
13.0.1-beta.468 1,715 12/3/2025
13.0.1-beta.467 608 12/3/2025
13.0.0 1,881 11/25/2025
13.0.0-beta.462 134 11/25/2025
13.0.0-beta.456 195 11/23/2025
13.0.0-beta.454 91 11/23/2025
13.0.0-beta.453 109 11/22/2025
13.0.0-beta.450 111 11/22/2025
13.0.0-beta.448 109 11/22/2025
13.0.0-beta.444 1,046 11/17/2025
13.0.0-beta.443 257 11/17/2025
13.0.0-beta.440 117 11/15/2025
13.0.0-beta.439 3,656 11/12/2025
13.0.0-beta.438 227 11/12/2025
13.0.0-beta.436 227 11/12/2025
13.0.0-beta.435 228 11/11/2025
13.0.0-beta.433 148 11/10/2025
13.0.0-beta.432 154 11/10/2025
13.0.0-beta.431 145 11/6/2025
13.0.0-beta.430 136 11/6/2025
9.9.0 3,225 11/3/2025
9.9.0-beta.427 147 11/3/2025
9.8.1-beta.426 140 11/3/2025
9.8.1-beta.424 166 10/28/2025
9.8.1-beta.420 131 10/27/2025
9.8.1-beta.419 130 10/27/2025
9.8.1-beta.417 130 10/27/2025
9.8.1-beta.414 139 10/24/2025
9.8.1-beta.413 765 10/22/2025
9.8.1-beta.410 147 10/16/2025
9.8.1-beta.408 114 10/16/2025
9.8.1-beta.407 115 10/16/2025
9.8.1-beta.406 129 10/15/2025
9.8.0 7,107 9/26/2025
9.8.0-beta.405 217 10/15/2025
9.8.0-beta.404 216 10/13/2025
9.8.0-beta.402 224 9/29/2025
9.8.0-beta.401 215 9/29/2025
9.8.0-beta.399 218 9/26/2025
9.8.0-beta.398 226 9/25/2025
9.8.0-beta.397 219 9/25/2025
9.8.0-beta.395 3,497 9/24/2025
9.8.0-beta.394 139 9/23/2025
9.8.0-beta.393 136 9/23/2025
9.8.0-beta.392 137 9/23/2025
9.8.0-beta.389 349 9/18/2025
9.8.0-beta.388 270 9/16/2025
9.8.0-beta.386 220 9/15/2025
9.8.0-beta.385 213 9/15/2025
9.8.0-beta.384 61 9/13/2025
9.8.0-beta.376 243 9/8/2025
9.8.0-beta.375 73 9/6/2025
9.8.0-beta.373 151 9/5/2025
9.8.0-beta.372 157 9/4/2025
9.8.0-beta.370 139 9/2/2025
9.8.0-beta.364 337 9/1/2025
9.7.2 4,056 8/29/2025
9.7.2-beta.362 171 8/29/2025
9.7.2-beta.361 178 8/29/2025
9.7.2-beta.360 176 8/29/2025
9.7.2-beta.359 175 8/28/2025
9.7.2-beta.358 172 8/28/2025
9.7.2-beta.357 180 8/28/2025
9.7.1 655 8/27/2025
9.7.1-beta.355 171 8/27/2025
9.7.1-beta.354 178 8/27/2025
9.7.1-beta.353 176 8/27/2025
9.7.1-beta.352 176 8/27/2025
9.7.1-beta.351 179 8/27/2025
9.7.1-beta.348 192 8/14/2025
9.7.1-beta.344 91 8/10/2025
9.7.1-beta.343 211 8/8/2025
9.7.1-beta.342 216 8/7/2025
9.7.1-beta.341 215 8/6/2025
9.7.1-beta.340 209 8/5/2025
9.7.1-beta.339 192 8/5/2025
9.7.0 4,255 8/1/2025
9.7.0-beta.337 100 8/1/2025
9.7.0-beta.336 104 8/1/2025
9.7.0-beta.335 104 8/1/2025
9.7.0-beta.333 104 7/30/2025
9.6.1-beta.332 107 7/30/2025
9.6.1-beta.331 109 7/30/2025
9.6.1-beta.330 108 7/30/2025
9.6.1-beta.329 109 7/30/2025
9.6.1-beta.328 120 7/29/2025
9.6.1-beta.327 134 7/28/2025
9.6.1-beta.326 122 7/28/2025
9.6.0 2,665 7/10/2025
9.6.0-beta.324 136 7/10/2025
9.5.1-beta.323 128 7/10/2025
9.5.1-beta.322 126 7/10/2025
9.5.1-beta.321 137 7/10/2025
9.5.1-beta.320 150 7/9/2025
9.5.1-beta.319 153 7/8/2025
9.5.1-beta.318 164 7/2/2025
9.5.1-beta.317 153 6/30/2025
9.5.1-beta.315 168 6/26/2025
9.5.1-beta.314 186 6/23/2025
9.5.1-beta.313 140 6/20/2025
9.5.1-beta.312 132 6/20/2025
9.5.1-beta.311 158 6/18/2025
9.5.1-beta.310 158 6/17/2025
9.5.1-beta.309 132 6/17/2025
9.5.1-beta.308 134 6/17/2025
9.5.1-beta.307 175 6/16/2025
9.5.1-beta.306 332 6/11/2025
9.5.1-beta.305 165 6/7/2025
9.5.1-beta.304 166 6/6/2025
9.5.1-beta.303 183 6/4/2025
9.5.1-beta.302 136 6/4/2025
9.5.1-beta.301 175 6/2/2025
9.5.1-beta.300 535 5/28/2025
9.5.0 6,749 5/27/2025
9.5.0-beta.299 161 5/27/2025
9.5.0-beta.298 166 5/26/2025
9.5.0-beta.297 123 5/24/2025
9.5.0-beta.296 107 5/24/2025
9.5.0-beta.295 90 5/24/2025
9.4.1-beta.291 3,177 5/19/2025
9.4.1-beta.289 18,884 5/16/2025
9.4.1-beta.288 245 5/16/2025
9.4.1-beta.287 235 5/16/2025
9.4.1-beta.286 231 5/16/2025
9.4.1-beta.285 255 5/14/2025
9.4.1-beta.284 252 5/13/2025
9.4.1-beta.283 261 5/12/2025
9.4.1-beta.282 220 5/7/2025
9.4.1-beta.280 205 5/2/2025
9.4.1-beta.279 165 5/2/2025
9.4.1-beta.277 694 4/23/2025
9.4.1-beta.276 179 4/23/2025
9.4.1-beta.275 182 4/23/2025
9.4.1-beta.274 180 4/23/2025
9.4.1-beta.273 170 4/23/2025
9.4.1-beta.272 158 4/23/2025
9.4.1-beta.271 168 4/23/2025
9.4.1-beta.270 214 4/20/2025
9.4.0 6,729 4/20/2025
9.4.0-beta.269 185 4/20/2025
9.4.0-beta.268 174 4/20/2025
9.3.1-beta.267 363 4/20/2025
9.3.1-beta.266 278 4/19/2025
9.3.1-beta.265 430 4/15/2025
9.3.1-beta.264 408 4/15/2025
9.3.1-beta.263 374 4/15/2025
9.3.1-beta.262 385 4/15/2025
9.3.1-beta.260 850 4/10/2025
9.3.1-beta.259 655 4/8/2025
9.3.1-beta.258 169 4/8/2025
9.3.1-beta.257 169 4/8/2025
9.3.1-beta.256 158 4/8/2025
9.3.1-beta.255 159 4/8/2025
9.3.1-beta.254 170 4/8/2025
9.3.1-beta.253 243 4/1/2025
9.3.1-beta.252 195 3/27/2025
9.3.1-beta.250 145 3/27/2025
9.3.1-beta.249 166 3/27/2025
9.3.1-beta.248 157 3/27/2025
9.3.1-beta.247 166 3/27/2025
9.3.1-beta.244 530 3/25/2025
9.3.1-beta.242 520 3/24/2025
9.3.1-beta.241 336 3/19/2025
9.3.0 9,636 3/19/2025
9.3.0-beta.239 159 3/19/2025
9.2.2-beta.237 172 3/19/2025
9.2.2-beta.236 229 3/14/2025
9.2.2-beta.230 175 3/13/2025
9.2.2-beta.229 164 3/13/2025
9.2.2-beta.228 211 3/11/2025
9.2.2-beta.227 172 3/11/2025
9.2.2-beta.226 180 3/11/2025
9.2.2-beta.225 167 3/11/2025
9.2.2-beta.224 178 3/11/2025
9.2.2-beta.223 162 3/10/2025
9.2.2-beta.222 182 3/10/2025
9.2.2-beta.220 184 3/9/2025
9.2.2-beta.218 186 3/9/2025
9.2.2-beta.217 242 3/7/2025
9.2.2-beta.216 193 3/7/2025
9.2.2-beta.215 235 3/7/2025
9.2.2-beta.214 201 3/5/2025
9.2.2-beta.213 205 3/5/2025
9.2.2-beta.212 214 3/5/2025
9.2.2-beta.211 201 3/4/2025
9.2.2-beta.210 223 3/4/2025
9.2.2-beta.208 133 3/3/2025
9.2.1 8,780 3/3/2025
9.2.1-beta.207 196 3/2/2025
9.2.1-beta.206 118 3/1/2025
9.2.1-beta.205 156 2/27/2025
9.2.1-beta.204 122 2/26/2025
9.2.1-beta.203 116 2/26/2025
9.2.0 4,408 2/26/2025
9.2.0-beta.202 104 2/26/2025
9.2.0-beta.201 110 2/26/2025
9.2.0-beta.199 107 2/26/2025
9.2.0-beta.198 99 2/26/2025
9.1.1-beta.197 147 2/25/2025
9.1.1-beta.196 119 2/25/2025
9.1.1-beta.195 95 2/25/2025
9.1.1-beta.194 109 2/25/2025
9.1.1-beta.193 125 2/25/2025
9.1.1-beta.192 104 2/24/2025
9.1.1-beta.191 129 2/24/2025
9.1.1-beta.190 211 2/19/2025
9.1.1-beta.189 123 2/19/2025
9.1.1-beta.188 140 2/19/2025
9.1.1-beta.187 141 2/19/2025
9.1.1-beta.183 154 2/18/2025
9.1.1-beta.182 139 2/18/2025
9.1.1-beta.181 144 2/18/2025
9.1.1-beta.180 120 2/17/2025
9.1.1-beta.178 162 2/17/2025
9.1.1-beta.177 277 2/12/2025
9.1.1-beta.176 187 2/11/2025
9.1.1-beta.175 143 2/11/2025
9.1.1-beta.173 203 2/10/2025
9.1.1-beta.169 589 2/6/2025
9.1.1-beta.168 141 2/5/2025
9.1.1-beta.166 154 2/5/2025
9.1.1-beta.165 146 2/5/2025
9.1.1-beta.164 165 2/3/2025
9.1.1-beta.162 138 2/3/2025
9.1.1-beta.155 261 1/30/2025
9.1.1-beta.154 146 1/30/2025
9.1.1-beta.153 158 1/30/2025
9.1.1-beta.152 136 1/29/2025
9.1.1-beta.150 163 1/29/2025
9.1.1-beta.148 337 1/26/2025
9.1.1-beta.147 143 1/26/2025
9.1.1-beta.146 210 1/23/2025
9.1.1-beta.145 141 1/22/2025
9.1.1-beta.144 141 1/22/2025
9.1.1-beta.142 113 1/22/2025
9.1.1-beta.140 123 1/22/2025
9.1.1-beta.139 147 1/21/2025
9.1.1-beta.138 141 1/20/2025
9.1.1-beta.137 148 1/17/2025
9.1.1-beta.136 137 1/15/2025
9.1.1-beta.135 117 1/15/2025
9.1.1-beta.134 79 1/15/2025
9.1.1-beta.128 367 1/9/2025
9.1.1-beta.127 78 1/9/2025
9.1.1-beta.126 104 1/9/2025
9.1.1-beta.125 106 1/9/2025
9.1.1-beta.124 78 1/9/2025
9.1.0 17,769 12/12/2024
9.1.0-beta.123 114 1/3/2025
9.1.0-beta.122 122 1/3/2025
9.1.0-beta.121 96 1/2/2025
9.1.0-beta.120 113 12/30/2024
9.1.0-beta.119 112 12/30/2024
9.1.0-beta.118 118 12/30/2024
9.1.0-beta.116 122 12/30/2024
9.1.0-beta.114 113 12/30/2024
9.1.0-beta.113 115 12/30/2024
9.1.0-beta.112 112 12/18/2024
9.1.0-beta.110 93 12/16/2024
9.1.0-beta.109 107 12/12/2024
9.0.1-beta.108 100 12/12/2024
9.0.1-beta.107 109 12/11/2024
9.0.1-beta.106 114 12/12/2024
9.0.1-beta.104 102 12/11/2024
9.0.1-beta.102 180 12/6/2024
9.0.1-beta.99 86 12/6/2024
9.0.1-beta.98 117 12/6/2024
9.0.1-beta.95 78 12/5/2024
9.0.1-beta.94 106 12/5/2024
9.0.1-beta.93 170 12/2/2024
9.0.1-beta.92 135 11/30/2024
9.0.1-beta.91 100 11/30/2024
9.0.1-beta.90 107 11/29/2024
9.0.1-beta.89 108 11/29/2024
9.0.1-beta.88 122 11/27/2024
9.0.1-beta.87 81 11/27/2024
9.0.1-beta.86 128 11/27/2024
9.0.1-beta.84 145 11/24/2024
9.0.1-beta.83 114 11/22/2024
9.0.1-beta.82 84 11/21/2024
9.0.1-beta.81 135 11/19/2024
9.0.1-beta.80 87 11/19/2024
9.0.1-beta.79 114 11/19/2024
9.0.1-beta.77 146 11/15/2024
9.0.0 4,187 11/15/2024
9.0.0-beta.76 101 11/14/2024
9.0.0-beta.75 104 11/14/2024
9.0.0-beta.74 113 11/14/2024
9.0.0-beta.73 121 11/14/2024
9.0.0-beta.72 103 11/14/2024
9.0.0-beta.71 109 11/13/2024
9.0.0-beta.70 94 11/13/2024
9.0.0-beta.69 110 11/13/2024
9.0.0-beta.68 105 11/13/2024
9.0.0-beta.67 108 11/13/2024
9.0.0-beta.66 569 11/13/2024
9.0.0-beta.63 114 11/12/2024
9.0.0-beta.54 117 10/31/2024
9.0.0-beta.53 114 10/29/2024
8.3.0 447 10/29/2024
8.3.0-beta.51 108 10/29/2024
8.3.0-beta.50 111 10/28/2024
8.3.0-beta.49 92 10/28/2024
8.3.0-beta.48 102 10/28/2024
8.3.0-beta.47 115 10/28/2024
8.3.0-beta.46 96 10/27/2024
8.3.0-beta.45 279 10/25/2024
8.3.0-beta.44 116 10/25/2024
8.3.0-beta.43 89 10/25/2024
8.3.0-beta.42 121 10/24/2024
8.2.1 396 10/23/2024
8.2.1-beta.40 98 10/23/2024
8.2.1-beta.39 103 10/23/2024
8.2.1-beta.38 119 10/23/2024
8.2.1-beta.37 119 10/23/2024
8.2.1-beta.36 99 10/23/2024
8.2.1-beta.35 105 10/23/2024
8.2.0-beta.34 124 10/23/2024
8.2.0-beta.33 119 10/23/2024
8.2.0-beta.32 117 10/22/2024
1.0.0-beta.60 117 11/11/2024
1.0.0-beta.58 111 11/4/2024
1.0.0-beta.57 99 11/1/2024
1.0.0-beta.56 101 11/1/2024
1.0.0-beta.55 117 11/1/2024