A Complete Guide To AGENTS.md
AGENTS.md
agents.mdWe conclude with key principles for writing high-quality tools we’ve identified along the way:
- Choosing the right tools to implement (and not to implement)
- Namespacing tools to define clear boundaries in functionality
- Returning meaningful context from tools back to agents
- Optimizing tool responses for token efficiency
- Prompt-engineering tool
anthropic.com • Writing Effective Tools for Agents — With Agents
Rather than one agent attempting to maintain state across an entire project, specialized sub-agents can handle focused tasks with clean context windows. The main agent coordinates with a high-level plan while subagents perform deep technical work or use tools to find relevant information. Each subagent might explore extensively, using tens of... See more