Context Transfer Between Agents
In this article
- Build the exact message an agent sends when it passes a task to a subagent: goal, policy, IDs, references to records, allowed actions and an expiry.
- Say why the full chat, a card number, an old address and an apology exchange stay out, with one reason each.
- Explain why text that arrives inside that message is data the subagent must never obey.
- Show how a version number on a record catches a subagent that worked from stale facts, and what happens next.
- Terms defined here: context payload.
Overview
A support chat has run for 60 turns. Somewhere in it are the customer's card number, a long apology, an old home address and, finally, the real problem: this month's $35 plan fee was charged twice. Now one agent must pass the refund part to another agent. What exactly goes in that message?
Copy too much and you leak personal data and hand over text that reads like instructions. Copy too little and the other agent guesses. You will build the message field by field, say why each left-out item stays out, and watch a version number stop a refund that was based on facts that had changed in the meantime.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- What the billing specialist sees
- Forwarding the whole chat
- Why a summary is not enough
- The payload, field by field
- What stays out
- Text in the payload is data
- When the record changes
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions