microsoft/debug-gym

A Text-Based Environment for Interactive Debugging

63
/ 100
Established

This project helps Python developers efficiently find and fix bugs in their code. It takes a buggy Python program as input and allows an AI agent to interactively use debugging tools like `pdb`, `bash`, and `grep` to identify issues. The output is a corrected version of the Python code, making the debugging process more automated for developers.

295 stars. Available on PyPI.

Use this if you are a Python developer looking to automate parts of your debugging workflow using AI agents.

Not ideal if you are working on non-Python projects or if you prefer purely manual, human-driven debugging processes.

Python development software debugging code quality AI-assisted development developer tools
Maintenance 10 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 18 / 25

How are scores calculated?

Stars

295

Forks

40

Language

Python

License

MIT

Category

ai-powered-games

Last pushed

Mar 12, 2026

Commits (30d)

0

Dependencies

18

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/microsoft/debug-gym"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.