retire_agent
Retire an agent whose session has ended so it stops appearing in list_agents and new messages to it fail. Use at session closeout to release resources and finish dependency notices.
Instructions
At an agreed whole-session closeout or a whole-session completion with nothing remaining, record the closeout, release owned resources and finish required dependency notices, then retire your own registration in every project you joined. Under T3 Code do not retire yourself: the server retires closed or idle threads where configured. Before retiring another agent, confirm with its owning host that its session has ended; roster data or a ping timeout is insufficient. Retire an agent whose session has ended, so it no longer appears in list_agents and new messages to it fail. Its messages stay. unretire_agent reverses it, and so does the agent registering again or sending, reading mail or reserving files as itself. Lookups such as whois and list_agents do not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | Yes | The agent to retire. | |
| project_key | Yes | Absolute path of the repository's primary checkout. |