AgentEval AGENTS.md

Repository instructions for agents developing AgentEval, a .NET toolkit for testing AI agents. It explains the project structure, build and test commands, and the main areas for metrics, tool checks, policies, tracing, and data handling.

In plain words
What is it for?
Use it when building, testing, or changing the AgentEval codebase. It is relevant to work on AI-agent evaluation, tool-use checks, response-quality measures, behavior rules, trace recording, and replayable tests.
Why use it?
It helps agents follow the project’s established structure and verify changes across its supported .NET versions. It also explains the difference between the toolkit’s public interfaces, core implementations, integrations, and sample projects.

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/agentevalhq/agenteval/agents-md
Clone the repo
git clone --depth 1 https://github.com/AgentEvalHQ/AgentEval

Made for: Codex, OpenCode.

Per session 2,217 This file is loaded in full into every session.
When invoked 2,217 The same file — it is already loaded in full.
Security scan A 0 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.02217 $0.02217
Opus 5 $0.01108 $0.01108
Sonnet 5 $0.00443 $0.00443
Haiku 4.5 $0.00222 $0.00222

Measured yesterday against content hash 0773c21f2ad0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

AgentEval AGENTS.md scanned grade A with 0 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 227 lines

How it starts

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

AgentEval Development Instructions

This file provides instructions for AI agents working with the AgentEval codebase.

Project Overview

AgentEval is the comprehensive .NET evaluation toolkit for AI agents, built first for Microsoft Agent Framework (MAF). What RAGAS and DeepEval do for Python, AgentEval does for .NET:

  • Tool usage validation with fluent assertions
  • RAG quality metrics (faithfulness, relevance, groundedness)
  • stochastic evaluation and statistical model comparison
  • Behavioral policies (NeverCallTool, MustConfirmBefore)
  • Trace record/replay for deterministic CI testing

Quick Reference

Build & Test

dotnet build                    # Build all projects
dotnet test                     # Run all tests (×3 TFMs)
dotnet run --project samples/AgentEval.Samples

Key Directories

  • src/AgentEval/ - Umbrella packaging project (NuGet: AgentEval)
  • src/AgentEval.Abstractions/ - Public contracts: interfaces, models
  • src/AgentEval.Core/ - Implementations: metrics, assertions, comparison, tracing
  • src/AgentEval.DataLoaders/ - Data loaders, exporters, output formatting
  • src/AgentEval.MAF/ - Microsoft Agent Framework integration
  • src/AgentEval.Memory/ - Memory evaluation (retention, temporal, cross-session, benchmarks)
  • src/AgentEval.RedTeam/ - Security scanning, attack types, compliance
  • tests/AgentEval.Tests/ - Unit tests (mirrors src structure)
  • tests/AgentEval.Memory.Tests/ - Memory module unit tests
  • samples/AgentEval.Samples/ - 41 runnable samples
  • docs/ - Documentation

Core Interfaces

  • IMetricIRAGMetric, IAgenticMetric
  • IEvaluableAgentIStreamableAgent
  • IEvaluationHarnessMAFEvaluationHarness

Metric Naming

  • llm_* = LLM-evaluated (API cost)
  • code_* = Code-computed (free)
  • embed_* = Embedding-based

Assertions Entry Points

result.ToolUsage!.Should()    // Tool assertions
result.Performance!.Should()   // Performance assertions
result.ActualOutput!.Should()  // Response assertions

Read the full file on GitHub · 227 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. yesterday First seen · 227 lines · 2,217 tokens per session scan A 0773c21f2ad0

Subscribe to this mod's changes

AgentEval AGENTS.md is an instructions file published in the GitHub repository AgentEvalHQ/AgentEval (138 stars, last pushed yesterday), licensed MIT. It adds 2,217 tokens to every session, about $0.0111 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.