AGENTS.md
dify-agent/AGENTS.mdAGENTS.md
Quality
58/100
Scores the file, not the repository.Length
168 words
3 headings · 0 code blocksRepository
151k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# Agent Guide23Read surrounding docstrings and non-obvious comments before changing behavior. They are local contracts; update them only when their owned behavior changes, and keep them aligned with the current code. Read `docs/dify-agent/index.md` when changing the public runtime contract.45## Commands67Run package commands from `dify-agent/`:89- Lint: `make check`10- Format and fix lint: `make fix`11- Type check: `make typecheck`12- Tests: `make test`1314Use the package's `uv` environment and Pydantic v2 APIs. Inspect current dependency source or official documentation before integrating, implementing, or mocking an API whose runtime contract is not established locally.1516## Tests And Boundaries1718- Keep local tests under `tests/local/` and mirror the `src/` package structure.19- Test stable behavior and real dependency boundaries. Do not use local mocks to claim real network, framework wiring, serialization, or third-party runtime coverage.20- Keep tests, public docs, and local contracts aligned with behavior changes.21- Preserve the existing runtime and layer owners; do not add generic utilities or compatibility boundaries to bypass them.22
Also in langgenius/dify
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| langgenius/difyAGENTS.md · 151k | AGENTS.md | no sections | 40/100 | today | |
| langgenius/difyapi/AGENTS.md · 151k | AGENTS.md | apiagent-behaviour | 54/100 | 3 days ago | |
| langgenius/difycli/AGENTS.md · 151k | AGENTS.md | testtypestesting-strategy | 58/100 | 3 days ago | |
| langgenius/difycli/src/commands/AGENTS.md · 151k | AGENTS.md | testlint-formatagent-behaviour | 74/100 | 3 days ago | |
| langgenius/difye2e/AGENTS.md · 151k | AGENTS.md | setupstyletesting-strategyapi | 72/100 | 3 days ago | |
| langgenius/difye2e/features/agent-v2/AGENTS.md · 151k | AGENTS.md | setupbuildtesting-strategyapi+1 | 58/100 | 3 days ago | |
| langgenius/difypackages/dify-ui/AGENTS.md · 151k | AGENTS.md | stylesecurityuido-not | 50/100 | 3 days ago | |
| langgenius/difyweb/AGENTS.md · 151k | AGENTS.md | teststyletesting-strategyagent-behaviour | 47/100 | 3 days ago | |
| langgenius/difyweb/features/agent-v2/AGENTS.md · 151k | AGENTS.md | agent-behaviour | 16/100 | 3 days ago |
Diff against AGENTS.md Diff against api/AGENTS.md Diff against cli/AGENTS.md Diff against cli/src/commands/AGENTS.md Diff against e2e/AGENTS.md Diff against e2e/features/agent-v2/AGENTS.md Diff against packages/dify-ui/AGENTS.md Diff against web/AGENTS.md Diff against web/features/agent-v2/AGENTS.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| OnlyTerp/prompt-cache-skillsAGENTS.md · 112 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| vllm-project/vllmAGENTS.md · 88k | AGENTS.md | setuptestlint-formatstyle+5 | 100/100 | 3 days ago |
