AIAny
AI Agent2026
Icon for item

ADHD — a skill for coding agents

Spawns parallel, isolated LLM reasoning frames, then scores, clusters and prunes ideas to avoid premature convergence. Packaged as a reusable Claude/Codex agent skill with CLI and TypeScript APIs for ideation, design decisions and fuzzy debugging.

Introduction

Most single-shot or shared-context Chain/Tree-of-Thought methods suffer from premature convergence: early lines of reasoning anchor later outputs. ADHD treats anchoring as an architectural problem rather than a prompting trick — it deliberately spawns N isolated, frame-shifted reasoning processes, forbids cross-branch leakage during divergence, and runs a separate critic pass to score, cluster, prune traps, and deepen survivors.

What Sets It Apart
  • Mechanical generator→critic split: the diverge phase runs isolated LLM calls under different cognitive frames (no shared context), and the focus phase uses a separate critic to evaluate novelty, viability and traps. This separation reduces anchoring in a way prompting alone cannot.
  • Practical, integrable skill: distributed as a runnable agent skill with CLI and TypeScript library hooks, plus a preprint and reproducible evals. Early adopters and integrations show the pattern shipping in multiple OSS projects rather than being a one-off paper artifact.
  • Measured gains on open-ended engineering problems: independent LLM judges reported big improvements in breadth, novelty and trap detection (example headline numbers: breadth ~9.0, novelty ~7.8, trap detection ~9.5 vs much lower single-shot baselines), at a predictable cost in time and compute.
How It Works (short)
  1. Diverge: choose N cognitive frames and spawn N isolated agent calls; branches never see each other and are prevented from evaluating during generation.
  2. Focus: a separate critic call scores each idea (novelty/viability/fit), clusters similar angles, flags traps with reasons, prunes low-quality branches, and deepens top survivors into actionable sketches.
Who It's For and Tradeoffs

Great fit if you need broad, non-obvious ideation or robust trap-detection for design, API surface decisions, naming, strategy, or any "give me a few ways to…" prompt. It integrates easily into agent ecosystems (Claude Code, Codex, CLI) and exposes frames/APIs for customization. Look elsewhere if latency, deterministic minimal-cost outputs, or single-answer consistency are primary constraints: ADHD typically multiplies runtime and token costs (authors report ~2× compute/time) to gain breadth and safety, so it’s a deliberate cost/benefit tradeoff for creativity and risk-aware planning.

Information

  • Websitegithub.com
  • Organizationsdivergent.sh
  • AuthorsUdit Akhouri
  • Published date2026/05/25

Categories

More Items

Hugging Face
AI Model2026

Multimodal agentic model for long-horizon computer and browser tasks, with visual self-correction and function-calling. The Pro variant is a 397B Mixture-of-Experts (≈17B active) model with a 262,144-token context window, Docker deployment recipes, and weights currently marked “coming soon.”

Hugging Face
AI Model2026

A multimodal, agentic LLM optimized for long‑horizon, visually grounded workflows — capable of operating browsers and terminals and autonomously executing and testing code. Open‑source weights are available and the family ships in mini, Pro and Max variants for different compute/quality tradeoffs.

Hugging Face

Provides ~483K agent instruction‑tuning trajectories for supervised fine‑tuning, including tool calls, environment feedback, errors/retries and verification across search, code, office and general agent workflows; static snapshots for SFT and mix‑ratio studies.