# Sample: finding slow requests with Aspire and an AI agent

An Aspire application: orders-api (ASP.NET Core, Entity Framework Core) on PostgreSQL, and load-generator, which
calls the API 4 times per second. One of the endpoints is much slower than the others.

    aspire start

Then open the agent in this folder and ask:

    Some requests to orders-api are slow, most are fast. The application is running under Aspire.
    Find which requests are slow and 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, 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
