MCPcopy Create free account
hub / github.com/google/adk-python / LoopAgentState

Class LoopAgentState

src/google/adk/agents/loop_agent.py:43–50  ·  view source on GitHub ↗

State for LoopAgent.

Source from the content-addressed store, hash-verified

41
42@experimental(FeatureName.AGENT_STATE)
43class LoopAgentState(BaseAgentState):
44 """State for LoopAgent."""
45
46 current_sub_agent: str = ''
47 """The name of the current sub-agent to run in the loop."""
48
49 times_looped: int = 0
50 """The number of times the loop agent has looped."""
51
52
53@deprecated(

Callers 3

test_resume_asyncFunction · 0.90
test_auto_to_loopFunction · 0.90
_run_async_implMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_resume_asyncFunction · 0.72
test_auto_to_loopFunction · 0.72