DEV Community

Sanu Sharma
Sanu Sharma

Posted on

SelfHeal: AI repair for running Python apps, with verification and rollback

When a Python function raises an error or fails a health check, SelfHeal asks an LLM for a patch, verifies it in a copied workspace (syntax + pytest), and updates the running function only after you approve. If activation fails, it rolls back.
Python SDK with a Rust core, currently in beta: pip install pyselfheal-rt (import it as selfheal).
GitHub: https://github.com/sanusharma-ui/selfheal

Top comments (0)