Visitar URL original
add AGENTS.md for AI-assisted development by deruyter92 · Pull Request #3483 · DeepLabCut/DeepLabCut · GitHub
Skip to content

add AGENTS.md for AI-assisted development - #3483

Merged
deruyter92 merged 5 commits into
devfrom
jaap/add-agents-md
Sep 8, 2026
Merged

deruyter92 merged 5 commits into
devfrom
jaap/add-agents-md

Conversation

@deruyter92

@deruyter92 deruyter92 commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Add a brief AGENTS.md file with domain-specific knowledge and developers instructions that match our guidelines.
This aligns AI-assisted development for DeepLabCut more with our requirements, and can help agents to better find what they need.

@deruyter92 deruyter92 self-assigned this Sep 7, 2026
@deruyter92 deruyter92 added the enhancement New feature or request label Sep 7, 2026
@deruyter92 deruyter92 added this to the Improve agentic interaction milestone Sep 7, 2026
@deruyter92
deruyter92 requested a review from C-Achard September 7, 2026 15:29
@deruyter92
deruyter92 marked this pull request as ready for review September 7, 2026 15:29

@C-Achard C-Achard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you agree, otherwise very nice!

Comment thread AGENTS.md Outdated
## DeepLabCut

DeepLabCut is a scientific Python toolbox for markerless pose estimation.
Prioritize correctness, preservation of user data, and public API compatibility.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention backwards compatibility and reproducibility here?

Comment thread AGENTS.md Outdated
- Treat aliases, deprecations, and default values as intentional user-facing
behavior. Prefer aliases and explicit deprecation warnings over silently
renaming or removing inputs.
- Prefer `pathlib.Path`; do not assume POSIX paths. Isolate and document

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would adding the absolute/resolve nuance for e.g. network drives be too specific?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #3348

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread AGENTS.md

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few things that could make our life easier (not sure if they would interfere):

  • Prefer issue-based bookkeeping for user-visible bugs, regressions, and behavior
    changes when practical. Link related issues from pull requests and preserve
    useful reproduction details, but do not require a new issue for trivial or
    self-contained changes.
  • Keep discussion focused on code, behavior, and reproducible conditions. Do
    not assign fault to users, contributors, or other individuals. Describe
    problems neutrally and propose constructive next steps.

Comment thread AGENTS.md Outdated
DeepLabCut is a scientific Python toolbox for markerless pose estimation.
Prioritize correctness, preservation of user data, and public API compatibility.

DeepLabCut is PyTorch-first. TensorFlow is being deprecated, but legacy support

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need an update (not sure we will remember) and models will waste time looking for TF at some point

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Outdated
- Preserve labels, scorer names, dataframe structure, coordinate conventions,
identities, and project metadata unless the task explicitly requires
changing them.
- Use repository tooling where available. Treat repository source and

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to test this in practice and refine based on how much context/usage it contributes to.

@deruyter92
deruyter92 force-pushed the jaap/add-llm-knowledge-index branch from 6270402 to cc4ae4a Compare September 8, 2026 11:32
deruyter92 and others added 5 commits September 8, 2026 15:52
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
@deruyter92
deruyter92 force-pushed the jaap/add-llm-knowledge-index branch from cc4ae4a to 3eaa5e1 Compare September 8, 2026 13:52
Base automatically changed from jaap/add-llm-knowledge-index to dev September 8, 2026 13:52
@deruyter92
deruyter92 merged commit 8af305a into dev Sep 8, 2026
7 of 16 checks passed
@deruyter92
deruyter92 deleted the jaap/add-agents-md branch September 8, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0.2 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants