usehelix/helix
A self-healing runtime that wraps autonomous agent functions with a 6-stage recovery pipeline and reinforcement-learning-based Gene Map to fix errors instantly on recurrence.

Helix provides self-healing infrastructure for AI agents, specifically targeting payment operations. It wraps agent functions with a recovery layer that detects failures, constructs fixes via a multi-stage pipeline, scores solutions using reinforcement learning, and stores successful fixes in a SQLite Gene Map for sub-millisecond reuse. The system achieved 99.9% transaction success vs 81.9% for blind retry in production benchmarks, eliminating repeated LLM calls for known error patterns.