ErrorAI

Autonomous Python Runtime with Safe-by-Default Exception Handling

ErrorAI is a Python-only autonomous runtime that starts on import, catches exceptions, and operates with intelligent watch/read/write behavior.

Key Features

🚀

Zero-Config Start

Simply import errorai and the runtime initializes automatically with sensible defaults.

🛡️

Safe by Default

Safe mode enabled by default. Writes restricted to project root with ignore patterns blocked.

🔍

Intelligent Watching

Background watch services monitor your code and catch exceptions with smart resolution.

⚙️

Model Bootstrap

Automatically bootstraps a lightweight local coding model. Falls back to rules-only mode if needed.

📋

Dry-Run Mode

Preview all edits before writing. Perfect for understanding what will happen.

🌐

Offline Ready

Works seamlessly offline. No internet required once the model is bootstrapped.

Quickstart

1. Install

pip install ErrorAI

2. Import

import errorai

That's it! The runtime is now active and monitoring your code.

3. Optional Setup

errorai init
errorai doctor
errorai install-model

Safety Defaults

✓ Safe Mode Enabled

Default safe mode protects your system from unintended changes.

✓ Write Restrictions

All writes are restricted to your project root directory.

✓ Ignore Patterns

Sensitive and common ignore patterns are blocked by default.

✓ Dry-Run Default

Dry-run mode is on by default to preview edits before applying them.

CLI Commands

errorai init

Writes default .errorai.toml configuration file

errorai doctor

Reports environment, runtime, and model readiness status

errorai install-model

Retries local model bootstrap if initial installation failed