Skip to main content

Self-healing debug agent powered by Claude Code CLI

Project description

DaveLoop: Autonomous Debugging Agent

DaveLoop is a Claude CLI-based debugging tool that iteratively solves complex bugs through multiple attempts. Rather than relying on single-shot fixes, it uses persistent context via the --continue flag to build solutions incrementally.

Installation

From Source (Current Method)

git clone https://github.com/davebruzil/DaveLoop.git
cd DaveLoop
pip install -e .

Via pip (Coming Soon)

Once published to PyPI, you'll be able to install with:

pip install daveloop

Core Functionality

The tool operates through a systematic loop: users provide bug descriptions, Claude analyzes and attempts fixes, and if unsuccessful, the process repeats with accumulated context. The agent signals completion with [DAVELOOP:RESOLVED] or exits when blocked.

Key Capabilities

4-Level Reasoning Protocol: The system structures debugging through KNOWN facts, UNKNOWN gaps, HYPOTHESIS formulation, and concrete NEXT ACTIONs. This prevents random modifications and enforces methodical problem-solving.

Persistent Memory: Unlike isolated attempts, each iteration builds on previous findings through Claude's context continuation feature.

Autonomous Operation: The agent works without requiring manual permission prompts between iterations, enabling hands-free debugging sessions.

Exit Signals: Clear indicators show whether bugs are resolved, the agent is blocked, or iteration limits have been reached.

Usage

Basic invocation requires a bug description:

python daveloop.py "your bug description here"

The tool accepts detailed bug reports via files, custom working directories, and configurable iteration limits. Sessions automatically generate timestamped logs documenting the agent's reasoning and actions across all iterations.

Tested Domains

The agent has demonstrated effectiveness on security vulnerabilities, race conditions, multi-file refactors, and real-world benchmark problems from Django, Pytest, and SymPy codebases.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daveloop-1.0.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daveloop-1.0.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file daveloop-1.0.0.tar.gz.

File metadata

  • Download URL: daveloop-1.0.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for daveloop-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ba1f94889543adf71ec1dc34520a1db0c7edb34836c9609d88c0d040d0efbecd
MD5 4009f765e23d96e770dc70a1342f9898
BLAKE2b-256 1928b8883cc8bdd00bc9c91273834b873cd6b663d5d30e395b41afaf6796eb03

See more details on using hashes here.

File details

Details for the file daveloop-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: daveloop-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for daveloop-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b675b813f0841731283c102db895bae8cf123fedbe5ff5953ba8469999dd0f6d
MD5 8ada8416152d5ed0089079d4edaa7404
BLAKE2b-256 3053b6e2044ea3c0dc475ccf260cb7bdca87939a76434e97696c1c3079ce568c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page