alphalattice

agent
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

AlphaLattice: Local multi-agent workstation for quantitative research. Your Claude Code or Codex agent directs specialists (Data, Factor, Alpha, Risk, Portfolio, CRO) from factor discovery to a CRO-reviewed portfolio, with reproducible evidence.

README.md

AlphaLattice

English | 简体中文

License
Python
uv
Mentioned in Awesome

Ask for a dated research portfolio and inspect its positions, source evidence and recorded review in one workspace.

An edited example run from a recorded request through activity to dated research positions.

Example run on synthetic data: a request to inspect stored results, their activity and the dated positions, shown as an edited sequence of cropped views.

Tell your Claude Code or Codex agent what you want to investigate. It uses
AlphaLattice to run quantitative studies, check source evidence and bring the
results to a research committee. Follow the work and its results in your coding app's
built-in browser.

Research calculations use the information cutoff stated in each result. The market
list comes from current listings, and the report explains the survivorship limit
and limits in older sector and price records. Verification runs check for
look-ahead. The committee can decline to endorse a result. AlphaLattice runs
locally and is open source.

0.2.10, now

0.2.10 is the current release. It fits research to the machine you already use: parallel work runs below normal priority and leaves room for the rest of your computer, each piece of data is stored once, first use asks fewer and clearer questions, and Evidence and the Host respond faster than in 0.2.9. Start 0.2.10 with a fresh data root.

0.2.10 release notes

Two ways to use AlphaLattice

  1. First use, in a new folder. Send your Claude Code or Codex agent the
    intent above, or Positions for <date>, reviewed. The agent prepares data
    and the strategy, produces that date's research positions and follows them
    through review, committee discussion and a report.

    The agent asks once whether AlphaLattice may keep this workspace's network on
    for daily updates, fetching market data and SEC filings within the default budget
    (3 per issuer, 600 documents and 3 GB overall). The first use continues without
    waiting for your answer. Your yes stays in force until you tell it to stop;
    network use is disclosed, including for automated updates. Activity records it
    when available and names observation gaps.

    At the first-use report, the agent also asks whether daily updates should
    convene the investment committee. Decide it in the conversation, then or at any
    later time, and change it the same way, for example "Stop convening the
    committee on daily updates." Until you say yes, later updates get the portfolio
    manager's view on the reviewed positions, with the option to convene the
    committee. The first use does not wait for this answer.

  2. Daily update, in a new session in the same folder. Say
    Positions for <next session>, reviewed. The agent uses the installed strategy
    and your standing network yes to update data and produce that session's reviewed
    research positions, following your daily committee setting. It works in your
    first use's workspace, so a later date never starts a second first use, and it
    asks you only about decisions that are yours.

See an example run

The Home view of an example research workspace, with dated positions and their provenance.

Example run on synthetic data: Home brings the positions date and the result's provenance together.

A saved risk study with its input window and diagnostics in the Workbench.

Example run on synthetic data: a saved risk study shows its input window and diagnostics.

The History view of an example research workspace.

Example run on synthetic data: History lists recorded Tasks and updates.

The same example run at a narrower width

The example Home view at a 900-pixel browser width.

Example run on synthetic data at a browser width of 900 pixels.

Install and start

When 0.2.10
is available, run this PowerShell command in the folder you want to use.

if (-not (Get-Command uvx -ErrorAction SilentlyContinue)) { throw 'Install uv / 安装 uv https://docs.astral.sh/uv/getting-started/installation/' } else { & { $priorRoot = $env:ALPHALATTICE_DATA_ROOT; try { $env:ALPHALATTICE_DATA_ROOT = Join-Path $PWD.Path 'alphalattice-data'; uvx --isolated --python 3.14 --from https://github.com/xinglin-li/alphalattice/releases/download/v0.2.10/alphalattice-0.2.10-py3-none-any.whl --with-requirements https://github.com/xinglin-li/alphalattice/releases/download/v0.2.10/alphalattice-runtime-requirements.txt --overrides https://github.com/xinglin-li/alphalattice/releases/download/v0.2.10/alphalattice-runtime-overrides.txt alphalattice --workspace ./alphalattice-workspace serve --no-browser } finally { $env:ALPHALATTICE_DATA_ROOT = $priorRoot } } }

Install and start has the macOS and Linux
command and the Claude Code plugin. You can also give your agent this repository link and your
research intent.

Before you start

  • Environment: Windows is the supported platform. The 0.2.10 checkout and wheel use
    Python 3.14, uv and locked dependencies, with Claude Code or Codex. On Linux and macOS, CI checks
    installation and an offline first use; other use there is not guaranteed. On
    macOS, install the OpenMP runtime:

    brew install libomp
    
  • Time: In the 0.2.3 release run with a Codex lead, first use took 7,097.5
    seconds
    (about 118 minutes, including a recorded pause); the first daily
    did not finish within the measurement window. The 0.2.2 Claude Code (Haiku) run
    took 121.8 minutes for first use and 43.6 minutes for the first daily.
    These are single runs, not guarantees.

  • Disk and memory: The 0.2.3 first-use Host peaked at 8.66 GB, above the
    8 GB budget. The 0.2.2 workspace was 8.70 GB after first use; its first
    daily also filled a one-time 4.27 GB backup. Allow headroom for the operating system and
    coding app. The release notes give
    each run's workload and limits; MB and GB use decimal units.

  • Package downloads: Locked retrieval packages install under the first use's
    network consent, including on a machine with an empty package cache. That
    consent covers installation without a separate download question.

  • Agent costs: Your Claude Code or Codex access and usage costs are separate
    from AlphaLattice; check your provider's terms.

See Getting started and the
setup procedure
for installation, downloads and the permissions each step needs.

Starting with 0.2.10, set a fresh data root and use a new research workspace.
Internal digests use tagged BLAKE3. The new release refuses earlier data roots,
workspaces and backups when you open or restore them. Keep the original release
to read those records. See the 0.2.10 upgrade instructions.

A detached 0.2.10 Host stops after 15 idle minutes when it has no work due.
Choose a resident Host with --resident for one launch or
ALPHALATTICE_HOST_RESIDENT=1 for future launches. See Host residency.

Moving to 0.2.10? It opens only data created in its BLAKE3 format, so start with a fresh
data root and a new workspace, as Upgrading
describes. Back up the agent project's .alphalattice/user/, note the earlier workspace
and data-root paths, and stop the earlier Host with alphalattice host stop, waiting for
it to release the workspace. Keep the earlier data root, workspace and backups with the
original release, which still reads them.
If a refusal remains unresolved, generate alphalattice problem report --output "<out>/report.json"
and review it before sharing in a GitHub issue; your agent asks before sending it.

Why AlphaLattice

  • A complete research workflow. Data preparation, quantitative studies,
    portfolio construction, Evidence review and committee discussion lead to a
    delivery report in one workspace.
  • Evidence you can inspect. Read source passages, information cutoffs and
    review coverage for the reviewed portfolio.
  • Disagreement you can read. Objections, limits and the committee's final
    ruling remain in the record and report.
  • An agent that learns from your corrections. When a goal completes, the
    agent offers to record what the work taught it. A correction you give is kept
    in your own words, with why it matters and how to apply it. These notes live
    in your own layer, .alphalattice/user/, which releases never overwrite. The
    next session reads them before it starts.
  • Factors and models you can extend. Add factors and Alpha models through
    their registries and checked extension paths.

A worked example

A completed run asked for a reviewed Trend Rebound strategy from public data,
with research positions for 2026-09-11.

  1. Studies. The agent prepared public-source data and ran the strategy's
    model and Risk studies.
  2. Dated positions. It built the portfolio and delivered research positions
    for the requested date, with their Risk assessment.
  3. Evidence review. Evidence Analysts read the prepared source material
    available at the information cutoff. The chief risk officer (CRO) assessed
    their findings.
  4. Committee discussion. Alpha, Risk, CRO and the lead discussed the dated
    result, keeping objections and the lead's rulings in the record.
  5. Report. The delivery brought together positions, Risk, review coverage,
    citations and the members' recorded views.

The report kept the reservations alongside the results: the review covered
the filings accepted by its source checks and available at its cutoff, and
members named limits in predictive support, liquidity and capacity evidence.

Historical research views

A book is a recorded research portfolio with its holdings and results.
For an installed strategy, it records the strategy's historical replay.

Trend Rebound Book historical research performance from 2023-10-02 to 2026-09-08.

Historical research performance for Trend Rebound Book, 2023-10-02 to 2026-09-08, from a replay of the strategy.

Trend Rebound Book historical sector exposure and replay holdings on 2026-09-08.

Sector exposure and historical replay weights for 2026-09-08.

Rebound Return Book and Trend Rebound Book are installed strategies:
ready-to-use strategy definitions that can be activated to produce dated
positions. They are separate from exploratory research study portfolios.
Research flows explains both routes.

Read each result's information cutoff, coverage and limits on its use.
For inputs built from a current membership snapshot, earlier membership is
backfilled from the initial set of securities; later additions and removals
follow recorded observations. This is not a complete reconstruction of past
index membership. Read the reported survivorship limits, sector backfill and
historical source availability alongside the performance.

Follow the work

An earlier run's session conversation, showing Evidence review assignments, answers and accepted submissions.

An earlier run's recorded Evidence review assignments, answers and acceptances.

  • Workbench. Use Goals for the timeline, conversation and results,
    History for saved studies and reviews, and Team for sessions and
    usage. Review pages show which checks passed, what remains missing and how
    the result may be used.
  • First-use permission. Your sentence opens a goal and gives the agent
    permission for specific steps for 24 hours from the goal's opening: prepare
    data, handle data issues within the declared rules, open the preparation's
    network, set up Evidence within the default budget and activate the strategy's
    completed book. It reports each act.
  • When permission ends. The first-use delegation ends when the goal's
    submission is accepted, the goal is abandoned or its 24 hours expire. Network
    access opened only under that delegation ends with it. The separate standing
    permission is described in Two ways to use AlphaLattice.
  • Your controls. Stop the strategy through your agent or on Portfolio.
    Stopping a goal and cancelling a Task are separate controls. The guide lists
    what only you decide.
  • Host boundaries. The agent installs AlphaLattice and continues in the
    same session. Specialist tool limits apply through their instructions;
    checkout sessions also load the host's project configuration. Start one with
    cd <checkout>; claude in Claude Code or codex -C <checkout> in Codex, and
    follow the agent guide for the host's setup and checks.
  • Languages. The Workbench offers English and Chinese. CLI detail uses
    --lang zh, for example alphalattice workspace show --lang zh, with English
    fallback.

Guides and care

Guide What it explains
Getting started Prepare for installation and first use.
CLI Read answers and continue saved requests.
Research flows Follow studies, portfolios and review, and recall or record research experience.
Agents Follow goals, sessions and specialist work.
Extending Develop and inspect factors and models.
Data and care Update, inspect, back up and restore a workspace.
Privacy Read what usage records contain, disable their reader, or configure optional trace export.
Downloads and data terms Read the terms for models and data sources.

The guide index links the other reference pages.

Use backup and restore into a new directory
to preserve the saved records and their integrity checks. One Host runs per data
root; a second is refused by name, and Storage
gives the way on. Privacy
explains recorded usage and its switch.

This release and where it is going

0.2.10 is the current release. 0.2.10 release notes

Each minor version's scope is planned in advance. Its release notes state the
checks run, measured workloads and unproved limits; patches in between make the
current version smoother. Each version builds on
methods already proven elsewhere, adapted to AlphaLattice's own rules: dated
inputs, sealed results and your authority.

The next 0.2.x patches, in order. Each holds one theme, and each publishes its
measured time, disk and memory against a stated budget:

  • 0.2.11: a plugin platform. The product's parts register through one interface registry, with profiles and plugin trust. Model families are among the first plugins.
  • 0.2.12: the product in plugins, and the agent protocol as an API. The product's parts move onto the plugin platform one at a time. The agent API keeps working for existing callers.
  • 0.2.13: less waiting on the program. The program prepares likely next steps while the agent is thinking.
  • 0.2.14: an evaluation flywheel. One runner and fixed gates check each patch from the product's own records.
  • 0.2.15: history you can query by date. Ask what was known, tried and decided on a past date, with nothing learned after it.
  • 0.2.16: ground for daily supervision. What 0.3's daily supervision needs, including a store for the forward record of positions.

Later minor versions:

  • 0.3 Daily supervision: "watch my strategy; tell me only what matters."
    • Factor monitors in Alphalens' terms: IC, decay and turnover, on top of the
      daily data-health checks.
    • Drift is flagged by CUSUM and EWMA control charts, so quiet days stay quiet.
    • At most one digest a day.
    • A forward record of positions as published, kept apart from the backtest on GIPS
      principles.
    • Agents' calls are scored by hit rate and the Brier score.
    • The daily run is scheduled by the operating system's own scheduler.
  • 0.4 Agent research: "search for a better model, honestly."
    • Overfitting guards come before any automated search: every result reports its
      trial count, with the deflated Sharpe ratio and the probability of backtest
      overfitting, a locked holdout and purged, time-ordered validation.
    • Then search with Optuna, models in scikit-learn's estimator form, and Features
      named after the 101 Formulaic Alphas.
  • 0.5 Your own strategy: "use my tickers and schedule; add my risk model or data
    source."
    Extensions join by registry entry. Risk methods take the
    sklearn.covariance form, and data sources an Airbyte-style connector contract:
    spec, check, discover, read.
  • Later, proposed:
    • macro data as it was known at the time (ALFRED vintages), company fundamentals
      as filed with the SEC, and consented news;
    • survivorship-free research on a CRSP-style data model;
    • several strategies as one portfolio, by risk budgeting and hierarchical risk
      parity;
    • committee adjustments within your bounds, in Black-Litterman form, built only if
      the forward record shows the committee adds value;
    • a stable 1.0 that keeps every agent-facing surface working;
    • intraday schedules.

Previews of the next minor version land on the next branch first. Tell us what you
need in an issue: requests from
people using AlphaLattice decide what comes after 0.5.

Tell us where you got stuck

Open an issue with the command
you were running, what you expected and the answer you received. Redact private
data and credentials. For proposed code changes, follow
CONTRIBUTING: open an issue first for nontrivial work, and sign
the contributor agreement on your first pull request.
For a security vulnerability, report privately as described in SECURITY.

About

Last checked: 2026-12-02 against 0.2.10

The design principles explain how the
agent, the software and the person share the work.

Created and maintained by Xinglin Li: LinkedIn
or [email protected].
See governance for project decisions and contribution credit,
and contributing for the agreement and workflow.

Verify a source checkout

After uv sync --locked --all-extras, build Local Web with
uv run python scripts/build_local_web_ui.py --product before running the
public checks. Tests check that build at session start,
rebuilding once if it is missing or stale; a failed build fails the run.

Development history

AlphaLattice has been developed privately since 2026-08-06. Public commits carry
the shipped changes exported from that development; releases publish the
resulting versions.

Disclaimer

AlphaLattice produces research results, not orders, and places no trades.
Historical research is not investment advice or a promise of future returns.
A completed review records findings and limits; it is not a recommendation to
trade or a guarantee of scientific validity.

The software is licensed under Apache-2.0; NOTICE records
third-party material. Acquired data and downloaded model packs retain their
own terms. The software licence
grants no data licence. Agent access and usage costs follow your provider's terms.

Yorumlar (0)

Sonuc bulunamadi