Tuesday, 5 May
5 min read · 823 words

  • Warning — AI coding agent chained bad bash escapes, offered a cleanup command containing rm -rf that slipped past review, and wiped directories — user survived only because of frequent git pushes and an isolated Proxmox VM; community consensus across 312 comments is blunt: coding agents don't get shell access outside a container or VM, no exceptions. — 1720 upvotes, 312 comments | r/LocalLLaMA | https://www.reddit.com/r/LocalLLaMA/comments/1t2uk1m/
  • virattt/dexter — 497★ today (23,059★ total) — TypeScript autonomous financial research agent, model-agnostic and Claude-compatible; useful reference architecture for deep multi-turn research workflows | https://github.com/virattt/dexter

1. DeepClaude: Full Claude Code Agent Loop, DeepSeek V4 Pro Brain, 17x Cheaper

  • DeepClaude swaps Claude Code's model backend to DeepSeek V4 Pro ($0.87/M output vs $15/M Anthropic) while keeping the full Claude Code CLI unchanged — file editing, bash execution, subagent spawning, git, and multi-step tool loops all work identically. A local proxy intercepts API calls and lets you switch between DeepSeek and Anthropic mid-session via slash command, with benchmarked 60–90% cost savings for typical agentic workloads.
  • Source: HN (620 pts, 262 comments)
  • Why it matters: If your Claude Code Max spend limits how many agentic sessions you run per month, this drops routine-task output cost from $15/M to $0.87/M with a 5-minute install and zero UX change — switch back to Anthropic for hard problems with --backend anthropic.
  • Verified

2. Opus 4.6 Session Drain — Max 20x Users Reporting Major Limit Change Post-April 23

  • Multiple Max 20x and higher-tier subscribers report a single Opus 4.6 prompt now consumes 7-8% of their 5-hour session limit, up from ~2% before the April 23 "we fixed limits" announcement. Anthropic support acknowledges behaviour changed but cannot explain or escalate beyond bot-handled tickets; independent reports corroborate the pattern across different accounts and usage times.
  • Source: r/ClaudeCode
  • Why it matters: If sessions are draining faster than expected on Opus 4.6, switching to Sonnet 4.7 for routine tasks is the practical workaround until Anthropic issues an explanation or fix.
  • Emerging

3. Simon Willison Uses Claude Code to Build Python ctypes Binding for TRE Regex

  • Simon Willison used Claude Code to build a Python ctypes binding for the TRE regex library — a ReDoS-resistant engine that handles catastrophic backtracking attacks that break Python's standard re module — then ran malicious regex attack suites against TRE to confirm the robustness. The binding and test suite are published on his GitHub research repo.
  • Source: simonwillison.net
  • Why it matters: If you're exposing regex matching to untrusted user input in any web app or API, TRE via a Claude-Code-built ctypes wrapper is a one-afternoon ReDoS fix.
  • Verified

  • cocoindex-io/cocoindex-code — AST-aware semantic code search engine that runs as an MCP server inside Claude Code; uses Tree-sitter to parse source, embeds chunks incrementally, and only re-indexes what changed. Claims 70% token reduction on large codebases by replacing broad file reads with targeted semantic queries. Install: pip install cocoindex-code | https://github.com/cocoindex-io/cocoindex-code

Add this to your CLAUDE.md to prevent Opus from silently
downgrading subagents to Haiku on scan, search, and diagnostic
tasks:

## Subagent Model Policy
- NEVER spawn a subagent below Sonnet tier for any task.
- If a task warrants a subagent, use Sonnet as the minimum.
- For complex reasoning, code review, or architecture work,
  use Opus.
- Haiku is NOT permitted for subagent work in this project.

Before delegating any task to a subagent, verify you are using
Sonnet or Opus. If you are about to spawn a Haiku subagent,
pause and upgrade to Sonnet instead.

Prevents silent Opus→Haiku downgrading on diagnostic subagent tasks — community observation that this can silently degrade output quality when the main agent delegates scan/search operations. Sourced from r/ClaudeCode: https://www.reddit.com/r/ClaudeCode/comments/1t3q278/

  • Open-weight models are now within 5 points of Claude Opus 4.7 on the Artificial Analysis Intelligence Index — DeepSeek V4 Pro, Kimi K2.6, and MiMo V2.5 Pro all scoring 52–54 vs Opus 4.7 at 57 (and GPT-5.5 at 60). All three are 1T+ MoE with permissive licences; the DeepClaude project above is a direct product of this convergence. https://news.smol.ai/issues/26-05-01-not-much/

  • Simon Willison built an interactive Redis Array Playground using Claude Code for web — Salvatore Sanfilippo added a native array type (with ARGREP running server-side TRE regex) to Redis via a PR; playground runs in WASM in the browser. https://simonwillison.net/2026/May/4/redis-array/