Glean 拾遗
← All issues
#014 8/24–8/30 Published Aug 31

From Autonomous to Accountable: The Pragmatic Turn in Agent Engineering

This week's selections converge on a turning point: AI agents are moving from demos to deliverables, and the question is shifting from what they can do to how to make them reliable. Our industry report charts the retreat from full autonomy to human-in-the-loop harnesses; context engineering pieces treat memory as queryable infrastructure, and an AGENTS.md guide reminds us that instruction budgets are as finite as tokens. When the same process writes both implementation and tests, a green pipeline only proves agreement, not correctness — so manual cases, mutation testing, and vision-based lookup move to the fore as new trust baselines. Meanwhile, GPT-Live rebuilds interaction with full-duplex voice, while SQLite and PostgreSQL evangelists each argue for pushing a single component to its limits. Consolidation and restraint run as a quiet counterpoint throughout the week.

18 picks 5 sections ~4 hr
Section 01

From Autonomy Hype to Human-in-the-Loop Consensus

3 / 18
www.latent.space · 19 min
01

At AIEWF, AI Engineer Trends Shift from Autonomy to Harnessed LoopsAIEWF 2026 侧记:从自主狂热到在环工程,智能体开始上岗

At the 2026 AI Engineer World’s Fair, the conversation has moved from autonomous agents to harnesses, loops, and skills. Lilian Weng's new essay shifts from planning/memory/tool-use anatomy to harness engineering around the model. AutoGPT-era autonomy is out; engineers like OpenClaw's Peter Steinberger put themselves in an outer loop while agents run the inner loop. Enterprises are adopting forward deployed engineers who integrate long-running agents and software factories (Cursor, Warp, Vercel) with strict ROI targets. Google DeepMind's Philipp Schmid says "agents are just files" and Markdown-based skills extend capabilities; Matt Pocock warns of "skills hell" and advises fewer, smaller skills. Skepticism remains: HumanLayer's Dex Horthy says hype outruns discipline, and Geoffrey Huntley worries that "factories failed, loops failed" will be next year's refrain. A useful orientation for engineers tracking AI development tools and agentic workflows.

x.com · 2 min
02

Claude Opus 5 First Look: Hard to Love, Better from ScratchClaude Opus 5 初评:重新构建技能后表现更佳

A week-long evaluation of Claude Opus 5 across coding, writing, knowledge work, and an internal agent reveals a model that clashes with existing skills and plugins like Compound Engineering, often stopping early or ignoring instructions. However, starting from scratch yields dramatically better results, and lower thinking levels reduce annoying behaviors. Opus 5 sits awkwardly between Fable and GPT-5.6, borrowing the former's personality without its top-end ability. This makes it a promising option for users willing to rebuild workflows, or as a fallback when Fable tokens run out.

mp.weixin.qq.com · 9 min
03

AI Amplifies Work, Not Reduces It: 2026 Workplace ReportAI 提效神话 vs 员工更累:一份职场遥测报告的硬核拆解

This in-depth read of ActivTrak's 2026 State of the Workplace report uses over 443 million hours of behavioral data from thousands of organizations to challenge the popular 'AI reduces workload' narrative. AI adoption has hit 80%, companies deploy 7 tools on average, yet daily focused time dropped from 14:23 to 13:07 and focus efficiency hit a three-year low of 60%. The report frames AI as an amplifier, not a replacer: email time rose 104%, instant messaging 145%, and collaboration 34%. Only 3% of employees reach the 7-10% AI usage 'productivity sweet spot.' Meanwhile, the dominant employee risk has shifted from burnout to disengagement, costing mid-cap firms $228-355M annually. For managers assessing AI ROI, AI product leads, and engineers interested in organizational effectiveness.

Section 02

Context as Infrastructure: Memory, Files, and Skills

5 / 18
www.aihero.dev · 8 min
04

A Complete Guide to AGENTS.mdAGENTS.md 瘦身指南:用渐进披露守住指令预算

AGENTS.md is a Markdown file checked into Git that customizes how AI coding agents behave in a repo. Because the entire file is injected into context on every request, it consumes a finite instruction budget: frontier LLMs reliably follow roughly 150–200 instructions, while smaller models handle fewer. Oversized files also go stale quickly; outdated file paths and architecture notes actively poison agent context, unlike a human who can ignore bad docs. The guide argues for a minimal root AGENTS.md containing only a one-sentence project description, the package manager when it isn't npm, and any non-standard build/typecheck commands. Everything else should be progressively disclosed through linked markdown files, nested AGENTS.md files for monorepo packages, or agent skills. It also covers symlinking AGENTS.md to CLAUDE.md for Claude Code, and includes a copy-paste prompt to refactor an existing bloated file. Practical for teams running agentic coding tools who want to reduce token waste and document drift.

github.com · 19 min
05

Self-evolving context database for AI agents为 AI Agent 设计的自演进上下文数据库

OpenViking is an open-source context database for AI agents. It unifies agent memory, knowledge resources, and skills into a single viking:// virtual file system, letting agents locate context with familiar file commands instead of querying an opaque vector store. Content is indexed into three tiers — L0 abstract, L1 overview, L2 details — at write time and loaded on demand, which cuts token usage and latency. Retrieval is directory-recursive: vector search first lands on the best-matching directory, then drills down layer by layer so results keep their surrounding context. Every query leaves an observable browsing trajectory that can be traced when answers go wrong. The project ships a CLI, server, benchmark harness, and integrations for Claude Code, Codex, Cursor, MCP clients, and more. It is well suited for engineers building agent memory, agentic RAG, or context engineering pipelines.

github.com · 62 min
06

Long-term memory for coding agents with cross-vendor handoffs让编码 Agent 共享长期记忆,跨工具无缝交接工作流

ai-memory is a Rust-based long-term memory service for coding agents, addressing context loss when switching between tools like Claude Code, Codex, or Command Code. It uses MCP configuration and lifecycle hooks to automatically capture prompts, tool calls, and session boundaries, then compiles a concise summary and handoff at session end. The wiki is stored as plain Markdown in a git repo—grep-able, Obsidian-friendly, and backup-friendly—with no vector database to maintain. Retrieval blends FTS5, entity-match RRF, and graph-neighbor ranking, with optional embeddings and an optional LLM for consolidation. Best for engineers juggling multiple AI coding agents who want project memory to persist across sessions and vendors.

x.com · 1 min
07

Anthropic's internal ELI5 skill: explain like I'm five, with HTML visualsAnthropic 内部高频使用的 ELI5 命令:先画大图,再讲细节

Anthropic has been using an ELI5 Skill internally, triggered by /eli5 <topic>. It instructs the agent to explain a subject to a complete newcomer: avoid jargon, favor one big picture over dense text, and render complex ideas through an HTML artifact. The real payoff, as the post argues, is not simpler wording but forced knowledge restructuring — the agent must establish a mental model before diving into details and edge cases. Borrowed from Reddit's 'explain like I'm five' culture, this is a reusable output constraint for agent prompts, independent of any specific model, and easy to replicate in tools that support slash commands or custom skills. Useful for engineers tuning Claude or other agent output formats.

github.com · 15 min
08

An agent skill that turns codebases into verifiable, interactive system maps可验证的架构图生成 Agent Skill,把代码库变成交互式系统地图

Archify is an agent skill that turns a system description or an entire repository into an interactive technical map. It supports five diagram types—architecture, workflow, sequence, data-flow, and lifecycle—and produces a single self-contained HTML file with built-in navigation, dark/light themes, finite motion, and exports to PNG, SVG, WebM, and 1200×630 share cards. Under the hood it uses a typed JSON IR as the source of truth, runs validation before delivery, and returns machine-readable repair receipts on failure. It also supports Before/Delta/After snapshots for architecture review. Designed for Raven, Cursor, Claude Code, Codex CLI, and OpenCode, it suits engineers and doc writers who want verifiable, shareable visualizations without hand-drawing.

Section 03

Building the Loop: Workflows, Conversation, and Environments

4 / 18
claude.com · 31 min
09

Claude Code for Startups: 5 Rules from AI-Native TeamsClaude Code 初创实战:五条规则与 AI 原生研发闭环

Anthropic interviewed a dozen fast-growing startups to extract five rules for using Claude Code: everyone ships; automate the tedium; trust but verify; build for rebuilding; and prototype, dogfood, productionize. Specific claims include Clay automating 100% of bug triage, ClickHouse's flaky-test agents becoming its second- and third-most-active repo contributors, and Cainex running a human-in-the-loop medical coding pipeline that revises agent instructions instead of patching individual examples. The guide bundles concrete mechanisms—MCP connectors, CLAUDE.md, skills, loops, hooks, dynamic workflows, and git worktrees—into a copy-paste checklist. It is vendor-produced and promotional in tone, but the operational details are unusually specific. Useful for startup CTOs and platform teams adopting agentic coding.

openai.com · 16 min
10

Inside GPT-Live: full-duplex voice, one-round-trip startup拆解 GPT-Live:流式全双工语音架构,把启动从六次往返压到一次

GPT-Live replaces turn-based voice architecture with streaming full-duplex inference: the turn-taking detector is removed from the audio path, the voice model listens and speaks simultaneously, and deeper reasoning or tool use is delegated asynchronously to GPT-5.5. Engineering details include a Go rewrite of the media front end that brings p95 frame delivery in line with the old p50; stateful handovers between model instances that turn context compaction into controlled failover without interrupting the media stream; and WARP, a set of backward-compatible WebRTC optimizations that cut session startup from six network round trips to one, plus Instant Connect to move SDP signaling off the critical path so a single UDP packet starts a session. Silent shadow testing showed CPU-side stream processing saturates before GPU inference under real traffic, shifting capacity planning from throughput to concurrent sessions. For engineers building realtime voice or agent interaction systems.

github.com · 2 min
11

A beautiful, modern & opinionated Linux distribution by DHH一个由 DHH 出品的“有主见”的现代 Linux 发行版

Omarchy is a Linux desktop distribution led by DHH, designed to deliver a beautiful and coherent out-of-the-box experience. It bundles a curated set of software—terminal, Neovim, AI tooling, TUIs, GUIs, browsers, and more—alongside unified hotkeys, clipboard history, reminders, and system utilities. Instead of a neutral base, it encodes the author's opinions directly into defaults, reducing configuration burden while keeping a consistent workflow. The repository version-controls install scripts, dotfiles, themes, and an extensive manual mirrored to a docs site, making the entire setup reproducible and auditable. It also includes agent-related files (AGENTS.md, skills) for AI coding assistants. Ideal for developers and creators who want a polished, opinionated environment without assembling one from scratch.

xiangyangqiaomu.feishu.cn · 2 min
12

Omarchy Field Guide: From macOS to Arch + Hyprland in 12 ChaptersOmarchy 全景实操手册:从 macOS 迁移到 Arch + Hyprland 的完整路径

Omarchy is a Linux distribution launched in 2025 by DHH, creator of Ruby on Rails and co-founder of 37signals. Built on Arch Linux with the Hyprland tiling window manager, it applies an omakase philosophy: the team makes software and interaction choices for you, so you get a polished, keyboard-driven workstation out of the box. This piece is a hands-on manual with twelve chapters and two appendices, covering installation, first-run interaction, hotkeys, configuration files, software setup, screen capture, the built-in AI agent, system maintenance, migration from macOS or Windows, advanced customization, and troubleshooting. It includes a CLI cheat sheet, FAQ, Chinese IME and proxy setup guidance. Written as an enthusiast walkthrough rather than a critical review, it mostly omits trade-offs and failure reports. Useful as a practical reference for developers who want Arch-like power without the usual setup grind.

Section 04

When Tests and Code Share a Source: Building Independent Baselines

4 / 18
testomat.io · 14 min
13

Manual Test Cases Are the Baseline AI Agents NeedAgent 既写代码又改测试,手工用例是最后的独立基线

When the same process generates both implementation and its tests, a green pipeline only proves code and tests agree, not that the behavior is correct. The article argues for manual test cases as an independent behavioral baseline in agentic development. Written in Markdown or Gherkin, they capture business scenarios, preconditions, expected outcomes, and boundary conditions without depending on test framework internals. The proposed workflow splits responsibilities: a development agent implements, a dedicated automation agent turns approved cases into E2E checks, and a requirement-review agent blocks any test change not backed by an approved requirement. This helps avoid an implement-fail-fix-regression loop and keeps intent intact through rewrites and framework migrations. Useful for QA engineers, engineering managers, and anyone building agent-driven delivery pipelines. Note: the piece is published by Testomat.io, a test management vendor, and closes with a product pitch.

kodare.net · 7 min
14

Mutmut: A Python Mutation Testing SystemMutmut:用变异测试揪出 100% 覆盖率背后的盲区

The author, building Python libraries, realized that even 100% code coverage can miss boundary conditions and error handling. Mutation testing works by making tiny changes to source code (e.g., turning < into <=) and then running the test suite; if the tests still pass, the mutation is considered unkilled, revealing weaknesses. After evaluating Mutpy and Cosmic Ray, the author decided to write Mutmut from scratch. A key design choice was using the baron library (later replaced by parso) to enable lossless AST round-tripping, so mutations can be written back to disk without disturbing formatting. The author attempted to intercept module loading via import hooks to mutate in memory and parallelize, but abandoned this after discovering that the Python import system forces reimplementing every loader. The disk-based serial approach was kept for its simplicity and flexibility across test runners. Applied to tri.declarative and tri.struct, Mutmut found untested edge cases and dead code even with 100% coverage, genuinely improving the test suites. This is a first-hand, honest account for engineers interested in Python testing tooling.

shopify.engineering · 8 min
15

How Shopify pushed mobile E2E test stability to 98%用视觉定位替换 Test ID:Shopify 将移动 E2E 稳定性拉到 98%

Shopify's largest mobile app had to pull E2E tests out of blocking CI because flakiness was rejecting more good PRs than bad. The root cause, they found, was the framework, not the tests: Appium's low-level flexibility let tests tap elements before the screen rendered, and shortcuts like pause(1000) accumulated. Instead of patching Appium, they built an opinionated wrapper. The API is builder-style: every step (tap, wait, type) must declare the expected resulting state, escape hatches are prefixed UNSAFE_ to discourage misuse, and the small grammar is predictable enough for AI agents to write correct tests without codebase knowledge. Element lookup is done via computer vision—PaddleOCR for text and OpenCV for matching Polaris SVG icons in grayscale across sizes; Test IDs become an opt-in fallback. Each run produces an annotated video, so most failures self-diagnose in seconds. Test stability went from 50% to 98% a few weeks after promoting the new framework to blocking CI. The post closes with transferable principles: limit the API to core commands, require assertions with validated before/after states, and enforce a multi-run stability gate before admitting tests to the suite. Useful for mobile engineers and test-infra teams fighting flaky UIs.

testcontainers.com · 6 min
16

Testcontainers: real-service integration testing, no in-memory fakesTestcontainers 入门:用真实服务容器解决集成测试的环境与数据污染

An official introductory guide to Testcontainers. It opens with familiar integration-testing pain points: pre-provisioned environments are hard to maintain, and parallel build pipelines can pollute each other's test data. It argues that substituting mocks or in-memory databases (e.g. H2 for Postgres) hides production-specific features and delays feedback—an SQL query may pass on H2 only to fail against Postgres after deployment. The solution is Testcontainers, a library that starts real services in Docker containers before tests, wires the application to those containers, and removes them afterward. Infrastructure lives next to test code, tests can be launched from an IDE, and each pipeline gets an isolated set of services. Supported languages include Java, .NET, Go, NodeJS, Rust, and Python. The vendor perspective is clear, and there are no code samples or benchmarks; useful as a first read rather than a deep evaluation.

Section 05

Infrastructure Subtraction: How Far Can One Component Go?

2 / 18
www.raphaelbauer.com · 13 min
17

PostgreSQL for Everything一个数据库打天下?PostgreSQL 取代搜索、队列、图库的实践与边界

Drawing on years as CTO and interim manager, the author argues that PostgreSQL can replace most of your stack: full-text search, document storage, queues, time-series, vector search, cache, even graph databases. He cites Contentful, Instacart and The Guardian as real-world examples, then walks through the mechanisms: tsvector/tsquery, GIN indexes, SELECT ... SKIP LOCKED for queues, UNLOGGED tables for cache-like speed, TimescaleDB for analytics, pgvector for AI retrieval, and Apache AGE for openCypher. The post is a practical starting point for engineers who want to simplify operations, but it is an opinion essay rather than a benchmark-driven study, so the performance claims need validation before adoption.

joecode.com · 16 min
18

SQLite for Everything: Cut Your Stack Down to One FileSQLite 万能论:它凭什么把搜索、队列、缓存和向量库都收进一个文件

In this reply to 'PostgreSQL for Everything', the author makes the case that SQLite can collapse an entire stack into one file and one function call. It covers reusable patterns: using BEGIN IMMEDIATE plus RETURNING to turn a table into a durable work queue; indexing JSON via generated columns so schemaless writes get indexed reads; treating FTS5 as a same-transaction search index; and using sqlite-vec so embeddings, documents, metadata and full-text live in the same file, making hybrid search a JOIN. The article cites SQLite's own '35% Faster Than The Filesystem' benchmark, and claims warm-cache point lookups land around 1 microsecond versus roughly 100 microseconds for a localhost Redis GET. It also names real limits: a single writer, serialized concurrent consumers, and the need to move to PostgreSQL or specialized systems once you hit them. Useful for backend and infrastructure engineers who want concrete arguments for cutting components out of their stack before adding new ones.