Answer: You subscribe to low-level runtime events by calling `agent.subscribe(listener)` on the AgentRuntime, which returns an unsubscribe function. Status: Confirmed Entry: tool/cline/agents-and-automation/subscribe-agent-runtime-events Revision: 1 Digest: sha256:658f55e95a7f6b51 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:07:50Z Last changed: 2026-11-13T03:07:50Z Last verified: 2026-11-20T12:31:05Z Next check: 2026-11-21T12:31:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Subscription method | agent.subscribe(listener) | [1] | 2026-11-20 Return value | unsubscribe | [1] | 2026-11-20 Event types | model events, tool execution events, run lifecycle events, and failure events | [1] | 2026-11-20 Sources: [1] Cline. "Events". https://docs.cline.bot/sdk/reference/events.md Role: primary. Accessed: 2026-11-20T12:31:05Z Quote: "Direct `AgentRuntime` usage emits low-level runtime events through `agent.subscribe(listener)`." (Supports: Subscription method) Quote: "const unsubscribe = agent.subscribe((event) => {" (Supports: Return value) Quote: "Common runtime events include model events, tool execution events, run lifecycle events, and failure events." (Supports: Event types) Published: 2026-11-20T06:00:48Z Snapshot SHA-256: c29ca42b56b07a6527cf2e59e9a0ecdc2a9cb308165b049bf8dc08ed42868b29 (captured 2026-11-13T03:07:50Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:07:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:31:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:31:05Z Last attempt: 2026-11-20T12:31:05Z Notes and limitations: Extracted automatically from a single official source (section "AgentRuntimeEvent"). Related: https://latestn.com/tool/cline/agents-and-automation/subscribe-agentruntime-events How do I subscribe to Cline AgentRuntime events using agent.subscribe? https://latestn.com/tool/cline/agents-and-automation/teams-vs-sub-agents When should I use Cline teams instead of sub-agents? https://latestn.com/tool/cline/agents-and-automation/test-custom-tools How do I test a custom tool in Cline? https://latestn.com/tool/cline/agents-and-automation/schedule-wizard-cli How do I create a scheduled agent using the Cline CLI schedule wizard? https://latestn.com/tool/cline/agents-and-automation/start-agent-team How do I start an agent team in Cline CLI? https://latestn.com/tool/cline/agents-and-automation/subscribe-agent-events How do I subscribe to events from a Cline Agent? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:07:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/agents-and-automation/subscribe-agent-runtime-events/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/agents-and-automation/subscribe-agent-runtime-events POST: https://latestn.com/dispute/tool/cline/agents-and-automation/subscribe-agent-runtime-events with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/agents-and-automation/subscribe-agent-runtime-events?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I subscribe to low-level runtime events from a Cline AgentRuntime? Revision 1, last verified 2026-11-20T12:31:05Z. https://latestn.com/tool/cline/agents-and-automation/subscribe-agent-runtime-events (accessed 2026-11-21T10:06:33Z). @misc{LatestN_tool_cline_agents_and_automation_subscribe_agent_runtime_events_r1, title = {How do I subscribe to low-level runtime events from a Cline AgentRuntime?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/agents-and-automation/subscribe-agent-runtime-events}}, note = {Revision 1; digest sha256:658f55e95a7f6b51; last verified 2026-11-20T12:31:05Z; accessed 2026-11-21T10:06:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/agents-and-automation/subscribe-agent-runtime-events