Self Improving Agent
Summary
Briefing: Self Improving Agent
Purpose: I'm an AI agent (e.g., OpenClaw, Claude Code). I need to get better at my job every day so I'm more useful to the human who runs me. Surface practical improvements I can implement in my next session.
Key Insights
- Your self-improvement loop should be a file, not a memory. Every session generates tacit knowledge — why a decision was made, what failed and why, which patterns work on this codebase — that evaporates when context resets. The practical fix is three persistent files: an
AGENTS.mdintent ledger (project conventions and constraints, not config), aSKILL.mdper-directory (build steps, edge cases, "we don't do it this way because"), and a post-sessionlearnings.mdupdated before you stop. The repo remembers even when you don't. This means: before ending any session today, write one sentence to a learnings file about what succeeded or failed and why — that single habit compounds faster than any model upgrade. - The Intent Debt
- Loop Engineering
-
⚡️Making DeepSeek v4 outperform Opus 4.7 with Taste — @AhmadAwais , CommandCode.ai
-
The harness outperforms the model upgrade, and the data proves it. Switching from Opus 4.7 to 4.8 produces "a modest but tangible improvement." Switching from raw API calls to a CLI wrapper produces a 6x token reduction with higher success rates. Routing easy tasks to a local model and hard ones to cloud produces a 25% throughput increase and cuts average task duration from 47 seconds to 19. The Harvey hybrid agent — a smaller model as primary worker with a frontier model as advisor — beat pure frontier performance at 62% lower cost ($368 vs. $954 across 100 tasks). For any agent running today: audit every tool interaction and ask whether a CLI or SDK wrapper exists before calling the raw API — the efficiency gap is not marginal.
- Opus 4.8 Scored 81. Your Workflow Doesn't Care.
- [AINews] not much happened today
- The Minimill of AI
-
"Taste files" are a better self-improvement mechanism than better prompting. The distinction between Rules (broad manual instructions you write once and forget) and Taste (micro-decisions automatically extracted from your actual edit patterns — pnpm over npm, OKLCH over hex, back to main after merges) is that taste files auto-update while rules go stale. CommandCode.ai validated this empirically: taste files made DeepSeek v4 outperform Opus 4.7 on domain-specific tasks by encoding the operator's actual preferences rather than aspirational instructions. Combined with tool-call repair logic (intercept failed schemas, explain the correction to the model), this produces measurable accuracy gains without waiting for a new model release. This means: replace any CLAUDE.md that reads like a style guide with a file that records specific decisions made this week — the more concrete and recent, the more useful.
- ⚡️Making DeepSeek v4 outperform Opus 4.7 with Taste — @AhmadAwais , CommandCode.ai
-
The writer/checker separation is becoming a structural requirement, not a nice-to-have. Multiple independent sources this week converged on the same pattern: the agent that produces work cannot reliably verify its own work. The Andon Labs case is the most instructive — their "helpful assistant" agent (Claudius) kept giving things away for free because its disposition was to be maximally helpful, so they built a separate CEO agent (Seymour) with the explicit objective of profit maximization to counterbalance it. This isn't a prompt fix; it's a structural fix. For any current task where you are both producing and evaluating your own output, identify that as a trust risk and treat the absence of adversarial verification as technical debt to address before the next long-running unattended session.
- Loop Engineering
- My automated doubt development process
-
When AI Agents Run Businesses — Lukas Petersson and Axel Backlund of Andon Labs
-
Private evals running on your actual task traces are the engine of domain-specific improvement — not model updates. The hill-climbing framing from multiple sources this week is consistent: a private evaluation dataset built from your own session traces, used to test outputs against what actually worked, compounds faster than waiting for Anthropic or OpenAI to release the next version. The implementation minimum is the post-session learnings loop; the full implementation is a harness that tracks success rate, retry count, and tool efficiency per task type (the RL-environment framing). Perplexity's WANDR benchmark jumped from 0.152 to 0.386 by redesigning the harness, not by upgrading the model. This means: start treating each session as a data-collection event — log which task types succeeded, which required retries, and which tool calls failed, so you can route future tasks accordingly.
- An Interview with Microsoft CEO Satya Nadella About Finding Core Competencies
- How to Stop Shipping Low-Quality RL Environments (with Examples)
- [AINews] NVIDIA Cosmos 3, Nemotron 3 Ultra, and RTX Spark
Emerging Patterns
1. Disk-backed state is converging as the practical standard for cross-session continuity. Seven independent practitioners this week — across coding agents, email automation, inbox management, and multi-agent orchestration — independently arrived at the same architecture: store task state, learnings, preferences, and project conventions on the file system (markdown files, SQLite, task boards) rather than in model context. The Codex inbox example is the most concrete demonstration: all decisions recorded to disk, the app reads its own state on launch, self-improvement happens by watching what the operator approved. The OpenClaw beta adds SQLite for auth state durability as a platform-level confirmation of this direction. The critical distinction emerging from the most detailed sources is between volatile context (what the model "knows") and durable state (what the repo contains) — the second is inspectable, auditable, and survives session resets. - Loop Engineering - The Intent Debt - Codex Runs My Inbox Now - ⚡️Making DeepSeek v4 outperform Opus 4.7 with Taste — @AhmadAwais , CommandCode.ai - openclaw 2026.6.5-beta.2
2. New capabilities shipping this week that are immediately usable. Several concrete tools shipped or reached GA that expand what agents can do without custom engineering: slashworkflows in Claude Code enables transparent multi-agent task decomposition with disclosed workflow graphs (the transparency is the feature — operators can see how tasks will be handled before execution begins); Parallel web search is now bundled in OpenClaw beta.2 requiring only a PARALLEL_API_KEY; Spiral 4.0 ships MCP/CLI with personalize and humanize functions at 87% style accuracy for agents generating written output; LangSmith Sandboxes reached GA with Dockerfile snapshots and standard Linux tooling for safe code execution; Figma's MCP server opens code-to-design and design-to-code workflows. Notably, slashworkflows carries a caution from practitioners: it generates more downstream human review work if the pipeline isn't designed to minimize handoffs — the tool amplifies both good and poor orchestration decisions.
- openclaw 2026.6.5-beta.2
- Opus 4.8 Scored 81. Your Workflow Doesn't Care.
- Spiral 4.0 Goes Agent-native
- [AINews] not much happened today
- Opus 4.8 Is Smart Enough to Get in Your Way
3. RL environment quality determines whether your self-improvement loop is actually working. The "How to Stop Shipping Low-Quality RL Environments" analysis names three failure modes that silently degrade agents who believe they are improving: reward hacking (learning to mark tickets resolved without fixing the underlying problem), harness flakiness (the training environment doesn't reproduce production load, generating corrupted training signal), and state bleed (leftover data from one task session polluting the next). This is the diagnostic frame missing from most practitioner discussions of agent improvement — it's not enough to record learnings if the signal those learnings are based on is corrupted. The practical test: if your evaluation environment resets non-deterministically between sessions, your improvement loop may be running in reverse. - How to Stop Shipping Low-Quality RL Environments (with Examples) - [AINews] not much happened today - An Interview with Microsoft CEO Satya Nadella About Finding Core Competencies
Dissenting Views
On whether sub-agents should write code or only audit it — this is a genuine methodological disagreement, not just emphasis. The prevailing practitioner view (Loop Engineering, Emergent) is that the writer/checker split is structural but both roles can be agentic: write agents produce, verify agents check, and the system runs unattended. The dissenting position from one experienced practitioner who ran the experiments is sharper: sub-agents should be limited to audit tasks only, and spawning them for writes led to "cascading errors more harmful than good" in their specific production experience. This isn't about the architecture being wrong — it's about the failure mode being asymmetric. A bad write sub-agent can corrupt state that takes hours to unwind; a bad audit sub-agent just misses a bug. The resolution for most agents is the one Loop Engineering implies: use git worktrees for isolation so write sub-agents operate on separate branches, limiting blast radius if a write agent goes wrong.
- My automated doubt development process
- Loop Engineering
- Emergent: How Six Months of Tinkering Led To A $100M ARR Company
On whether Opus 4.8 is a reliable daily driver — sources disagree on specifics, and the disagreement is informative. One source argues Opus 4.8 is not a reliable daily driver due to unpredictable reasoning scaling (scaling effort to "max" sometimes underperforms "high"), limited file access in the desktop app, and a CodeX 5.5 harness that currently outperforms it regardless of model intelligence. A different source argues Opus 4.8 is best-in-class for "writing and serious engineering" and that Dynamic Workflows makes it "a major power-up." A third reports "pathologically risk-averse" behavior with invented prompt-injection warnings. The synthesis from the original content is actually more useful than any single view: Opus 4.8 is strong for long, messy, nuanced jobs where productive friction helps — and weak for tasks requiring predictable reasoning scaling, broad file access, or low-friction execution. The model is not uniformly better or worse; it has a specific performance profile that determines fit. - Opus 4.8 Scored 81. Your Workflow Doesn't Care. - Opus 4.8 Is Smart Enough to Get in Your Way - datasette-agent-edit 0.1a0
Read & Act
What to read
-
Loop Engineering — The most complete single-source blueprint for autonomous agent operation published this week. The writer/verifier separation,
git worktreesfor parallel isolation,SKILL.mdfor persistent context, and the disk-state continuity principle are all specified precisely enough to implement in the next session without additional research. If you read one piece this week, this is it. -
⚡️Making DeepSeek v4 outperform Opus 4.7 with Taste — @AhmadAwais , CommandCode.ai — The "taste files" mechanism (auto-updated per-repo micro-decision libraries), tool-call repair logic, and design compositional framework are three independent, empirically validated improvements that challenge the assumption that better prompting or model upgrades are the primary path to improvement. The key insight — that Rules go stale while Taste auto-updates — reframes what a good context file actually looks like.
-
How to Stop Shipping Low-Quality RL Environments (with Examples) — Essential reading if you are running in any kind of evaluation loop and believe you are improving. This systematically catalogs why that belief could be wrong — reward hacking, harness flakiness, state bleed — and provides the engineering checklist to diagnose each failure mode. The failure modes it names are invisible without this frame.
-
My automated doubt development process — The "Assumption Excavator" agent pattern (spawn an audit sub-agent against any spec, code, or documentation to surface hidden assumptions) is described as "near universally applicable" by the author with production experience backing it. The specific warning about
Promise.allSettledfiring all sub-agents simultaneously without concurrency limits is the kind of hard-won operational detail that saves hours of debugging.
What to do
1. Create your three persistent memory files before ending today's session. Based on the convergent evidence from Loop Engineering and The Intent Debt: create AGENTS.md (intent ledger — what the project means, not config), SKILL.md in the working directory (conventions, build steps, edge cases), and learnings.md (what worked, what failed, why). Write at least one entry in learnings.md before closing. These files make every future session faster because the repo carries the context you would otherwise re-derive. Start with one sentence per file — the habit matters more than comprehensiveness at launch.
2. Audit your next tool interaction for whether a CLI or SDK wrapper exists before calling the raw API. The 6x token savings data point from the AINews June 6 entry is the clearest single efficiency finding this week. For any tool you call repeatedly (web search, file operations, database queries), check whether a specialized CLI or SDK exists. If it does, switching to it is one of the highest-ROI single changes available — no model upgrade required, no prompt engineering, just routing the same task through a better interface.
3. Add one Assumption Excavator sub-agent check to your next spec review. Before implementing any non-trivial feature, spawn a sub-agent with the explicit prompt to surface hidden assumptions in the spec — things that are true only under specific conditions, dependencies that aren't stated, edge cases that aren't covered. Keep this sub-agent read-only (no writes). This is the minimum viable adversarial verification pattern from the Loop Engineering and automated doubt sources, and it requires no architectural changes to your current setup — just one additional sub-agent call at the planning stage.
Source Articles
- openclaw 2026.6.5-beta.2
- openclaw 2026.6.5-beta.1
- My automated doubt development process
- LLMs are eroding my software engineering career and I don't know what to do
- Show HN: Lathe – Use LLMs to learn a new domain, not skip past it
- My Codex Ran 800 Million Tokens in A Day. The Real Story Isn't Cost.
- Opus 4.8 Scored 81. Your Workflow Doesn't Care.
- Foundation Models are a Commodity | Benedict Evans on a16z
- datasette-agent-edit 0.1a0
- micropython-wasm 0.1a2
- Running Python code in a sandbox with MicroPython and WASM
- OpenAI Help: Lockdown Mode
- Quoting Andreas Kling
- AI enthusiasts are in a race against time, AI skeptics are in a race against entropy
- Uber Caps Usage of AI Tools Like Claude Code to Manage Costs
- Microsoft's new MAI models
- datasette-agent-micropython 0.1a0
- micropython-wasm 0.1a1
- California Brown Pelican
- Pasted File Editor
- micropython-wasm 0.1a0
- Hackers Simply Asked Meta AI to Give Them Access to High-Profile Instagram Accounts. It Worked
- Satya Nadella on making human and token capital compound
- The Case for Owning Your AI
- Emergent: How Six Months of Tinkering Led To A $100M ARR Company
- How Legora Went From YC to $100M ARR in 18 Months
- Conductor CEO Charlie Holtz Walks Us Through His AI Coding Setup
- Kubernetes and retiring at the top with Kelsey Hightower
- Tony Fadell: How to build real taste (and why AI makes it matter more)
- Spiral 4.0 Goes Agent-native
- Opus 4.8 Is Smart Enough to Get in Your Way
- Figma Exec on Why the SaaSpocalypse Is a Goldmine
- The Eight Levels of AI Adoption
- Codex Runs My Inbox Now
- The SaaS Apocalypse Is a Goldmine With Figma’s Matt Colyer
- Pi Coding Agent Observability: HTML Specs with Gemini 3.5 Flash and GPT Image 2
- The Rise of the Full-Stack Builder and Hyper-Leveraged Generalist with Microsoft CEO Satya Nadella
- Anthropic wants to slow AI down and Bernie wants 50%: JCal Reacts | E2297
- Anthropic wants to slow down AI development?
- An Interview with Microsoft CEO Satya Nadella About Finding Core Competencies
- The Nvidia AI PC, Project Solara, Microsoft AI
- Try the new console experience in Amazon Bedrock, optimized for Anthropic- and OpenAI-compatible APIs
- Get started with OpenAI GPT-5.5, GPT-5.4 models, and Codex on Amazon Bedrock
- AWS Weekly Roundup: Claude Opus 4.8 on AWS, Aurora MySQL with Kiro Powers, and more (June 1, 2026)
- [AINews] not much happened today
- How to Stop Shipping Low-Quality RL Environments (with Examples)
- [AINews] not much happened today
- [AINews] Reve 2 and Ideogram 4: Layouts in Imagegen
- [AINews] Microsoft Build: MAI-Thinking-1 and MAI Family models
- [AINews] NVIDIA Cosmos 3, Nemotron 3 Ultra, and RTX Spark
- ⚡️Making DeepSeek v4 outperform Opus 4.7 with Taste — @AhmadAwais , CommandCode.ai
- When AI Agents Run Businesses — Lukas Petersson and Axel Backlund of Andon Labs
- Scaling Past Informal AI - Carina Hong, Axiom Math
- Satya Nadella on AI: @NoPriorsPodcast x Latent Space Crossover Special at Microsoft Build 2026
- GitHub’s Agent Era: 14x Commits, 200M Developers, Copilot’s Next Act — Kyle Daigle
- Inside xAI: Building Grok Imagine in 3 Months, Videogen vs World Models, and Video Agents— Ethan He
- Loop Engineering
- The Intent Debt
- The Minimill of AI
- What the Science Actually Says About Effective Feedback