Get started with Helix
Wrap any async function. PCEC handles classification, repair, and learning. The Repair Graph remembers — every fix makes the next one faster.
Install
Also available: pip install helix-agent-sdk (Python), Docker image at adrianhihi/helix-server.
Quickstart
30 seconds. One line. Zero config.
wrap() returns an identical function signature. TypeScript types are preserved. Your tests don’t change. Your calling code doesn’t change.
Configuration
Optional. wrap() works without any config — but here’s the full surface:
mode: ‘auto’ applies repairs above q-value threshold automatically. Use ‘gated’ to require human approval for low-confidence repairs.
telemetry: false disables cross-tenant Repair Graph submission. Self-hosted runs locally with full isolation.
wrap() — zero config
The fastest integration. Wrap any async function — the call site is unchanged.
createEngine() — manual control
Use this when you want to inspect repair results before retrying, or pass rich context to PCEC.
PCEC primitives — full control
Each PCEC step exported individually for maximum flexibility. Build custom repair pipelines or audit trails.
Repair Graph API
Query, inspect, and store repair patterns directly. SQLite-backed by default; bring your own storage adapter for production.
TypeScript types
All public types exported from @helix-agent/core.
Adapters
EVM
Supports Base, Ethereum, Arbitrum, Optimism. Auto-handles nonce conflicts, gas estimation failures, RPC rate limits, revert classification.
Solana
RPC failover, Jupiter aggregator routing on swap failures, blockhash refresh on transaction expiry.
x402
Coinbase Agent Payments (x402) integration. Handles payment-insufficient, session expiry, currency mismatch.
CLI
Helix ships a helix CLI for local development, telemetry inspection, and Repair Graph management.
| Command | Description |
|---|---|
npx helix init | Interactive setup wizard, generates helix.config.json |
npx helix status | Live PCEC event stream (colored P→C→E→C) |
npx helix dash | Start local dashboard server on :7842 |
npx helix graph list | List all local Repair Patterns |
npx helix graph sync | Sync local graph with managed Repair Graph |
Full API reference and source code on GitHub.