eShopLite AGENTS.md

Repository instructions for eShopLite, a .NET sample online shop made of several self-contained scenarios. A monorepo is one repository containing multiple related projects.

In plain words
What is it for?
Installing the .NET SDK, running scenario projects, and working with the shop's web app, APIs, databases, AI features, and container services.
Why use it?
They explain the required tools, services, and layout so an agent can set up and change the right scenario without guessing.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/azure-samples/eshoplite/agents-md
Clone the repo
git clone --depth 1 https://github.com/Azure-Samples/eShopLite

Made for: Codex, OpenCode.

Per session 3,633 This file is loaded in full into every session.
When invoked 3,633 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.03633 $0.03633
Opus 5 $0.01817 $0.01817
Sonnet 5 $0.00727 $0.00727
Haiku 4.5 $0.00363 $0.00363

Measured 3d ago against content hash 91ab9710ff65, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

eShopLite AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://aka.ms/install-azd.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://aka.ms/install-azd.sh | bash
AGENTS.md · 496 lines

How it starts

The opening of the file, as written. The whole thing — 496 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Project Overview

eShopLite is a modular .NET Aspire-based reference eCommerce platform demonstrating advanced AI, search, and orchestration patterns. This is a scenario-driven monorepo where each scenario in scenarios/ is a self-contained solution showcasing different capabilities like Semantic Search, Model Context Protocol (MCP), Reasoning models, vector databases, real-time audio, and more.

Key Technologies:

  • .NET 10 with .NET Aspire 13.0.1 for orchestration
  • Blazor for UI
  • Azure OpenAI (GPT-4o, GPT-4o-mini, embeddings)
  • Microsoft.Extensions.AI (MEAI) IChatClient / IEmbeddingGenerator abstractions
  • Vector databases (In-memory via CommunityToolkit.VectorData, Azure AI Search, Chroma DB, SQL Server 2025)
  • Model Context Protocol (MCP) for agent interactions
  • Microsoft Agent Framework (MAF) for concurrent agent orchestration
  • Azure services (Container Apps, AI Search, Application Insights, Functions)
  • Docker/Podman for containerized services

Architecture: Each scenario is a complete, runnable .NET Aspire solution with an eShopAppHost orchestrating multiple services (APIs, databases, UI). Services are reused across scenarios, making this a true monorepo with shared components.

Setup Commands

Prerequisites Installation

Install the following prerequisites:

# Install .NET 10 SDK
# Download from: https://dotnet.microsoft.com/download/dotnet/10.0

# Install Azure Developer CLI
# macOS/Linux:
curl -fsSL https://aka.ms/install-azd.sh | bash
# Windows (PowerShell):
# powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"

# Install Docker Desktop or Podman
# Docker: https://www.docker.com/products/docker-desktop/
# Podman: https://podman.io/

# Install .NET Aspire workload
dotnet workload install aspire

# Verify installations
dotnet --version  # Should be 10.0 or higher
azd version
docker --version  # or podman --version

Clone and Navigate

# Clone the repository
git clone https://github.com/Azure-Samples/eShopLite.git
cd eShopLite

# Navigate to a specific scenario (e.g., Semantic Search)
cd scenarios/01-SemanticSearch

Read the full file on GitHub · 496 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 496 lines · 3,633 tokens per session scan C 91ab9710ff65

Subscribe to this mod's changes

eShopLite AGENTS.md is an instructions file published in the GitHub repository Azure-Samples/eShopLite (168 stars, last pushed 1mo ago), licensed MIT. It adds 3,633 tokens to every session, about $0.0182 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.