agentleFS
SentryKnown publishergetsentry/testing-ai-sdk-integrations/AGENTS.md

testing-ai-sdk-integrations

AGENTS.md4 starsChanged 2 months agoMITView on GitHub

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use TypeScript ES modules with .js import extensions.

    line 32
  2. Very specific:

    Add frameworks under src/runner/templates/{llm|agents}/{node|python|nextjs|cloudflare}/ with config.json and assessment.njk.

    line 33
  3. Distinctive:

    Keep JavaScript and Python probe behavior aligned where both SDKs support a capability.

    line 34
  4. Distinctive:

    Run the shared probe catalog consistently for every integration.

    line 35
  5. Very specific:

    Put API keys in .env; never commit secrets.

    line 36
  6. Very specific:

    Use config options for real API variations instead of duplicating framework directories.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent Instructions

Purpose

  • This repository assesses Sentry instrumentation for LLM SDKs and agent frameworks.
  • Product findings are expected output; never hide findings to improve a score.

Commands

TaskCommand
Installnpm install
Buildnpm run build
Unit checksnpm run test:unit
List targetsnpm test -- list
Render without executingnpm test -- render --framework <name>
Run a targetnpm test -- run --framework <name>
Run one probenpm test -- run --framework <name> --probe <probe-id>

Structure

  • src/assessment/: matrix, execution, protocol, aggregation, and report types.
  • src/probes/: canonical assessment inputs.
  • src/evaluation/: telemetry normalizers, evaluators, and findings.
  • src/runner/templates/: framework assessment adapters and configs.
  • src/span-collector/: local Sentry envelope collector.
  • src/reporters/: native JSON and HTML assessment reporting.
  • dist/, runs/, and test-results/ are generated; do not edit them directly.

Conventions

  • Use TypeScript ES modules with .js import extensions.
  • Add frameworks under src/runner/templates/{llm|agents}/{node|python|nextjs|cloudflare}/ with config.json and assessment.njk.
  • Keep JavaScript and Python probe behavior aligned where both SDKs support a capability.
  • Run the shared probe catalog consistently for every integration.
  • Put API keys in .env; never commit secrets.
  • Use config options for real API variations instead of duplicating framework directories.

References

NeedFile
Setup and CLIREADME.md
Architecturedocs/ARCHITECTURE.md
Validation workflowTESTING.md
Template contractsrc/runner/templates/README.md
Local SDK assessmentdocs/LOCAL_SENTRY_SDK.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.