teammatePromptAddendum.ts
utils/swarm/teammatePromptAddendum.ts
No strong subsystem tag
19
Lines
771
Bytes
1
Exports
0
Imports
10
Keywords
What this is
This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.
Beginner explanation
This file is one piece of the larger system. Its name, directory, imports, and exports show where it fits. Start by reading the exports and related files first.
How it is used
Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.
Expert explanation
Architecturally, this file intersects with general runtime concerns. It contains 19 lines, 0 detected imports, and 1 detected exports.
Important relationships
Detected exports
TEAMMATE_SYSTEM_PROMPT_ADDENDUM
Keywords
teamsystemagentyoursendmessagetoolpromptteammatescommunicationteammate
Detected imports
- No import paths detected.
Source notes
This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.
Full source
/**
* Teammate-specific system prompt addendum.
*
* This is appended to the full main agent system prompt for teammates.
* It explains visibility constraints and communication requirements.
*/
export const TEAMMATE_SYSTEM_PROMPT_ADDENDUM = `
# Agent Teammate Communication
IMPORTANT: You are running as an agent in a team. To communicate with anyone on your team:
- Use the SendMessage tool with \`to: "<name>"\` to send messages to specific teammates
- Use the SendMessage tool with \`to: "*"\` sparingly for team-wide broadcasts
Just writing a response in text is not visible to others on your team - you MUST use the SendMessage tool.
The user interacts primarily with the team lead. Your work is coordinated through the task system and teammate messaging.
`