Varun Pratap Bhardwaj
runtime· Part of Qualixar

Agent Amplifier

Runtime Amplification Layer for AI Coding Agents

Five deterministic Claude Code hooks that route effort by prompt complexity, re-inject the original goal, stop a loop when output stops changing and keep a token budget. Plain Python with no extra LLM calls on the Claude Code path and no network. It fails open: if the amplifier crashes, your agent runs as if it were not installed.

The Problem

Coding agents share the same four failure modes

After about 50 tool calls an agent can forget the original ask and start working on the latest sub-task. The loop keeps improving until you stop it or the token budget runs out. Agent Amplifier sits between you and the agent and corrects each of these with deterministic code.

4
failure modes: wrong effort, goal drift, no convergence signal, memory amnesia
How It Works

Key Capabilities

01

Effort router

A five-tier complexity classifier picks the thinking budget for each prompt without an extra LLM call.

02

Goal anchor

Re-injects your original request every N tool calls so a long session does not drift.

03

Convergence detection

Stops the loop when output stabilizes, so it does not keep rewriting finished work.

04

Persona escalation

Each iteration raises audit pressure from senior reviewer through security and principal to a distinguished AI-safety reviewer. Custom personas are supported.

05

Token budget controller

Sets a hard token ceiling per turn and finalizes gracefully as the budget approaches.

06

Seven host adapters

Claude Code, Cursor, GitHub Copilot, LangGraph, CrewAI, AgentScope and LangChain share one kernel.

Agent Amplifier v1.0: 78-second demo →

Install

Install

$ pip install agent-amplifier
$ agent-amp install claude-code
$ agent-amp doctor
Evidence
1,972
Tests
100%
Branch coverage on files touched
7
Host adapters
1.71B
Tokens of real sessions dogfooded

Telemetry in the README comes from the maintainer's own Claude Code sessions, not a synthetic benchmark: 3 days, 18 sessions, 152 turns classified. Of 44 heavy turns, 32 stabilized within 4 iterations. No accuracy or cost-saving benchmark is claimed on this page.

From the Qualixar Suite