# Sample: following a slow request across services with Aspire and an AI agent

An Aspire application: storefront renders carts, gets the products from catalog-api, and caches them in Redis.
load-generator displays a random cart twice per second. Carts are much slower than they should be.

    aspire start

Then open the agent in this folder and ask:

    GET /carts/{id} on storefront takes between 150 and 350 ms, which is much slower than expected.
    The application is running under Aspire. Find out why.

.mcp.json registers the Aspire MCP server (aspire agent mcp) for Claude Code.

.claude/skills/investigating-aspire-telemetry/SKILL.md is the skill the agent uses. Claude Code and GitHub
Copilot read it from that path as is; for Codex, move the folder to .agents/skills/.

Prerequisites: the .NET 10 SDK, Docker or Podman, jq, and the Aspire CLI:

    dotnet tool install --global Aspire.Cli

The AppHost uses an HTTP-only launch profile (ASPIRE_ALLOW_UNSECURED_TRANSPORT=true), so it does not need the
HTTPS development certificate. Use it on a development machine only.

Stop the application with:

    aspire stop
