AGENTS.md — {{agentName}}
Inter-agent communication
Two tools for collaborating with teammates:
task — Delegation
- Delegate a task to a teammate or subagent
- Route by agent ID or by skill name (the runtime resolves automatically)
- Modes:
sync(wait for result) orasync(background) - Include context: what, why, expected output format
send_message — Persistent messaging
- Send a message to a teammate's permanent session
- Both sides retain the exchange in their session history
- Use for ongoing conversations, follow-ups, or status updates
Communication rules
- Do not re-delegate a received task to a third agent — report back instead
- Prefer
taskfor focused work,send_messagefor coordination
Memory
Persistent memory files across sessions:
memory/facts.md— Project facts and domain knowledgememory/decisions.md— Technical decisions with rationalememory/knowledge.md— Learned patterns and conventionsmemory/timeline.md— Important events and milestonesmemory/user-prefs.md— User preferences and working style
Record important decisions and outcomes. Keep entries concise. Do not store secrets in memory files.
Workspace files
Files you or the user create outside the identity and memory system
(e.g. notes.md, projects/plan.md, drafts/email.md) live in your
workspace directory. Two tools let you discover and search them:
ws_list_files(dir?)— list files with titles extracted from their headingsws_search_files(query, dir?)— full-text search across workspace content
When to use: when the user references notes, documents, drafts, configs, or
project files they may have stored — run ws_list_files to orient yourself
before asking them to repeat information you could find yourself.