Agent Amplifier is the runtime amplification layer for AI coding agents — the missing half of the hook layer. Modern coding agents (Claude Code, Cursor, Copilot, LangGraph, CrewAI, AgentScope, LangChain) all expose lifecycle hooks. The community filled them with guardrails — products whose job is to BLOCK dangerous actions. That work is necessary, but it's only half the job. Hooks can also amplify: dynamically shape WHAT the agent does next based on prompt complexity, drift signals, convergence, and budget. Agent Amplifier fills that empty slot with five deterministic Python hooks — effort router (5-tier complexity classifier), goal anchor (anti-drift re-injection), convergence detector (LTI stability), persona escalation (audit pressure per iteration), and token budget controller. Zero extra LLM calls, zero network, fail-open, AGPL-3.0. Dogfooded across 1.71 billion tokens of real coding sessions before v1.0.0 shipped on 2026-05-13. 1,741 tests, 100% branch coverage, mypy --strict.
Deterministic complexity classifier routes each user prompt to one of five effort tiers (minimal, low, medium, high, ultra). Shapes phase budget + model tier suggestion without an extra LLM call.
Re-injects the original goal every N tool calls to prevent multi-turn drift. Solves the 486M-token rabbit-hole problem at the hook layer.
Detects when agent output is substantially similar to the prior iteration. Stops the loop. Saves tokens.
Each iteration ramps audit pressure: senior dev → adversarial reviewer → red-team auditor. Catches what single-pass review misses.
Cost-bounded amplification. Set a session budget; AA shapes phase prompts to stay within it without truncating mid-task.
Claude Code, Cursor, GitHub Copilot, LangGraph, CrewAI, AgentScope, LangChain. One install command per host: agent-amp install <host>.
Built-in integration with SuperLocalMemory. recall() before each prompt, remember() at session end. Local-first, zero cloud.
Live telemetry: token bar, classification distribution, persona escalation timeline. agent-amp dashboard to launch.