Smarter agent delegation through two-parameter context control
Has full conversation history — knows what the user asked, what was discussed, and what decisions were made
Starts with a blank slate — receives only the instruction string, with no surrounding conversation context
Every delegation required manually re-explaining the conversation in the instruction string
Child automatically receives the last 5 conversation turns — no manual re-explanation needed
| none | Clean slate — no parent context passed |
| recent | Last N turns (default: 5). Most common choice. |
| all | Full conversation history |
| conversation | User/assistant text only — no tool calls leak |
| agents | + delegate results included |
| full | + all tool results included |
Mix and match: recent depth with agents scope gives recent context including prior delegate results
context_depth and context_scope from call parametersModule-level implementation — uses existing ContextManager API, no kernel changes required
recent with 5 turns means context flows automatically without extra configurationmax_turns config (default: 10) prevents runaway context from overwhelming child agentsPR #44 merged January 30, 2026 → promoted to production February 1, 2026
Primary contributor: Brian Krabach (~97% of delegate-related commits)
Data as of: February 20, 2026
Feature status: Active (in production bundle via behaviors/agents.yaml)
Repository: microsoft/amplifier-foundation
Research performed:
git log --all --oneline --grep="delegate" (~35 commits found)git show b73813b --stat (PR #44: 11 files, +1,718/−95 lines)wc -l modules/tool-delegate/__init__.py (1,109 lines)grep -n "context_depth\|context_scope" __init__.pygit log --format="%an" --grep="delegate" (Brian Krabach: 34/35 commits)grep "tool-delegate" behaviors/agents.yaml (confirmed active in bundle)grep -n "context\|parent" amplifier_core/session.py (ContextManager API)Gaps: No instruction-length reduction metrics measured. No performance benchmarks available. Impact of shorter delegation calls is qualitative, not quantified.
Primary contributor: Brian Krabach (~97% of delegate-related commits)
Context flows automatically. Just delegate.
microsoft/amplifier-foundation