Skip to main content

Debugg AI's official Python sdk for connecting your personal AI QA engineer

Project description

DebuggAI (debugg-ai-py)

Debugg AI's Python sdk for enabling your personal AI QA engineer

DebuggAI super‑charges engineers with an AI‑powered custom QA Engineer personalized to every user that finds and fixes bugs while your app runs locally, in production, or in CI. DebuggAI's Agent works with you in the background to generate, run, and improve your test suites to ensure that every PR is ready to go. Stop waiting for problems to pop up and build robust code without the big headache of managing your tests.


✨ Why DebuggAI?

Most AI coding tools focus on writing code. DebuggAI focuses on the other 50 % of an engineer’s life: getting it to run.

  • AI Test Suites — We let you focus on the code while our QA engineering agent handles the rest. DebuggAI builds & runs test suites in the background to ensure old code continues to run and new code avoids possible edge cases BEFORE it gets to a PR, or worse to your users.
  • 1‑line monitoring SDK — drop‑in client (Node, Python, Go) that captures rich runtime context remotely similar to Sentry or Datadog
  • AI Debug — Errors are instantly sent to failure lines in your IDE so you can see what happened and why, making solving it easy.
  • Instant Fix Suggestions — one‑click patches and PRs generated from stack‑trace + context
  • Source‑map de‑minification — readable traces even for bundled / minified front‑end code
  • Branch‑aware log search — slice errors by branch, release, or feature flag to zero in fast

📺 Demo - Get Instant Insight Into Runtime Issues

🔍 Typical workflows:

  1. You use your favorite AI agent to write code
  2. You run your app and it crashes (ah whyyyyy!)
  3. DebuggAI sees the error, grabs the full stack trace + context, and uses it to generate a solution & show you EXACTLY where to look
  4. You review the solution, edit it locally if needed, and apply it

🔍 How it works

DebuggAI Demo


🖥️ Core IDE Features

Feature Description
Inline Issue Highlighter See issues in realtime in your IDE, with full stack traces and suggested fixes
AI Test Generator Go from 0 to 100% test coverage for files with a single command
Test iteration Run & Improve tests in the background while you code
Future Proof Continually add new tests as new errors arise to ensure your code is future proof

🚀 Getting Started

  1. Install the extension

  2. Create a project

  3. Add the Python Logging SDK (using pip)

      pip install debugg-ai-sdk
    
  4. Initialize (one line):

    • Get the initialization code from the DebuggAI app

      Get the initialization code

    • Initialize the SDK

        # app.py
        import debugg_ai_sdk
        debugg_ai_sdk.init(
         dsn=f"<your_project_dsn>",
         # Depends on your implementation but info level provides 
         # more helpful context to the agents than ERROR-only.
         level='info',
         environment="local",
         # Readable name to differentiate local computers for engineers
         host_name="tj-home-desktop",
         # other optional params..
        )
      
    • Log errors

        class TestClass:
          def __init__(self):
              
              self.test_var = "test"
              
          def divide_by_zero(self):
              return 1 / 0
      
          def test_function():
              # Fundtion that pretends to do something
              logger.info("Doing something")
              
              test_class = TestClass()
              test_class.divide_by_zero()
              
      
        def main():
            logger.info("Hello, world!")
      
            test_function()
      
        if __name__ == "__main__":
            main()
            
      
  5. Trigger an error – head back to the IDE and watch DebuggAI suggest a fix ⚡

Full walkthrough ▶ docs.debugg.ai/getting-started


🛠️ Configuration

You can log in to your DebuggAI account directly in the extension, and then it will automatically connect to your project.


Contact & Support

If you have any questions or need personalized support:


🤝  Interested in Contributing?

We're looking to expand the DebuggAI team!

If you're interested in joining the team or contributing to the project, please reach out to us at hello@debugg.ai.


📜 License & Credits

  • Code: MIT © 2025 Debugg, Inc.
  • Foundation: proudly built on open-source technology.

Attribution

We at Debugg AI want to thank the open-source community for their contributions. Particularly Sentry for the work on this SDK. DebuggAI is building the first fully AI QA Engineer that can automatically generate test suites and highlight issues in your app, but Sentry continues to be a great option for Application Monitoring. Use both for the best results!


Made with ❤️ and too many stack traces in San Francisco.

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

debugg-ai-sdk-0.1.13.tar.gz (275.1 kB view details)

Uploaded Source

Built Distribution

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

debugg_ai_sdk-0.1.13-py2.py3-none-any.whl (344.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file debugg-ai-sdk-0.1.13.tar.gz.

File metadata

  • Download URL: debugg-ai-sdk-0.1.13.tar.gz
  • Upload date:
  • Size: 275.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for debugg-ai-sdk-0.1.13.tar.gz
Algorithm Hash digest
SHA256 c16cddc3f81e77c34c9d7ab677aa58f951f6151d8128d8bc7bfb553a96a30d72
MD5 fbccf58b55a2e026a4eb7e1ac2c164c8
BLAKE2b-256 bddeafed525e54f76e59203db0336d7b02e858411590796dd21f259d2fa74411

See more details on using hashes here.

File details

Details for the file debugg_ai_sdk-0.1.13-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for debugg_ai_sdk-0.1.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 35ef8e5ca139b8125dc195518f29a1a3fd8c537a5ab4e55bc4f6b5f89f39e904
MD5 0e7370d94cc1e5a3955ac1092571be33
BLAKE2b-256 3580171de784821b1d3110767ae7ef5d10fc01dd7f1553a346a281e272cb9f43

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