eShopLite: Instructions file for Codex

AGENTS.md

eShopLite AGENTS.md is an instructions file for Codex, OpenCode from Azure-Samples/eShopLite. It costs 3,622 tokens per session, scanned C, original, MIT.

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

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is Azure-Samples/eShopLite's own configuration. It tells Codex and OpenCode how to work on eShopLite itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything eShopLite configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../02-AzureAISearch/src/eShopAppHost.

Reuse

Borrowing it

Nothing to install: this file belongs to Azure-Samples/eShopLite. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Azure-Samples/eShopLite/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Azure-Samples/eShopLite

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eShopLite AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/azure-samples/eshoplite/agents-md/github.svg)](https://agentmods.dev/instructions/azure-samples/eshoplite/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/azure-samples/eshoplite/agents-md"><img src="https://agentmods.dev/badge/instructions/azure-samples/eshoplite/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eShopLite AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/azure-samples/eshoplite/agents-md"><img src="https://agentmods.dev/badge/instructions/azure-samples/eshoplite/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,622 This file is loaded in full into every session.
When invoked 3,622 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.03622 $0.03622
Opus 5.5 $0.01449 $0.01449
Sonnet 5.5 $0.00724 $0.00724
Haiku 4.5 $0.00362 $0.00362

Measured 9d ago against content hash 33a6c04e2c70, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 9d 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 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 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 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 Aspire CLI
dotnet tool install --global Aspire.Cli

# 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. 9d ago Changed · -11 tokens per session 33a6c04e2c70
  2. 2mo 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 (169 stars, last pushed 6d ago), licensed MIT. It adds 3,622 tokens to every session, about $0.0145 per session on Opus 5.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.

Related

eShopLite AGENTS.md compared with instructions from other repositories

eShopLite AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eShopLite AGENTS.mdAzure-Samples/eShopLiteInstructions file1696d agoMITC3,622Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode