Skip to main content

AutoRepair AI: The End of Unhandled Exceptions

Am 4. Juni 1996 explodierte die europäische Trägerrakete Ariane 5 (Flug 501) nur 39 Sekunden nach dem Start. Der Grund? Ein simpler Integer-Overflow in der Software. Ein unhandled Exception, der die Flugsteuerung lahmlegte und 370 Millionen Dollar in Flammen aufgehen ließ.

Wir schreiben das Jahr 2026. KI-Modelle durchdringen jeden Aspekt unseres Lebens. Warum lassen wir zu, dass Software noch immer auf die gleiche Weise abstürzt wie vor 30 Jahren? Warum nutzen wir KI, um lustige Chatbots zu bauen, aber lassen unsere Laufzeitumgebungen schutzlos gegen simple Code-Fehler?

AutoRepair AI beendet dieses Paradigma.

Dieses winzige Python-Paket klinkt sich tief in den globalen Exception-Hook (sys.excepthook) von Python ein. Wenn dein Code abstürzt, bricht das Programm nicht einfach zusammen. Stattdessen:

  1. Fängt AutoRepair AI den Traceback ab.
  2. Lokalisiert es auf Millisekunden-Ebene die genaue fehlerhafte Funktion in deinem lokalen Quellcode.
  3. Kontaktiert es ein lokales LLM (z.B. Ollama mit qwen2.5-coder:32b).
  4. Schreibt es die fehlerhafte Python-Datei zur Laufzeit auf deiner Festplatte um.

Ein Neustart, und der Bug existiert nicht mehr. Deine Software heilt sich selbst.

Installation

pip install autorepair-ai

(Voraussetzung: Ein laufender lokaler Ollama-Server)

Benutzung

Zwei Zeilen Code machen dein Programm unsterblich:

import autorepair
autorepair.activate()

# Lass es abstürzen!
def calculate_trajectory():
    return 100 / 0  # ZeroDivisionError!

calculate_trajectory()

Wenn dieses Skript läuft, wird es nicht abstürzen und aufgeben. Die Konsole wird dir mitteilen, dass die AI den Code liest, den ZeroDivisionError erkennt, die Funktion in deiner Datei durch eine fehlerfreie Version (z.B. mit try/except block) ersetzt und den Hotfix speichert.

Die Philosophie

Entwickler sollten kreative Freigeister sein, keine Bug-Jäger. Wenn die Maschine den Code ausführen kann, sollte sie ihn auch reparieren können. Halte der ignoranten Fehler-Kultur den Spiegel vor: Installiere AutoRepair AI.

Metadata

Release files for autorepair-ai 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autorepair-ai 1.0.0
File Size Uploaded Provenance
autorepair_ai-1.0.0.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autorepair-ai 1.0.0
File Interpreter ABI Platform
autorepair_ai-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / autorepair_ai-1.0.0.tar.gz

Download URL autorepair_ai-1.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8b62ff9c452ccf7ca1ff9c83a9499464d3d23206edd60a91aa3b8749c3115f5b
BLAKE2b-256 checksum
How to use checksums
d4fba4186b19d345ae1c319fd581cfb2fb378c39df5fcc1658760873761e01e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / autorepair_ai-1.0.0-py3-none-any.whl

Download URL autorepair_ai-1.0.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32673e36d4fc28051e5bdd5271a741652dd84f02d5d5d239f5277eeb94a53fdd
BLAKE2b-256 checksum
How to use checksums
00906ed541661f049b5f8f73f1345cfaaa8363b8c4f0a3086d2029dcc0e6a6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Security for autorepair-ai 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page