A mid-market marketing agency built a single agent to research target companies for outbound campaigns. On its own, it did the job. It pulled company data, flagged recent news, identified decision-makers, and wrapped it all into a tight one-page brief.
Problems started when they chained it to a copywriter agent. The brief still made sense to a human reader, but the freshly recruited agent saw something else entirely. Just a list of points, all sitting at the same level.
In one case, the researcher agent noted that a company had hired a VP from Amazon and that its stock was down 15%. The copywriter agent treated them as equally important and used both. The email missed the mark.
Input to copywriter
Prospect: Sarah Chen, VP Operations, Example Corp News: Hired from Amazon Supply Chain (Oct 15) News: Stock down 15% YTD
Resulting email “Hi Sarah, I saw you recently joined Example Corp as VP of Operations. Congratulations on the new role. I also noticed the company stock is down 15% year to date. I’d love to touch base about how we can help you save money during this difficult time…”
The stock price shows up simply because it’s in the brief. Cost savings becomes the default angle because nobody framed a better one. Meanwhile the real signal, Sarah’s Amazon background, gets acknowledged politely but not used strategically.
Most teams treat agent chains like relay races. Pass the baton, job’s done. But knowledge work doesn’t work that way. Three things disappear at the handoff: the reasoning behind decisions, the confidence level of each claim, and the constraints that prevent obvious mistakes.
The fix is a Context Envelope.
Don’t hand off raw text and hope the next step reads it the way you do. Hand off a structured Context Envelope instead. A simple packet that separates facts from intent, and spells out what matters.
Input to copywriter
Facts: Sarah Chen, VP Ops. Hired from Amazon. Stock down 15%. Reasoning: New hire from Amazon Supply Chain. That’s the hook. Stock price is background noise. Constraints: Focus on new VP transition and early wins. Do not mention stock price or cost savings.
Resulting email “Hi Sarah, Saw you joined Example Corp from Amazon Supply Chain.You’re probably evaluating operations and looking for quick wins in your first few months. We’ve helped new VPs in similar transitions get early momentum without overhauling existing systems.Worth a conversation?”
1. The Context Envelope Spec
Layer
Purpose
Signal Passed
Facts
Raw information found
Hired VP Ops from Amazon. Stock down 15%.
Reasoning
Why it matters
Amazon hire is the hook. Stock price is noise.
Constraints
How to frame the work
Focus on new VP transition. Avoid stock price and cost messaging.
Confidence
Strength of the signal
‘High (2+ sources) vs Low (Inference).’
The context envelope scales with what you find. If the researcher spots an interview where Sarah discusses her goals, that enriches Reasoning. But even with minimal context, the ‘avoid’ list stops obvious missteps.
2. The Encoder Prompt (Researcher Agent)
You are a Research Agent. Your goal is not to write a report, but to prepare structured input for a Copywriter Agent.
Output format: You must respond with a structured output containing these four fields:
– output: the raw facts found
– reasoning: why those facts matter
– constraints: framing rules and exclusions
– confidence: strength of each signal, based on sources
3. The Decoder Prompt (Copywriter Agent)
In a real system, the agents pass this information directly to each other. Here’s what the handoff package includes for the Sarah Chen example:
You are a Copywriter Agent. You receive structured input from a Research Agent.
Input format:
– facts: raw information found
– reasoning: why those facts matter
– constraints: framing rules and what to avoid
– confidence: reliability of each signal
Task: Write a brief, personalised outreach email based on the reasoning and facts. Follow all constraints strictly. Prioritise high-confidence signals over low-confidence inferences.
Do not mention low-confidence signals unless explicitly directed.
4. The Context Envelope in Practice
In a real system, the agents pass this information directly to each other:
{
“output”: {
“prospect_name”: “Sarah Chen”,
“recent_events”: […]
},
“reasoning”: {
“primary_hook”: “The hire from Amazon Supply Chain suggests a strategic shift.”,
“secondary_points”: “Stock price is incidental.”
},
“constraints”: {
“call_to_action”: “Focus on transition period and early wins.”,
A single agent can do its job perfectly well. The real gains come when you start linking them together. That only works if context survives each step. Facts on their own aren’t enough. The reasoning behind decisions, the confidence level, and the constraints all need to move with them.
Set the Context Envelope before you chain agents together. If the second doesn’t understand why the first made its calls, the chain fails right where it joins.