Borrowing it
Nothing to install: this file belongs to MLOps-Courses/agentops-open-course. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MLOps-Courses/agentops-open-course/main/AGENTS.mdgit clone --depth 1 https://github.com/MLOps-Courses/agentops-open-courseWrote 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.
[](https://agentmods.dev/instructions/mlops-courses/agentops-open-course/agents-md)<a href="https://agentmods.dev/instructions/mlops-courses/agentops-open-course/agents-md"><img src="https://agentmods.dev/badge/instructions/mlops-courses/agentops-open-course/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.
<a href="https://agentmods.dev/instructions/mlops-courses/agentops-open-course/agents-md"><img src="https://agentmods.dev/badge/instructions/mlops-courses/agentops-open-course/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04566 | $0.04566 |
| Opus 5.5 | $0.01826 | $0.01826 |
| Sonnet 5.5 | $0.00913 | $0.00913 |
| Haiku 4.5 | $0.00457 | $0.00457 |
Grade B, and why
agentops-open-course AGENTS.md scanned grade B 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 29d 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
Aggregate tasks run their children: `install`, `format`, `check`, and `build` each fan out, so `mise run build` builds the site **and** both container images and therefore needs Docker. Use `mise run build:docs` for the How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for coding agents working in the AgentOps Open Course. Humans should start with README.md. This repository dogfoods the AGENTS.md convention taught in Chapter 1.
Repository purpose
The course teaches the complete lifecycle of one AgentOps Agent with Google ADK, agentgateway, kagent, MLflow, and OpenTelemetry. The completed executable reference accompanies cumulative learner-owned Python exercises; it must not drift into a collection of illustrative snippets. Chapter 8.7 turns that reference into a capstone contract for a learner-owned domain.
docs/contains FAQ-based course pages published by Zensical.agents/python/is the locked Python reference agent, offline tests, and model-backed evaluations.agents/data/is immutable seed input: SQLite, logs, runbooks, and the agent's runtime Agent Skills.skills/holds portable Agent Skills (npx skills add …), validated bymise run check:skills; runtime skills live separately underagents/data/skills.clients/web/is a minimal, offline, dependency-free A2A web client for the AgentOps Agent.load/holds k6 load tests and the documented latency budgets for the platform.infra/agentgateway/{host,k3d,gke}/contains the three data-plane profiles.infra/k8s/baseplusinfra/k8s/overlays/{local,local-gemini,gke}contains the shared Kubernetes deployment.infra/kagent/declares the BYO Agent, gateway ModelConfig, and governed RemoteMCPServer.infra/mlflow/builds the locked non-root MLflow server.infra/observability/contains host Compose and in-cluster OTel/Prometheus/Grafana resources.infra/gcp/is a plan-first OpenTofu module for the optional GKE lab.
Course invariants
- Docs mirror source. Critical Python excerpts use checked
pymdownx.snippetsregions fromagents/python; commands/manifests matchinfra. Prefer a short exact excerpt plus a source link over a second pseudo-implementation. - Every course page is an FAQ. It starts with YAML
descriptionfront matter, contains at least one H2, and every H2 ends in?.scripts/check_conventions.pyenforces this and the page frame below. - Seed and state stay separate.
agents/data/incidents.dbis never mutated. Host writes go toagents/python/.state; Kubernetes agent/MCP processes shareagentops-agent-stateso reads remain coherent with approved writes. Only the A2A startup and direct write boundary may prepare or migrate runtime state; probes and read tools stay read-only. - Restore is crash-recoverable, not an instantaneous multi-file rename. Stop every writer first.
agent.stateserializes backup/restore with a process lock and fsyncs a three-phase journal; A2A startup recovers an interrupted transaction before schema preflight or publication. Never bypass that boundary with direct file copies or delete unexplained.restore-*evidence. - Reads and writes have different authority. The conversational entrypoint alone switches its six read/runbook tools from direct local calls to MCP through
AGENT_MCP_URL; workflow and coordinator specialists always bind local tools. The MCP toolset passestool_filter=MCP_READ_TOOL_NAMES(mcp_client.py), so a server cannot widen the surface by advertising more tools.restart_serviceandresolve_incidentremain in-process, require ADK confirmation, validate targets, and append audit evidence in the same transaction. Replays with the same invocation, action, and target return the original audit row without mutating state again. - Policy is attached once, at the app boundary.
AgentOpsPolicyPluginingovernance.pyis registered on theAppexported bycomposition.pyandsrc/agent/__init__.py. ADK discovery prefersappoverroot_agent. Hooks cover every agent and workflow node; never add per-agent callback lists. Before-model order is budget → compaction → redaction; the first non-Nonereturn short-circuits. ADK's stock evaluator appends its plugins after theApppolicy (a bare agent before ADK 2.10): useevals/governed_adk_eval.pyfor ADK evals, which keeps evaluator evidence first and the policy exactly once, andInMemoryRunner(app=build_app(...))for MLflow. - Skills and retrieved data have different trust. The carve-out is keyed on the ADK
LoadSkillTooltype, which only the locally builtskill_toolset()constructs — not on the tool's name, which any MCP server could claim. That result is reviewed repository instruction, so it bypasses injection neutralization and spotlighting while retaining recursive PII/credential redaction. Every other tool result stays data-hardened by default. - Audit is append-only, not immutable. Every row carries its audit schema version. SQLite triggers block row update/delete through the schema; administrators can still alter the file/schema. Do not overclaim.
- Telemetry content stays private by default. Both ADK/GenAI content-capture variables default to literal
false. PII callbacks cover outbound model requests, inbound model responses, and tool output, but raw session ingestion occurs earlier. - No LiteLLM or garak contract. Runtime/evaluation uses ADK's OpenAI-compatible client for Ollama/agentgateway or native Gemini by default.
mise run redteamis deterministic offline adversarial regression, not live-model penetration testing. - Planning is bounded.
root_agentplans only multi-step investigations and verifies approved actions afterward.triage_workflowis the runnable, read-only plan → investigate → evidence review → recommend path; do not replace it with an unbounded reflection loop. - Cost-efficient by default. Prefer deterministic offline tests and fakes, the smallest model that can validate the behavior, and single-replica resource-bounded local services. Measure before increasing model size, context, RAM, CPU, storage, replicas, or load-test concurrency. Do not start a cluster, observability stack, model server, paid API, or cloud resource unless it materially validates the current boundary; stop temporary processes and tear down disposable resources when the check is complete.
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.
- 29d ago Changed · -109 lines · -3,039 tokens per session scan A → B 060ba47c881a
- 1mo ago Changed · +3 lines · +362 tokens per session fa8581b1f3a8
- 1mo ago First seen · 308 lines · 7,243 tokens per session scan A a0ea3608ea81
agentops-open-course AGENTS.md is an instructions file published in the GitHub repository MLOps-Courses/agentops-open-course (2 stars, last pushed yesterday), licensed MIT. It adds 4,566 tokens to every session, about $0.0183 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.