Documentation

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

bashterminal
$ npm install @helix-agent/core

Also available: pip install helix-agent-sdk (Python), Docker image at adrianhihi/helix-server

30-second example

TypeScriptagent.ts
import { wrap } from '@helix-agent/core'
// Wrap any async function — RPC calls, API requests, anything.
const safeCall = wrap(myFunction, { mode: 'auto' })
// On failure: PCEC classifies → Repair Graph lookup → applies fix → retries.
// On success after repair: pattern is committed back to the Repair Graph.
const result = await safeCall(args)

Configuration

mode: ‘auto’ applies repairs above q-value threshold automatically. Use ‘gated’ to require human approval for low-confidence repairs.

adapter — optional. Default is HTTP/RPC. Available: @helix-agent/adapter-evm, @helix-agent/adapter-solana, @helix-agent/adapter-x402.

telemetry: false — disables cross-tenant Repair Graph submission. Self-hosted runs locally with full Repair Graph isolation.

Adapters

EVM
Base, Ethereum, Arbitrum, Optimism
npm install @helix-agent/adapter-evm
Solana
RPC + Jupiter aggregator
npm install @helix-agent/adapter-solana
x402
Coinbase Agent Payments
npm install @helix-agent/adapter-x402

Full API reference and source code on GitHub.