MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / agent_started

Method agent_started

src/workflow/progress.py:95–110  ·  view source on GitHub ↗
(
        self,
        index: int,
        label: str,
        phase: Optional[str],
        key: str = "",
        agent_type: str = "",
    )

Source from the content-addressed store, hash-verified

93 self._changed()
94
95 def agent_started(
96 self,
97 index: int,
98 label: str,
99 phase: Optional[str],
100 key: str = "",
101 agent_type: str = "",
102 ) -> AgentRecord:
103 phase = phase or self._current_phase
104 record = AgentRecord(
105 index=index, label=label, phase=phase, key=key,
106 agent_type=agent_type, started_at=time.monotonic(),
107 )
108 self._phase_for(phase).agents.append(record)
109 self._changed()
110 return record
111
112 def agent_finished(
113 self,

Callers 5

test_phase_done_countFunction · 0.95
agentMethod · 0.80

Calls 4

_phase_forMethod · 0.95
_changedMethod · 0.95
AgentRecordClass · 0.85
appendMethod · 0.45