agentops
Copilot instructions13 starsChanged 3 months agoMITView on GitHub
AgentOps Toolkit is a Python 3.11+ CLI, local Cockpit, and coding-agent skill set that helps teams answer two release questions for Microsoft Foundry agents: can we ship it, and where is the proof? Foundry runs the agent. AgentOps proves the release is ready with eval gates, Doctor readiness, CI/CD, release evidence, and trace-driven regression loops. Read these first for detailed architecture and product context: Do not add commands or flags unless the product discussion explicitly calls for them. Keep --help…
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- release-managementSkill
- speckit-analyzeSkill
- speckit-checklistSkill
- speckit-clarifySkill
- speckit-constitutionSkill
- speckit-convergeSkill
- speckit-implementSkill
- speckit-planSkill
- speckit-specifySkill
- speckit-tasksSkill
- speckit-taskstoissuesSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Read these first for detailed architecture and product context:
- Very specific: line 35
Do not add commands or flags unless the product discussion explicitly calls for them.
- Very specific: line 40
Keep src/agentops/cli/app.py thin: parse arguments, print concise output, and delegate to pipeline/ or services/.
- Very specific: line 42
Keep src/agentops/core/ pure: no Azure SDK imports, no network calls.
- Very specific: line 43
Use pathlib.Path for paths.
- Distinctive: line 44
Prefer small focused functions and explicit user-friendly errors.
- Distinctive: line 46
No import-time side effects beyond the existing dotenv loader behavior in the CLI entry point.
- Distinctive: line 64
Use Foundry for hosted agents, cloud evaluations, traces, monitoring, red teaming, datasets, and operations.
- Very specific: line 66
Use AgentOps for repo-controlled release readiness: eval config, CI gates, normalized artifacts, Doctor diagnostics, release evidence, …
- Distinctive: line 82
Do not reinterpret these codes.
- Distinctive: line 86
Use existing tests only. The standard full-suite command is:
- Distinctive: line 92
Add focused unit tests for new schema, services, Doctor checks, CLI flags, and workflow template behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions for AgentOps
AgentOps Toolkit is a Python 3.11+ CLI, local Cockpit, and coding-agent skill set that helps teams answer two release questions for Microsoft Foundry agents: can we ship it, and where is the proof? Foundry runs the agent. AgentOps proves the release is ready with eval gates, Doctor readiness, CI/CD, release evidence, and trace-driven regression loops.
Read these first for detailed architecture and product context:
AGENTS.mddocs/how-it-works.mdCONTRIBUTING.mdREADME.md
Current public CLI surface
agentops --versionagentops explain [COMMAND...] [--no-pager] [--format text|markdown|html] [--out PATH] [--open]agentops init [--force] [--dir PATH] [--no-prompt] [--no-appinsights] [--azd-env NAME] [--project-endpoint URL] [--agent REF] [--dataset PATH] [--appinsights-connection-string STR]agentops init show [--dir PATH] [--reveal-secrets]agentops prompt pull [--config PATH] [--out PATH] [--project-endpoint URL] [--force] [--update-config|--no-update-config]agentops eval analyze [--dir PATH] [--format text|markdown|json] [--out PATH]agentops eval run [--config PATH] [--baseline PATH] [--output DIR]agentops eval promote-traces --source PATH [--out PATH] [--max-rows N] [--label-mode self-similarity|pending] [--apply]agentops report generate [--in PATH] [--out PATH]agentops workflow analyze [--dir PATH] [--format text|markdown|json] [--out PATH]agentops workflow generate [--force] [--dir PATH] [--kinds pr,dev,qa,prod,watchdog] [--platform github|azure-devops] [--deploy-mode auto|placeholder|azd|prompt-agent] [--doctor-gate critical|warning|none]agentops skills install [--platform copilot|claude] [--from SOURCE] [--prompt] [--force] [--dir PATH]agentops mcp serveagentops doctor [--workspace PATH] [--config PATH] [--out PATH] [--lookback-days N] [--severity-fail SEVERITY] [--evidence-pack] [--evidence-out PATH]agentops doctor explain [--no-pager] [--format text|markdown|html] [--out PATH] [--open]agentops cockpit [--host HOST] [--port PORT] [--workspace PATH] [--no-preflight]
Do not add commands or flags unless the product discussion explicitly calls for
them. Keep --help terse and put long-form manual content under explain.
Architecture rules
- Keep
src/agentops/cli/app.pythin: parse arguments, print concise output, and delegate topipeline/orservices/. - Keep
src/agentops/core/pure: no Azure SDK imports, no network calls. - Use
pathlib.Pathfor paths. - Prefer small focused functions and explicit user-friendly errors.
- Azure SDK imports must be lazy inside runtime functions.
- No import-time side effects beyond the existing dotenv loader behavior in the CLI entry point.
Where to put common changes:
| Change | Location |
agentops.yaml schema | src/agentops/core/agentops_config.py |
results.json schema | src/agentops/core/results.py |
| Release evidence schema | src/agentops/core/release_evidence.py |
| Eval execution | src/agentops/pipeline/ |
| Doctor checks | src/agentops/agent/checks/ |
| Release evidence writer | src/agentops/services/evidence_pack.py |
| Trace export to dataset candidates | src/agentops/services/trace_promotion.py |
| Workflow generation | src/agentops/services/cicd.py and src/agentops/templates/ |
Product principles
- Use Foundry for hosted agents, cloud evaluations, traces, monitoring, red teaming, datasets, and operations.
- Use AgentOps for repo-controlled release readiness: eval config, CI gates, normalized artifacts, Doctor diagnostics, release evidence, trace-to-dataset promotion, and Cockpit links to Foundry/Azure Monitor.
agentops doctor --evidence-packis a readiness projection over existing signals; do not create a second exit-code contract.- Trace promotion is review-first.
self-similaritylabels support drift detection, not human-verified correctness. - Doctor and Cockpit stay read-only; data promotion belongs in services/CLI.
Exit codes
0= execution succeeded and all thresholds passed2= execution succeeded but one or more thresholds or configured finding gates failed1= runtime or configuration error
Do not reinterpret these codes.
Testing
Use existing tests only. The standard full-suite command is:
python -m pytest tests/ -x -qAdd focused unit tests for new schema, services, Doctor checks, CLI flags, and workflow template behavior. Azure SDK calls must be mocked or avoided in tests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

