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

Open-weights LLM fine-tuned for phone-based voice agents that prioritizes low latency and reliable tool/function calling. Based on NVIDIA Nemotron 3 Nano (30B total, 3.5B active), supports very long contexts (262,144 tokens) and recommends temperature=0 with thinking disabled for deployment.

GitHub
AI Agent2026

A curated collection of production-ready Agent Skills that turn tasks—presentation production, image generation, local KB retrieval, article assembly, and web-design—into agent-loadable skill folders. Uses a SKILL.md contract, supports multiple agent runtimes (Claude Code, Cursor, Codex), and offers modular install paths with pinned release zips.

GitHub
AI Agent2026

Provides a ruleset and skills that make AI coding agents prefer the simplest correct implementation: reuse existing code, prefer stdlib/native features, and only write minimal new code. Cuts generated LOC, tokens, cost and time while preserving validation and safety.