CommunityToolkit.Aspire.Hosting.Ollama 13.1.1

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Ollama --version 13.1.1
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Ollama -Version 13.1.1
                    
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="13.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Ollama" Version="13.1.1" />
                    
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 13.1.1
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Ollama, 13.1.1"
                    
#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@13.1.1
                    
#: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=13.1.1
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Ollama&version=13.1.1
                    
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 is compatible.  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.1.2-beta.509 41 1/20/2026
13.1.2-beta.508 50 1/19/2026
13.1.2-beta.507 41 1/19/2026
13.1.2-beta.506 68 1/16/2026
13.1.2-beta.505 39 1/16/2026
13.1.2-beta.504 41 1/16/2026
13.1.1 704 1/16/2026
13.1.1-beta.502 42 1/16/2026
13.1.0 316 1/14/2026
13.1.0-beta.499 43 1/14/2026
13.0.1-beta.498 44 1/14/2026
13.0.1-beta.486 72 1/12/2026
13.0.1-beta.468 7,576 12/3/2025
13.0.1-beta.467 625 12/3/2025
13.0.0 5,955 11/25/2025
13.0.0-beta.462 148 11/25/2025
13.0.0-beta.456 212 11/23/2025
13.0.0-beta.454 108 11/23/2025
13.0.0-beta.453 126 11/22/2025
13.0.0-beta.450 125 11/22/2025
13.0.0-beta.448 121 11/22/2025
13.0.0-beta.444 1,341 11/17/2025
13.0.0-beta.443 265 11/17/2025
13.0.0-beta.440 150 11/15/2025
13.0.0-beta.439 3,788 11/12/2025
13.0.0-beta.438 237 11/12/2025
13.0.0-beta.436 237 11/12/2025
13.0.0-beta.435 238 11/11/2025
13.0.0-beta.433 162 11/10/2025
13.0.0-beta.432 169 11/10/2025
13.0.0-beta.431 153 11/6/2025
13.0.0-beta.430 153 11/6/2025
9.9.0 3,748 11/3/2025
9.9.0-beta.427 155 11/3/2025
9.8.1-beta.426 151 11/3/2025
9.8.1-beta.424 179 10/28/2025
9.8.1-beta.420 142 10/27/2025
9.8.1-beta.419 145 10/27/2025
9.8.1-beta.417 142 10/27/2025
9.8.1-beta.414 152 10/24/2025
9.8.1-beta.413 776 10/22/2025
9.8.1-beta.410 159 10/16/2025
9.8.1-beta.408 125 10/16/2025
9.8.1-beta.407 126 10/16/2025
9.8.1-beta.406 142 10/15/2025
9.8.0 7,611 9/26/2025
9.8.0-beta.405 245 10/15/2025
9.8.0-beta.404 247 10/13/2025
9.8.0-beta.402 259 9/29/2025
9.8.0-beta.401 245 9/29/2025
9.8.0-beta.399 251 9/26/2025
9.8.0-beta.398 258 9/25/2025
9.8.0-beta.397 253 9/25/2025
9.8.0-beta.395 6,485 9/24/2025
9.8.0-beta.394 155 9/23/2025
9.8.0-beta.393 147 9/23/2025
9.8.0-beta.392 146 9/23/2025
9.8.0-beta.389 364 9/18/2025
9.8.0-beta.388 280 9/16/2025
9.8.0-beta.386 229 9/15/2025
9.8.0-beta.385 221 9/15/2025
9.8.0-beta.384 70 9/13/2025
9.8.0-beta.376 257 9/8/2025
9.8.0-beta.375 83 9/6/2025
9.8.0-beta.373 159 9/5/2025
9.8.0-beta.372 174 9/4/2025
9.8.0-beta.370 147 9/2/2025
9.8.0-beta.364 352 9/1/2025
9.7.2 4,138 8/29/2025
9.7.2-beta.362 179 8/29/2025
9.7.2-beta.361 190 8/29/2025
9.7.2-beta.360 181 8/29/2025
9.7.2-beta.359 185 8/28/2025
9.7.2-beta.358 182 8/28/2025
9.7.2-beta.357 187 8/28/2025
9.7.1 670 8/27/2025
9.7.1-beta.355 182 8/27/2025
9.7.1-beta.354 184 8/27/2025
9.7.1-beta.353 185 8/27/2025
9.7.1-beta.352 189 8/27/2025
9.7.1-beta.351 190 8/27/2025
9.7.1-beta.348 208 8/14/2025
9.7.1-beta.344 99 8/10/2025
9.7.1-beta.343 222 8/8/2025
9.7.1-beta.342 228 8/7/2025
9.7.1-beta.341 225 8/6/2025
9.7.1-beta.340 225 8/5/2025
9.7.1-beta.339 210 8/5/2025
9.7.0 4,306 8/1/2025
9.7.0-beta.337 108 8/1/2025
9.7.0-beta.336 113 8/1/2025
9.7.0-beta.335 115 8/1/2025
9.7.0-beta.333 117 7/30/2025
9.6.1-beta.332 119 7/30/2025
9.6.1-beta.331 120 7/30/2025
9.6.1-beta.330 112 7/30/2025
9.6.1-beta.329 120 7/30/2025
9.6.1-beta.328 131 7/29/2025
9.6.1-beta.327 140 7/28/2025
9.6.1-beta.326 132 7/28/2025
9.6.0 2,697 7/10/2025
9.6.0-beta.324 147 7/10/2025
9.5.1-beta.323 137 7/10/2025
9.5.1-beta.322 135 7/10/2025
9.5.1-beta.321 149 7/10/2025
9.5.1-beta.320 161 7/9/2025
9.5.1-beta.319 162 7/8/2025
9.5.1-beta.318 171 7/2/2025
9.5.1-beta.317 162 6/30/2025
9.5.1-beta.315 179 6/26/2025
9.5.1-beta.314 196 6/23/2025
9.5.1-beta.313 152 6/20/2025
9.5.1-beta.312 142 6/20/2025
9.5.1-beta.311 165 6/18/2025
9.5.1-beta.310 167 6/17/2025
9.5.1-beta.309 144 6/17/2025
9.5.1-beta.308 145 6/17/2025
9.5.1-beta.307 187 6/16/2025
9.5.1-beta.306 349 6/11/2025
9.5.1-beta.305 173 6/7/2025
9.5.1-beta.304 173 6/6/2025
9.5.1-beta.303 200 6/4/2025
9.5.1-beta.302 150 6/4/2025
9.5.1-beta.301 187 6/2/2025
9.5.1-beta.300 550 5/28/2025
9.5.0 6,930 5/27/2025
9.5.0-beta.299 175 5/27/2025
9.5.0-beta.298 181 5/26/2025
9.5.0-beta.297 134 5/24/2025
9.5.0-beta.296 117 5/24/2025
9.5.0-beta.295 99 5/24/2025
9.4.1-beta.291 3,209 5/19/2025
9.4.1-beta.289 19,750 5/16/2025
9.4.1-beta.288 252 5/16/2025
9.4.1-beta.287 248 5/16/2025
9.4.1-beta.286 239 5/16/2025
9.4.1-beta.285 261 5/14/2025
9.4.1-beta.284 268 5/13/2025
9.4.1-beta.283 270 5/12/2025
9.4.1-beta.282 228 5/7/2025
9.4.1-beta.280 218 5/2/2025
9.4.1-beta.279 176 5/2/2025
9.4.1-beta.277 704 4/23/2025
9.4.1-beta.276 184 4/23/2025
9.4.1-beta.275 196 4/23/2025
9.4.1-beta.274 189 4/23/2025
9.4.1-beta.273 180 4/23/2025
9.4.1-beta.272 167 4/23/2025
9.4.1-beta.271 171 4/23/2025
9.4.1-beta.270 224 4/20/2025
9.4.0 6,764 4/20/2025
9.4.0-beta.269 199 4/20/2025
9.4.0-beta.268 185 4/20/2025
9.3.1-beta.267 376 4/20/2025
9.3.1-beta.266 287 4/19/2025
9.3.1-beta.265 439 4/15/2025
9.3.1-beta.264 413 4/15/2025
9.3.1-beta.263 388 4/15/2025
9.3.1-beta.262 397 4/15/2025
9.3.1-beta.260 863 4/10/2025
9.3.1-beta.259 669 4/8/2025
9.3.1-beta.258 181 4/8/2025
9.3.1-beta.257 182 4/8/2025
9.3.1-beta.256 164 4/8/2025
9.3.1-beta.255 167 4/8/2025
9.3.1-beta.254 181 4/8/2025
9.3.1-beta.253 252 4/1/2025
9.3.1-beta.252 205 3/27/2025
9.3.1-beta.250 156 3/27/2025
9.3.1-beta.249 180 3/27/2025
9.3.1-beta.248 164 3/27/2025
9.3.1-beta.247 172 3/27/2025
9.3.1-beta.244 535 3/25/2025
9.3.1-beta.242 532 3/24/2025
9.3.1-beta.241 348 3/19/2025
9.3.0 9,786 3/19/2025
9.3.0-beta.239 166 3/19/2025
9.2.2-beta.237 182 3/19/2025
9.2.2-beta.236 241 3/14/2025
9.2.2-beta.230 191 3/13/2025
9.2.2-beta.229 172 3/13/2025
9.2.2-beta.228 223 3/11/2025
9.2.2-beta.227 189 3/11/2025
9.2.2-beta.226 193 3/11/2025
9.2.2-beta.225 174 3/11/2025
9.2.2-beta.224 189 3/11/2025
9.2.2-beta.223 170 3/10/2025
9.2.2-beta.222 193 3/10/2025
9.2.2-beta.220 195 3/9/2025
9.2.2-beta.218 193 3/9/2025
9.2.2-beta.217 251 3/7/2025
9.2.2-beta.216 202 3/7/2025
9.2.2-beta.215 242 3/7/2025
9.2.2-beta.214 207 3/5/2025
9.2.2-beta.213 217 3/5/2025
9.2.2-beta.212 224 3/5/2025
9.2.2-beta.211 215 3/4/2025
9.2.2-beta.210 231 3/4/2025
9.2.2-beta.208 147 3/3/2025
9.2.1 8,928 3/3/2025
9.2.1-beta.207 212 3/2/2025
9.2.1-beta.206 132 3/1/2025
9.2.1-beta.205 171 2/27/2025
9.2.1-beta.204 133 2/26/2025
9.2.1-beta.203 125 2/26/2025
9.2.0 4,459 2/26/2025
9.2.0-beta.202 116 2/26/2025
9.2.0-beta.201 122 2/26/2025
9.2.0-beta.199 115 2/26/2025
9.2.0-beta.198 109 2/26/2025
9.1.1-beta.197 161 2/25/2025
9.1.1-beta.196 131 2/25/2025
9.1.1-beta.195 104 2/25/2025
9.1.1-beta.194 118 2/25/2025
9.1.1-beta.193 142 2/25/2025
9.1.1-beta.192 113 2/24/2025
9.1.1-beta.191 138 2/24/2025
9.1.1-beta.190 219 2/19/2025
9.1.1-beta.189 140 2/19/2025
9.1.1-beta.188 146 2/19/2025
9.1.1-beta.187 151 2/19/2025
9.1.1-beta.183 168 2/18/2025
9.1.1-beta.182 152 2/18/2025
9.1.1-beta.181 152 2/18/2025
9.1.1-beta.180 126 2/17/2025
9.1.1-beta.178 176 2/17/2025
9.1.1-beta.177 289 2/12/2025
9.1.1-beta.176 197 2/11/2025
9.1.1-beta.175 154 2/11/2025
9.1.1-beta.173 211 2/10/2025
9.1.1-beta.169 596 2/6/2025
9.1.1-beta.168 151 2/5/2025
9.1.1-beta.166 165 2/5/2025
9.1.1-beta.165 156 2/5/2025
9.1.1-beta.164 179 2/3/2025
9.1.1-beta.162 152 2/3/2025
9.1.1-beta.155 270 1/30/2025
9.1.1-beta.154 159 1/30/2025
9.1.1-beta.153 170 1/30/2025
9.1.1-beta.152 154 1/29/2025
9.1.1-beta.150 175 1/29/2025
9.1.1-beta.148 347 1/26/2025
9.1.1-beta.147 155 1/26/2025
9.1.1-beta.146 222 1/23/2025
9.1.1-beta.145 149 1/22/2025
9.1.1-beta.144 155 1/22/2025
9.1.1-beta.142 125 1/22/2025
9.1.1-beta.140 131 1/22/2025
9.1.1-beta.139 156 1/21/2025
9.1.1-beta.138 150 1/20/2025
9.1.1-beta.137 156 1/17/2025
9.1.1-beta.136 148 1/15/2025
9.1.1-beta.135 129 1/15/2025
9.1.1-beta.134 89 1/15/2025
9.1.1-beta.128 376 1/9/2025
9.1.1-beta.127 88 1/9/2025
9.1.1-beta.126 112 1/9/2025
9.1.1-beta.125 119 1/9/2025
9.1.1-beta.124 86 1/9/2025
9.1.0 18,576 12/12/2024
9.1.0-beta.123 126 1/3/2025
9.1.0-beta.122 133 1/3/2025
9.1.0-beta.121 110 1/2/2025
9.1.0-beta.120 125 12/30/2024
9.1.0-beta.119 120 12/30/2024
9.1.0-beta.118 129 12/30/2024
9.1.0-beta.116 133 12/30/2024
9.1.0-beta.114 121 12/30/2024
9.1.0-beta.113 126 12/30/2024
9.1.0-beta.112 124 12/18/2024
9.1.0-beta.110 104 12/16/2024
9.1.0-beta.109 120 12/12/2024
9.0.1-beta.108 108 12/12/2024
9.0.1-beta.107 124 12/11/2024
9.0.1-beta.106 127 12/12/2024
9.0.1-beta.104 112 12/11/2024
9.0.1-beta.102 189 12/6/2024
9.0.1-beta.99 93 12/6/2024
9.0.1-beta.98 131 12/6/2024
9.0.1-beta.95 86 12/5/2024
9.0.1-beta.94 117 12/5/2024
9.0.1-beta.93 189 12/2/2024
9.0.1-beta.92 147 11/30/2024
9.0.1-beta.91 116 11/30/2024
9.0.1-beta.90 115 11/29/2024
9.0.1-beta.89 117 11/29/2024
9.0.1-beta.88 132 11/27/2024
9.0.1-beta.87 89 11/27/2024
9.0.1-beta.86 138 11/27/2024
9.0.1-beta.84 149 11/24/2024
9.0.1-beta.83 126 11/22/2024
9.0.1-beta.82 93 11/21/2024
9.0.1-beta.81 144 11/19/2024
9.0.1-beta.80 101 11/19/2024
9.0.1-beta.79 123 11/19/2024
9.0.1-beta.77 157 11/15/2024
9.0.0 5,234 11/15/2024
9.0.0-beta.76 112 11/14/2024
9.0.0-beta.75 119 11/14/2024
9.0.0-beta.74 127 11/14/2024
9.0.0-beta.73 131 11/14/2024
9.0.0-beta.72 119 11/14/2024
9.0.0-beta.71 121 11/13/2024
9.0.0-beta.70 103 11/13/2024
9.0.0-beta.69 122 11/13/2024
9.0.0-beta.68 116 11/13/2024
9.0.0-beta.67 120 11/13/2024
9.0.0-beta.66 588 11/13/2024
9.0.0-beta.63 125 11/12/2024
9.0.0-beta.54 126 10/31/2024
9.0.0-beta.53 127 10/29/2024
8.3.0 463 10/29/2024
8.3.0-beta.51 118 10/29/2024
8.3.0-beta.50 120 10/28/2024
8.3.0-beta.49 105 10/28/2024
8.3.0-beta.48 112 10/28/2024
8.3.0-beta.47 120 10/28/2024
8.3.0-beta.46 110 10/27/2024
8.3.0-beta.45 291 10/25/2024
8.3.0-beta.44 129 10/25/2024
8.3.0-beta.43 101 10/25/2024
8.3.0-beta.42 130 10/24/2024
8.2.1 414 10/23/2024
8.2.1-beta.40 107 10/23/2024
8.2.1-beta.39 115 10/23/2024
8.2.1-beta.38 131 10/23/2024
8.2.1-beta.37 127 10/23/2024
8.2.1-beta.36 105 10/23/2024
8.2.1-beta.35 119 10/23/2024
8.2.0-beta.34 136 10/23/2024
8.2.0-beta.33 126 10/23/2024
8.2.0-beta.32 129 10/22/2024
1.0.0-beta.60 128 11/11/2024
1.0.0-beta.58 120 11/4/2024
1.0.0-beta.57 108 11/1/2024
1.0.0-beta.56 113 11/1/2024
1.0.0-beta.55 131 11/1/2024