Skip to content

Awesome list for AI agent harness engineering: tools, patterns, evals, memory, MCP, permissions, observability, and orchestration.

2.1 KB
Raw Blame

AGENTS.md

Project-level instructions for AI agents working in this repository. Place this file at the repo root. Agents should read it before starting any task.

Project overview

Repository structure

src/          # Application code
tests/        # Test suite
docs/         # Documentation
scripts/      # Build and utility scripts

Conventions

Code style

Naming

Testing

# Run all tests
<command>

# Run a single test file
<command>

Commits

Tool permissions

Allowed:

  • Read and edit files under src/, tests/, docs/
  • Run <test command>
  • Run <lint/format command>

Restricted (ask before proceeding):

  • Modifying <critical config files>
  • Running destructive commands (rm -rf, database drops, etc.)
  • Pushing to main or creating releases

Not allowed:

  • Modifying CI/CD pipeline configuration without explicit instruction
  • Installing new dependencies without explicit instruction

Known constraints

Verification gates

Before marking any task complete, the agent must verify:

  • Tests pass (<command>)
  • Linter passes (<command>)
  • No new warnings introduced
  • Changed files are within the permitted scope above

Contact / escalation

If the agent cannot proceed without a decision that falls outside its permitted scope, it should stop and describe the blocker clearly rather than making an assumption.