edgeai-for-beginners: Instructions file for Codex

AGENTS.md

edgeai-for-beginners AGENTS.md is an instructions file for Codex, OpenCode from microsoft/edgeai-for-beginners. It costs 4,929 tokens per session, scanned C, original, MIT.

Repository instructions for EdgeAI for Beginners, an educational project about running and improving small AI language models on local devices.

In plain words
What is it for?
Use them when developing or maintaining the repository's Python, .NET, JavaScript, Electron, translation, or model-deployment examples.
Why use it?
They provide the project structure, required tools, setup commands, and development rules needed to work on the course materials and examples.

Instructions file for CodexOpenCode ✓ vendor

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

This is microsoft/edgeai-for-beginners's own configuration. It tells Codex and OpenCode how to work on edgeai-for-beginners 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 edgeai-for-beginners configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../Workshop.

About the project

EdgeAI for Beginners is an educational course that teaches the basics of running artificial-intelligence models and agents on edge devices. It is intended for people starting to learn about edge AI, including inference, optimization, and device-specific applications. The catalogue instruction helps agents use these learning resources.

microsoft/edgeai-for-beginners · 1,777 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/edgeai-for-beginners. 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/microsoft/edgeai-for-beginners/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/edgeai-for-beginners

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 edgeai-for-beginners AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/microsoft/edgeai-for-beginners/agents-md/github.svg)](https://agentmods.dev/instructions/microsoft/edgeai-for-beginners/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/microsoft/edgeai-for-beginners/agents-md"><img src="https://agentmods.dev/badge/instructions/microsoft/edgeai-for-beginners/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 edgeai-for-beginners AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/microsoft/edgeai-for-beginners/agents-md"><img src="https://agentmods.dev/badge/instructions/microsoft/edgeai-for-beginners/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,929 This file is loaded in full into every session.
When invoked 4,929 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.04929 $0.04929
Opus 5.5 $0.01972 $0.01972
Sonnet 5.5 $0.00986 $0.00986
Haiku 4.5 $0.00493 $0.00493

Measured 2mo ago against content hash 56f518d83480, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

edgeai-for-beginners 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules package-lock.json

Makes network callslowCapability

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

curl http://localhost:<port>/v1/models
AGENTS.md · 695 lines

How it starts

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

AGENTS.md

Developer Guide for Contributing to EdgeAI for Beginners

This document provides comprehensive information for developers, AI agents, and contributors working with this repository. It covers setup, development workflows, testing, and best practices.

Last Updated: October 30, 2025 | Document Version: 3.0

Table of Contents

Project Overview

EdgeAI for Beginners is a comprehensive educational repository teaching Edge AI development with Small Language Models (SLMs). The course covers EdgeAI fundamentals, model deployment, optimization techniques, and production-ready implementations using Microsoft Foundry Local and various AI frameworks.

Key Technologies:

  • Python 3.8+ (primary language for AI/ML samples)
  • .NET C# (AI/ML Samples)
  • JavaScript/Node.js with Electron (for desktop applications)
  • Microsoft Foundry Local SDK
  • Microsoft Windows ML
  • VSCode AI Toolkit
  • OpenAI SDK
  • AI Frameworks: LangChain, Semantic Kernel, Chainlit
  • Model Optimization: Llama.cpp, Microsoft Olive, OpenVINO, Apple MLX

Repository Type: Educational content repository with 8 modules and 10 comprehensive sample applications

Architecture: Multi-module learning path with practical samples demonstrating edge AI deployment patterns

Repository Structure

Read the full file on GitHub · 695 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. 2mo ago First seen · 695 lines · 4,929 tokens per session scan C 56f518d83480

Subscribe to this mod's changes

edgeai-for-beginners AGENTS.md is an instructions file published in the GitHub repository microsoft/edgeai-for-beginners (1,777 stars, last pushed 4d ago), licensed MIT. It adds 4,929 tokens to every session, about $0.0197 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

edgeai-for-beginners AGENTS.md compared with instructions from other repositories

edgeai-for-beginners AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edgeai-for-beginners AGENTS.mdmicrosoft/edgeai-for-beginnersInstructions file1.8k4d agoMITC4,929Codex, 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