Tagged articles

Session Lifecycle

2 articles · Page 1 of 1
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 7, 2026 · Artificial Intelligence

Agent Harness Evolves from Loop to Semantic Task Runtime: Six Core Abstractions

This weekly analysis reveals how agent harnesses are maturing from simple execution loops into full semantic task runtimes, detailing six core abstractions—Scope, Context, Capability, State, Execution, Policy—and a five-layer architecture that moves deterministic system concerns out of LLM prompts into runtime primitives.

Agent HarnessAgent RuntimeContext Security
0 likes · 29 min read
Agent Harness Evolves from Loop to Semantic Task Runtime: Six Core Abstractions
James' Growth Diary
James' Growth Diary
May 1, 2026 · Artificial Intelligence

QueryEngine: One Instance Equals One Session – Full Breakdown of Claude Code’s Session Lifecycle

The article dissects Claude Code’s QueryEngine class, explaining how each QueryEngine instance represents a single conversation thread, detailing its configuration, state management across turns, the submitMessage workflow, SDK vs REPL modes, persistence mechanisms, and the four key engineering decisions and technical debts.

AIClaudeQueryEngine
0 likes · 14 min read
QueryEngine: One Instance Equals One Session – Full Breakdown of Claude Code’s Session Lifecycle