Google has open-sourced Harness², a dual-layer recursive architecture designed to overcome the lack of ground truth and overfitting issues in open-world agents. By nesting task-level and harnessing-level loops, it enables LLMs to dynamically optimize their own prompts, toolchains, and code, enhancing generalization and execution efficiency. Benchmarks show that GLM-5 equipped with this framework significantly outperforms native Gemini 3.5 Flash on office tasks.
Termsslug: agent-scaffolding
Agent Scaffolding
智能体脚手架
External control logic, prompts, or tools surrounding an LLM to enhance planning, memory, and execution without changing weights
Curated Intelligence
量子位官网T2·Agents
85 pts
Apple Machine Learning ResearchT1·Agents
78 pts
To address the loss of critical intermediate results caused by fixed-threshold compaction in long agent trajectories, this paper proposes the Self-Compacting framework. By pairing a compaction tool with a lightweight rubric, it enables models to autonomously decide when to summarize context based on sub-task resolution or trajectory convergence, rather than relying on external triggers. Experiments across six benchmarks and seven models show significant cost reduction per question, revealing a meta-cognitive gap where unprompted models cannot detect context rot, which scaffolds can bridge without training.