Skip to content
DocsTry Aspire
DocsTry

Open source and developer first

Model distributed apps in code.

Aspire is an agent-ready, code-first tool for composing, debugging, and deploying distributed applications.

The AppHost defines how your resources connect.

TypeScript AppHost code showing Front end.

apphost.mts
import { createBuilder } from './.aspire/modules/aspire.mjs';
const builder = await createBuilder();
// Add Vite frontend
const frontend = await builder
.addViteApp("frontend", "./frontend")
.withHttpEndpoint({ env: "PORT" });
await builder.build().run();

01 Polyglot by design

Bring every service into one model.

Use the language and framework that fit each service. Aspire brings the whole stack into one model and one workflow.

  • C#
  • TypeScript
  • JavaScript
  • Python
  • Java
  • Go
  • Rust
  • Containers
Explore application resources

02 Agent-ready

Give AI the full application context.

Aspire supplies live context from your application model, running resources, and telemetry.

  • AppHost

    Services + dependencies

  • Runtime

    Resources + health

  • Telemetry

    Logs + traces + errors

Set up Aspire for your agent

One connection. Full application context.

Works with any AI tool.

03 One application model

From repository to running system.

The AppHost is the source of truth for how the application fits together across development, diagnostics, and deployment.

Context from Aspire

Aspire gives connected AI tools the resource graph, references, configuration, and commands represented here.

Running aspire run turns the AppHost application model into a live resource topology, then exposes every healthy resource in the Aspire dashboard.

  1. 01

    Model the app in code

    Define services, containers, data stores, references, and configuration in a readable AppHost.

    Explore the AppHost
  2. 02

    Run the whole system

    Start every dependency together, with service discovery, local endpoints, and dev-time configuration already connected.

    Learn about aspire run
  3. 03

    Observe from the first request

    Use built-in OpenTelemetry to move from a resource to its logs, traces, metrics, and health without extra setup.

    Explore the dashboard
  4. 04

    Deploy with the same application model

    Create deployment artifacts for cloud services, containers, Kubernetes, or the infrastructure path your team already uses.

    Explore deployment options

04 Local first, production ready

One model. Every environment.

Development, testing, and deployment stay connected to one application topology without forcing the architecture to drift.

Context from Aspire

Aspire exposes the selected environment's resources, endpoints, health, and available commands to connected AI tools.

Fast feedback

Run everything locally.

Start projects, containers, and data services together. Aspire wires local endpoints, configuration, and service discovery from the AppHost.

aspire run4 resources healthy

05 Observability included

See the whole application.

Follow requests across resources, logs, traces, metrics, and health from one developer dashboard.

Context from Aspire

Aspire gives connected AI tools dashboard context, including logs, traces, metrics, health, and resource commands.

Explore the Aspire dashboard

06 Extensible by default

Use the services you already trust.

Add databases, caches, messaging, cloud resources, and community integrations through the same fluent application model.

Browse every integration

07 Developer momentum

Keep teams moving forward.

Aspire shortens onboarding, clarifies distributed behavior, and keeps the local loop productive as systems grow.

I had someone start on a Monday morning and they were contributing code by lunch.

Russ HardingVP Engineering, EQengineered

I was surprised by how quickly Aspire got me from idea to running services.

Milan JovanovićEducator & Content Creator, MJ Tech

I've never wanted to commit to a Microsoft technology this much.

Nk54 (Reddit User)

Hit F5 to begin. Skip the setup boss fight and ship code faster.

Craig TaylorPrincipal Architect, Xbox Live

Aspire was easy to integrate with our existing container orchestration.

Sean KilleenVP Innovation, SCT Software

OpenTelemetry out-of-the-box in the Aspire dashboard is a game changer for observability!

Dan ClarkeDeveloper & Podcaster, Everstack
Join the Aspire community

08 Start with your stack

Start building with less friction.

Install the Aspire CLI, start with an existing repository or a new one, and bring every resource into one development loop.