Generative-AI-for-beginners-dotnet AGENTS.md

Generative-AI-for-beginners-dotnet AGENTS.md is an instructions file for Codex, OpenCode from microsoft/Generative-AI-for-beginners-dotnet. It costs 5,226 tokens per session, scanned A, original, MIT.

Project instructions for Generative AI for Beginners .NET, a course with runnable examples that teaches .NET developers how to build AI applications.

In plain words
What is it for?
Use them when navigating lessons, samples, translations, or applications built with .NET, Azure OpenAI, Ollama, or Microsoft’s agent tools.
Why use it?
They give an agent the project’s structure, technologies, setup steps, and conventions so it can work in the repository correctly.

Instructions file for CodexOpenCode

About the project

Generative AI for Beginners .NET is a hands-on course that teaches .NET developers to build applications using generative AI models and related tools. Its lessons use practical samples covering scenarios such as chat, audio transcription, agents, and local AI. The catalogue entries are add-ons associated with the course repository.

microsoft/Generative-AI-for-beginners-dotnet · 3,046 stars · on GitHub

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/microsoft/generative-ai-for-beginners-dotnet/agents-md
Clone the repo
git clone --depth 1 https://github.com/microsoft/Generative-AI-for-beginners-dotnet

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 Generative-AI-for-beginners-dotnet AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/microsoft/generative-ai-for-beginners-dotnet/agents-md.svg)](https://agentmods.dev/instructions/microsoft/generative-ai-for-beginners-dotnet/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/microsoft/generative-ai-for-beginners-dotnet/agents-md"><img src="https://agentmods.dev/badge/instructions/microsoft/generative-ai-for-beginners-dotnet/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,226 This file is loaded in full into every session.
When invoked 5,226 The same file — it is already loaded in full.
Security scan A 1 finding. 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.05226 $0.05226
Opus 5 $0.02613 $0.02613
Sonnet 5 $0.01045 $0.01045
Haiku 4.5 $0.00523 $0.00523

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

Security

Grade A, and why

Generative-AI-for-beginners-dotnet AGENTS.md scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

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

curl http://localhost:11434/api/version
AGENTS.md · 546 lines

How it starts

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

AGENTS.md

Project Overview

This repository contains Generative AI for Beginners .NET - a hands-on course teaching .NET developers how to build Generative AI applications. The course focuses on practical, runnable code samples and real-world applications.

Architecture

  • Lesson-based structure: Organized in numbered folders (01-05) containing lesson documentation
  • Centralized samples: All code samples live in the samples/ directory, organized by category
  • Multi-language support: Course materials translated into 8 languages (located in translations/)
  • Sample applications: Full-featured AI-powered apps demonstrating practical GenAI integration
  • Key technologies: .NET 10+, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework, Azure OpenAI, Ollama

Project Structure

.
├── 01-IntroductionToGenerativeAI/     # Introduction to Generative AI + setup guides
├── 02-GenerativeAITechniques/         # Text completions, streaming, function calling, middleware
├── 03-AIPatternsAndApplications/      # Embeddings, RAG, vision, combining patterns
├── 04-AgentsWithMAF/                  # Microsoft Agent Framework + MCP
├── 05-ResponsibleAI/                  # Responsible AI practices
├── samples/
│   ├── CoreSamples/                   # Core technique samples (chat, vision, RAG, functions, etc.)
│   │   └── CoreGenerativeAITechniques.sln
│   ├── MAF/                           # Microsoft Agent Framework samples (25+ projects)
│   │   └── MAF-Demos.slnx
│   ├── AppsWithGenAI/                 # Full AI-powered applications
│   │   ├── SpaceAINet/               # AI-powered Space Battle game
│   │   ├── HFMCP.GenImage/           # Image generation Aspire app
│   │   └── ConsoleGpuViewer/         # GPU viewer console app
│   └── PracticalSamples/             # Aspire MCP sample
│       └── Aspire.MCP.Sample.sln
├── infra/                             # Azure Bicep infrastructure
├── translations/                      # Localized course materials (8 languages)
└── images/                            # Course branding assets

Each lesson folder contains:
- readme.md: Lesson documentation with step-by-step guidance
- images/: Visual assets
- Setup guides (in lesson 01)

Read the full file on GitHub · 546 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. 5d ago First seen · 546 lines · 5,226 tokens per session scan A de86cb9c3c2d

Subscribe to this mod's changes

Generative-AI-for-beginners-dotnet AGENTS.md is an instructions file published in the GitHub repository microsoft/Generative-AI-for-beginners-dotnet (3,046 stars, last pushed 4d ago), licensed MIT. It adds 5,226 tokens to every session, about $0.0261 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.