Glean 拾遗
← All issues
#013 8/17–8/23 Published Aug 23

The Engineering Inflection Point for Agents

This week's fourteen picks share a starting point: agents are no longer just demos that happen to run—they are engineering artifacts landing in real codebases, real bills, and real team workflows. Two threads run through the collection. One is reshaping agent workflows from linear prompts into graphs: cutting fake edges that don't read upstream output, so parallelism becomes real. The other is building the missing infrastructure—memory that generalizes across sessions, prompt caches that stay warm, runtimes that can hibernate, and browsers and editors shared with humans. And when Claude opens hundreds of PRs a week, quality and judgment become the scarce resource: deterministic scanners, independent verifiers, and software engineering fundamentals matter more than ever. Every piece here, in its own way, asks the same question: how do we make agents reliable, controllable, and maintainable in real systems?

14 picks 4 sections ~3 hr
Section 01

Drawing the Workflow: From Linear Prompts to Composable Architectures

4 / 14
x.com · 10 min
01

Graph Engineering: from 1 prompt to 100 agents in one system删掉不存在的箭头:从 1 条 prompt 到 100 个 agent 的图工程八步

This article argues that the workflow itself is the engineering target: alongside prompt, context, harness, and loop engineering, there is a fifth layer the author calls graph engineering. The core observation is that default linear agent flows confuse sequence with dependency: most arrows do not read an upstream result, so cutting them is what enables real parallelism. A hundred agents, in this view, are not a hundred roles but one role instantiated a hundred times with its own slice of the problem. The eight-step method covers node contracts, four topologies (chain, fan, router, controlled cycle), when joins are worth waiting for, separating probabilistic classification from deterministic routing, placing independent verifier nodes, and keeping durable state. It explicitly warns that parallel breadth is expensive, citing Anthropic's multi-agent research system consuming roughly 15x the tokens of a normal chat. Useful for engineers moving from a single prompt to a multi-agent production system, though there is no runnable code.

x.com · 24 min
02

Graph Engineering explained: what it is, when to use, when not to图工程入门:为 AI 工作流建模,该并行时就并行

This article frames multi-agent workflow design as 'graph engineering': nodes do bounded jobs with defined contracts, edges carry real outputs, and a 'fake-edge test' exposes unnecessary waits in linear chains. The core pattern is the diamond—fan out parallel research, reduce with plain code, synthesize with one final agent—plus a strict rule that verifiers must run on fresh context, never the worker's chat. It includes copy-paste specs for Claude Code dynamic workflows (triggered by the word 'workflow') covering research, SEO drafting, go-to-market, refactoring, and discovery loops, along with three failure modes: context collapse, false independence, and silent node failure. It also cites honest economics: the Bun rewrite example ran ~50 workflows with up to 64 agents over 11 days, costing roughly $165,000 and requiring heavy human supervision. For engineers already using Claude Code and looking to move from sequential prompts to parallel orchestration, this is a useful but beginner-leaning guide.

github.com · 1 min
03

Cordis: A Meta-Framework for Spatiotemporal Composability基于时空可组合性的插件化元框架

Cordis is a meta-framework introducing spatiotemporal composability, a programming paradigm that enables systems to be composed uniformly across spatial (distributed) and temporal (event/state evolution) dimensions. Built on TypeScript with a plugin architecture, it supports modular expansion. The project is in active development with an unstable API, and the team provides a paper and a primer to clarify the philosophy. Useful for engineers interested in functional programming, modular architecture, and novel programming paradigms.

github.com · 2 min
04

DeepSeek Harness: A Plugin-Centric Runtime for AI AgentsDeepSeek 开源的 Agent 运行容器:一切皆插件

DeepSeek Harness (dsh) is an open-source agent harness from DeepSeek AI with a plugin-everything architecture powered by Cordis, a framework designed around spatiotemporal composability. It is currently in developer preview, so breaking changes are expected. You can run it from npm or from source, and it launches a local Web UI at 127.0.0.1:3080 by default. The project aims to be a modular runtime for building and operating AI agents, and is suited for engineers who want an extensible, self-hosted agent infrastructure rather than a closed product. Community support is available via GitHub Discussions and Discord, and plugins can use the 'dsh-plugin' topic for discoverability.

Section 02

Context Is the Bill: Memory, Caching, and Token Economics

3 / 14
x.com · 13 min
05

Your Agent Remembers Everything and Understands Nothing记忆不等于理解:Agent 缺少的跨会话归纳层

The article argues that agent memory systems today are stuck at the storage-and-recall stage: they return the right facts but miss the structural patterns spanning multiple conversations. Using a project-management assistant as a running example, it shows three engineers filing blockers that are individually accurate yet actually point to one shared root cause — a delayed auth-service refactor. Better retrieval, rerankers, or wider search scopes don’t surface that chain because the insight was never stored as a discrete piece of content. The proposed mechanism is Zep’s Observations: a deterministic algorithm first reduces every fact to a signature of two entities plus the relationship type, then builds an episode graph where conversations are nodes and shared signatures are edges, producing connected components that expose transitive dependency chains. An LLM then writes a name and summary, but grouping is never left to the model. No embeddings, no semantic similarity — pure graph topology. Relevant for engineers working on agent memory, knowledge graphs, and context engineering. Note: this is a sponsored, technically dense explainer for Zep.

claude.com · 13 min
06

Maximizing the value of your Claude Code sessions把 Claude Code 的每一分钱花在刀刃上:token、缓存与会话管理

Claude Code bills tokens in two phases: prefill reads the whole request, decode generates output one token at a time, which is why output costs about 5x input. Prompt caching is automatic: shared prefixes are served at 0.1x, but switching /model, /effort, or fast mode, or running /compact, invalidates the cache and forces a full-price re-prefill. Session cost is determined by how many tokens enter the context, how many turns they stay, and how many contexts run in parallel. The guide offers concrete tactics: use @-mentions to avoid Read calls, put quiet flags for daily commands into CLAUDE.md, spill outputs over 30,000 characters to a file, use /rewind instead of /compact to trim dead ends, and offload noisy jobs to subagents (optionally pinned to haiku). Cache expiry is one hour on subscription and five minutes on API keys, extendable via ENABLE_PROMPT_CACHING_1H=1. Practical for heavy Claude Code users.

www.infoq.cn · 6 min
07

Harness Swap Lifts Same Model from 46.7% to 66.7% Success同一模型换 Harness 成功率从 46.7% 升至 66.7%,缓存命中率 99.93% 的成本账

In a Composio benchmark, DeepSeek V4 Flash running across 8 agent harnesses passed 20 of 30 hard tasks with Pi (66.7%), while Claude Code, Codex, and Deep Agents each passed 16. Pi's cost per successful task was $0.028, about 1/7 of Claude Code's $0.195. Community numbers show Pi and DeepSeek hitting 99.93% cache hits, processing nearly 1B input tokens for just $2.65 instead of an estimated $132. The article explains DeepSeek's prefix cache: matches must start from the first token, so harnesses must keep the prompt head stable. Reasonix and pi-deepseek-cache demonstrate concrete tactics: frozen environment summaries at startup, append-only context, separate sessions for executor and planner, and hash-cached deterministic summaries, cutting input token prices by 98-99%. Useful for engineers choosing agent harnesses or optimizing LLM API spend.

Section 03

Where Agents Live: Runtimes, Browsers, and Shared Spaces

4 / 14
blog.cloudflare.com · 12 min
08

Agents need a computer, not a container: @cloudflare/computer不做容器化,给 Agent 一台会休眠的电脑:Cloudflare 开源 @cloudflare/computer

Cloudflare has released an early preview of @cloudflare/computer, an open-source agent runtime that pushes against the default assumption that every agent needs its own container. The package's core is a durable, SQLite-backed virtual filesystem called a workspace, which can be shared across execution backends behind one exec(string, options) interface. Two backends are included: an isolate-based backend that translates shell code into JavaScript via just-bash and runs it in a worker, and a container backend using a FUSE mount so file changes are synced back. The post includes code showing how to attach the workspace to an agent on a Durable Object with @cloudflare/think, and argues isolates are the only realistic path to scaling to billions of agents because they can spin up, tear down, and hibernate with state. Aimed at engineers building agent harnesses. The library is in early preview and ships without benchmarks.

github.com · 10 min
09

A shared browser for AI agents: parallel automation, shared logins为 AI 代理而生的可共享浏览器:并行自动化、共享你的登录态

ego lite is a macOS browser purpose-built for AI agents such as Claude Code and Codex. It lets agents run browser automation in parallel inside isolated Spaces while you continue browsing in the same browser — no tab wars, no interrupted flow. Unlike frameworks like Browser-use that drive a separate browser, ego lite is a full browser that can inherit your existing Chrome logins, cookies, extensions, and bookmarks in one click. It exposes browser capabilities as in-page JavaScript tools via the `ego-browser` skill, so agents can compose multi-step actions as single code executions instead of round-trip CLI calls. The README reports up to 2.5× faster task completion and fewer tokens than a CLI-based approach on complex tasks, with data kept locally by default. For engineers using agent CLIs today, ego lite offers a straightforward way to give agents safe, stateful access to the web while keeping your own session separate.

zed.dev · 7 min
10

Introducing Delta: a multiplayer environment for coding with agentsZed 推出 Delta:让 Agent 与开发者在同一对话中协作

Zed introduces Delta, a multiplayer environment for coding with agents, now in private beta. At its core is DeltaDB, which replicates both the conversation and the worktree in real time to every participant in a thread, while staying compatible with regular Git repositories. Every edit and conversation is captured between commits, so teammates who never open Delta still see a normal repo. Comments can anchor to any line of code and stay in place as the code evolves, connecting review to the conversation that produced it. The browser client is not a simplified port; it is the same Rust application compiled to WebAssembly and rendered through WebGL. Delta also integrates with third-party agent harnesses starting with Claude Code, syncing terminal sessions live into threads. The interface treats the conversation as an editable document, letting you place your cursor anywhere—on a diff line, a plan step, or a thinking block—and leave comments that the agent precisely understands. A product launch post with solid technical direction but limited hard data.

github.com · 40 min
11

An editorial diagram design system for AI coding agents为 AI 编程助手的编辑级图表设计系统

Diagram Design is a skill package for AI coding agents (Claude Code, Codex, Factory Droid, and Pi) that produces editorial-grade, self-contained HTML+SVG diagrams. It tackles the generic, cheap-looking output that agents usually generate by codifying a tight design system — one accent color, hairline borders, strict 4px geometry, no shadows, and three static variants across 38 diagram types. A 60-second onboarding flow pulls colors and fonts from your website into semantic tokens; import commands redraw draw.io or Mermaid sources with adjustable format, size, detail, and audience; accessibility checks (WCAG AA contrast, accessible SVG names) are enforced by default. For engineers and writers who want AI-generated diagrams that don't need manual cleanup.

Section 04

After Agents Touch the Codebase: Quality and Fundamentals

3 / 14
x.com · 2 min
12

Handing Claude daily app maintenance: 388 PRs in weeks让 Claude 接管应用日常维护:388 个 PR 的实测

The author has been experimenting with letting Claude take over day-to-day maintenance of their apps. A dedicated Slack channel runs Claude Tag daily across iOS, Android, Desktop, web, CLI, and Agent SDK: a crash fuzzer taps around in simulators to find and fix crashes, a dup unifier merges similar abstractions, a dead-code remover deletes unreachable code and logs suspects, and an abstraction police fixes leaky abstractions. In a few weeks the routines opened 388 PRs; 180 were merged after Claude Code Review plus human review. Claude usually gets PRs right first try, and when it doesn't, the author asks Claude to tune its own routines so they improve the next day. The post includes some actual prompts and a link to Claude Code routines for trying similar workflows.

github.com · 6 min
13

Deterministic React code scanner that installs as an agent skillAI agent 写的 React,它来体检:确定性扫描 + Agent 技能 + CI 门禁

React Doctor is a deterministic React code-quality scanner built for AI coding agents. It analyzes a codebase via CLI and flags issues across state/effects, performance, architecture, security, accessibility, and maintainability, including overly complex functions and repeated JSX that should be extracted. Instead of relying on LLM guesswork, it produces reproducible audit results. The findings can be installed as an agent skill for Claude Code, Cursor, Codex, OpenCode and similar tools, so the same rules guide future fixes. It also ships a GitHub Actions CI mode that only reports issues introduced by the current pull request, and can record Chrome performance traces for runtime hotspots. A good fit for teams whose React code is partially written by agents, or any engineering team that wants a low-noise React quality gate in CI.

rhonabwy.com · 6 min
14

Software Engineering Fundamentals Matter More Than Ever智能体时代,软件工程基本功的价值反而更高

In this reflective essay, a software engineer discusses impostor syndrome and why software engineering fundamentals still matter amid agentic AI hype. Agent harnesses have crossed the "can it be done" threshold, but producing software that is debuggable, maintainable, layered, and composable still requires careful human judgment. LLMs don't truly reason; they predict based on compressed human knowledge, so effective use depends on providing concise data at the right time and deterministic validation tools giving natural-language feedback. The author cites the Illusion of Thinking paper, JEPA/LeCun research, and Simon Willison's "lethal trifecta" about prompt injection and advice filtering. Aimed at engineers who want a grounded perspective on AI-assisted development.