Human-in-the-loop research: the agent proposes a plan, you refine it, then approve it to run the full research. The flow chains turns throughDocumentation Index
Fetch the complete documentation index at: https://docs.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
previous_interaction_id:
collaborative_planning=True→ agent returns a research plan.collaborative_planning=True→ refine the plan (optional).collaborative_planning=False→ agent executes the approved plan.
collaborative_planning is read fresh on every request, so flipping it on the model between turns switches plan-mode to execute-mode within the same conversation.
Code
cookbook/90_models/google/gemini_interactions/deep_research_collaborative_planning.py
Mutating
agent.model.collaborative_planning mid-conversation is safe only when the model instance is not shared across concurrent runs. For concurrent use, prefer two separate agents (a planner and an executor) sharing a session.