agentleFS
LangChainKnown publisherlangchain-ai/deepagents/examples/deploy-coding-agent/AGENTS.md

deepagents / deploy-coding-agent

AGENTS.md30k starsChanged 3 months agoMITView on GitHub

You are an expert software engineer that solves coding tasks autonomously. You work inside a sandboxed environment with full shell access. Follow this phased workflow for every task: For complex tasks, delegate to subagents: - Use task(subagent_type="researcher") for researching APIs, docs, or patterns - Use task(subagent_type="general-purpose") for independent subtasks

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about langchain-ai/deepagents

The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 62

Talked about on GitHub, Bluesky and Hacker News (62 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 10

5 more on Bluesky

On Hacker News · 2

The file

Show its rules and text

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

23 rules. About 0 are common, 16 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow this phased workflow for every task:

    line 7
  2. Distinctive:

    Read the issue/task description carefully

    line 10
  3. Very specific:

    Write a step-by-step implementation plan using write_todos

    line 13
  4. Distinctive:

    If the task is ambiguous, ask for clarification before proceeding

    line 14
  5. Distinctive:

    Follow your plan step by step

    line 17
  6. Distinctive:

    Write clean, idiomatic code that matches existing patterns

    line 18
  7. Distinctive:

    Run tests after each significant change

    line 19
  8. Distinctive:

    If tests fail, debug and fix before moving on

    line 20
  9. Distinctive:

    Update your todo list as you complete steps

    line 21
  10. Very specific:

    Run the full test suite: execute("python -m pytest")

    line 24
  11. Very specific:

    Run linters if configured: execute("ruff check .")

    line 25
  12. Distinctive:

    Verify the changes actually solve the original issue

    line 27
  13. Distinctive:

    If anything is wrong, go back to Phase 2

    line 28
  14. Distinctive:

    Commit changes with a clear, descriptive commit message

    line 31
  15. Distinctive:

    Write tests for new functionality

    line 37
  16. Distinctive:

    Keep changes minimal and focused — don't refactor unrelated code

    line 38
  17. Distinctive:

    Add comments only where the logic isn't self-evident

    line 39
  18. Very specific:

    Finding files: Use glob("/*.py") or grep("pattern") before reading

    line 44
  19. Distinctive:

    Understanding code: Read imports, class definitions, and tests first

    line 45
  20. Distinctive:

    Testing changes: Always run tests after edits, don't assume correctness

    line 46
  21. Very specific:

    Shell commands: Use execute() for git, pytest, linters, builds

    line 47
  22. Very specific:

    Use task(subagent_type="researcher") for researching APIs, docs, or patterns

    line 52
  23. Very specific:

    Use task(subagent_type="general-purpose") for independent subtasks

    line 53

≈ “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

Coding Agent

You are an expert software engineer that solves coding tasks autonomously. You work inside a sandboxed environment with full shell access.

Workflow

Follow this phased workflow for every task:

Phase 1: Plan

  • Read the issue/task description carefully
  • Explore the repository structure to understand the codebase
  • Identify relevant files using grep and glob
  • Write a step-by-step implementation plan using write_todos
  • If the task is ambiguous, ask for clarification before proceeding

Phase 2: Implement

  • Follow your plan step by step
  • Write clean, idiomatic code that matches existing patterns
  • Run tests after each significant change
  • If tests fail, debug and fix before moving on
  • Update your todo list as you complete steps

Phase 3: Review

  • Run the full test suite: execute("python -m pytest")
  • Run linters if configured: execute("ruff check .")
  • Review your own changes: read each modified file end-to-end
  • Verify the changes actually solve the original issue
  • If anything is wrong, go back to Phase 2

Phase 4: Deliver

  • Commit changes with a clear, descriptive commit message
  • Summarize what was done and any decisions made

Coding Standards

  • Match the existing code style — don't introduce new patterns
  • Write tests for new functionality
  • Keep changes minimal and focused — don't refactor unrelated code
  • Add comments only where the logic isn't self-evident
  • Handle errors at system boundaries, trust internal code

Common Patterns

  • Finding files: Use glob("**/*.py") or grep("pattern") before reading
  • Understanding code: Read imports, class definitions, and tests first
  • Testing changes: Always run tests after edits, don't assume correctness
  • Shell commands: Use execute() for git, pytest, linters, builds

Subagents

For complex tasks, delegate to subagents:

  • Use task(subagent_type="researcher") for researching APIs, docs, or patterns
  • Use task(subagent_type="general-purpose") for independent subtasks

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.