Inalpha 🦊
Quant agents that evolve under audit.
An oracle that keeps a ledger.
Factor timing · Multi-perspective research · Factor lab · Risk engine · Strategy evolution · Machine-approved orders · Omikuji
English | 中文
Every factor proposed, every strategy mutated, every order routed — logged, versioned, reviewable. Agents pick the currently-effective factors to time entries, write the strategies, and evolve them; the LLM writes the code, and the engineering harness signs every decision.
Inalpha is a professional quant agent framework — an open-source system where LLM agents research (with a panel of investing legends), pick the factors that work now, write and evolve strategy code, and route every order through machine approval, all under an audit-grade engineering harness. A unified kernel (one strategy codebase — swap only the Clock and Gateway), multi-market routing (crypto, US equities, A-shares, global indices, macro), and a Claude Code-style hooks/permissions/plan-exec layer back it — built for teams that demand every decision be provable and every order path be unreachable by the LLM directly.
Hosted console · Request trial access
Apply for an account. After approval, an activation link is sent by email.
---
## Overview
Inalpha is a **professional quant agent framework, governed by engineering discipline**. It treats LLM agents not as black-box signal generators, but as code-writing collaborators bounded by hooks, permissions, plan-then-execute approval, and a one-shot signature on every order path.
**Agents pick the factors that work *now*.** Instead of a hard-coded indicator set, they rank factors by time-series Rank IC and surface the ones currently effective (`factor.timing`), then use that to back research and timing. Data itself is source-attributed by default — `as_of`-stamped and freshness-checked — so agents don't quietly reason on stale data.
Several capability lines sit on top of that harness:
- **Factor lab + factor timing** — agents formalize, compute, IC-test, multiple-testing-check, and register factors, and rank them by time-series Rank IC to time entries; every hypothesis is logged with author, timestamp, and the economic-story gate decision.
- **Multi-perspective research** — a deep dive convenes technical / fundamental / sentiment analysts, plus an optional panel of investing legends (Buffett / Lynch / Wood / Burry / Druckenmiller / Marks) for opposing views that feed a synthesis.
- **Risk engine** — declarative rules (notional caps, price deviation, drawdown veto) enforced at the HTTP boundary, not in prompts.
- **Strategy evolution** — LLMs mutate full Python source through auditable unified diffs; AST audit, restricted loading, subprocess execution, and the `Strategy` protocol contract precede evaluation; multi-objective fitness (Sharpe + Calmar − turnover − drawdown) keeps one metric from dominating.
- **Machine-approved orders (no direct LLM path)** — order intents go `trade.create_plan → approve → execute_plan` with a single-use, TTL-bound `approval_token`; the LLM has no direct path to placing an order, and every step is logged into the audit trail.
- **Inari Omikuji — a shrine fortune draw (playful easter egg)** — undecided on direction? Cast a hexagram or draw a tarot card for a vantage outside the data; **hard-walled from decisions**, it can't touch risk, orders, or factors (see Core Capabilities §7).
The name combines **Ina**ri (the Japanese fox deity of prosperity) with **alpha** (the quant term for excess return) — a companion that reads your direction and keeps every step on the record.
> **Status:** Inalpha is in **alpha** — 79 factors with lineage & decay watch, restricted-DSL factor discovery, a three-party research debate, multi-market paper trading, and E1/E2 strategy evolution. Feature-flagged E2 adds point-in-time event snapshots, deterministic hypothesis DSL compilation, five-generation campaigns, Forward evidence, and one-shot sealed holdout. Evolution never auto-promotes, starts, or trades a candidate. Read the code, weigh in on design — **do not run this against real money** (real-money trading is out of scope).
---
> Code checked on **2026-09-30**: owner-scoped EvolutionLoop reuse, durable dispatch with
> leases/checkpoints, atomic stage handoffs, and bounded loop authorization/cost accounting
> are implemented. Automated tests cover recovery and gate behavior; complete real-environment
> runs and restart validation still need recorded evidence. Final adoption remains manual and
> experimental candidates remain Runner-ineligible. See the [current state and next steps](docs/04-current-state.md#未完成--下一步).
> E2 update (2026-10-10): explicit experiment preparation and frozen cost approval are implemented; the central checklist tracks deployment and normal-owner acceptance. E1 owner execution and E2 insufficient-input rejection have production evidence; the positive champion/Forward/holdout path remains unverified. See the [current-state checklist](docs/04-current-state.md#未完成--下一步).
## The Operator Console
The **Operator Console** (`apps/dashboard`) is the home base — a runtime dashboard that surfaces everything you'd otherwise have to ask the agent for, with a docked agent chat on the right. The shots below are the live console, running locally.