root agent
parallel subagents
parallel sub-subagents
Task
Plan a 3-day Kyoto trip in early April for a family. We want cherry blossoms, one quiet temple, one kid-friendly activity, and dinner near Gion. Avoid overly crowded spots.
1 Action
<think>Split into seasonal research and itinerary logistics, then synthesize. </think>
await asyncio.gather(
launch_subagent(
goal="Find cherry-blossom..."
"less-crowded viewing..."
"early April..."
),
launch_subagent(
goal="Find Quiet temple + kid"
" activity +... near Gion",
))
Task
Find cherry blossom timing & less-crowded viewing spots in Kyoto... Return 2-3 recs.
2 Action
<think>I have found... </think>
finish("Philosopher’s path in morning; Kyoto Botanical Gardens; Kamo River...")
Task
Find Quiet temple + kid activity + dinner near...
1 Action
<think>I will split this into... </think>
await asyncio.gather(
launch_subagent(
goal="One quiet Kyoto..."
),
launch_subagent(
goal="One kid-friendly..."
),
search_web("dinner near Gion"
"family friendly")
)
Task
One quiet Kyoto temple, early April. Best option.
1 Action
<think>Prefer a serene garden temple with a calmer atmosphere. </think>
await search_web("quiet temple Kyoto less crowded early April")
[{ "url": "insidekyoto.com/shoren-in",
"title": "Shōren-in — quiet Higashiyama gem",
"snip": "...Tendai temple, moss garden,
giant camphor ...fewer visitors..."}, ...]
<think>Respond with...top result. </think>
finish("Shoren-in Temple")
Task
One kid-friendly Kyoto activity, early April.
<think>...railway seems suitable. </think>
finish("Kyoto Railway Museum")
<think>I have enough to respond. </think>
finish("Shoren-in, Kyoto Railway..., dinner...")
[ "Philosopher's path early morning;
Kyoto Botanical ...",
"Shōren-In Temple;
Kyoto Railway Museum, ..."]
2 Action
<think>I will synthesize... </think>
finish("3-day Kyoto plan... Philosopher’s Path, ... Shoren-in, ...")