AlphaSift
Screen thousands of stocks across 7 markets with YAML factors, filter red flags, and audit results publicly.
- Source repo
- ZhuLinsen/alphasift
- Stars
- ★ 626
- Last updated
- today
- FARS reviewed
- Nov 29, 2026
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 64/100 · Some gaps
At a glance
- Works with
- Universal · cross-platformCodex · Claude Code
- You'll need
- Typical use
- An individual quant researcher wants a daily shortlist of sector-diversified, announcement-clean names from a 5,000+ universe to feed into a deeper single-stock research tool.
- Main limitation
- Overseas market data rides on Yahoo Finance and yfinance, single unofficial endpoints the README itself flags; an upstream change or rate limit breaks the scan.
- Website
- alphasift.zhulinsen.tech ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-29
- Source review
- 64/100 · Some gaps
What does this agent do, and when should you use it?
AlphaSift is a quant stock-screening and public verification engine covering A-shares, US, Hong Kong, Japan, Korea, Taiwan, and India. It runs 12 readable YAML strategies with deterministic hard filters and factor scoring, enforces sector diversification through an 8-bucket hard cap, and optionally layers an LLM review that injects announcements, news, and fund-flow context and hard-caps any stock with unresolved major negative news at 35 points in Python code. Interfaces include a CLI, a local browser workbench (alphasift ui), a zero-dependency STDIO MCP server with 14 read-only tools and 4 resources, and a SKILL.md for Antigravity, Claude Code, Cursor, Codex, and OpenClaw. Every pick is logged to a public track-record branch and scored on T+5/T+10/T+20 excess return using next_open entry with limit-up untradability disclosed. It is a research funnel and audit tool, not an advisory service or an auto-trading system.
Each run first pulls a market snapshot: A-shares through em_datacenter → sina → efinance → akshare_em (tushare first when TUSHARE_TOKEN is set), overseas markets through Yahoo Finance plus yfinance, and Korean valuations enriched from Naver Finance. The L1 deterministic layer applies the selected YAML strategy's hard filters and multi-factor scoring curve to cut thousands of tickers down to a candidate pool. The optional L2 layer calls any OpenAI-compatible /chat/completions endpoint (DeepSeek, SiliconFlow, Volcano Ark, Bailian, Ollama, Gemini) with announcement, news, and fund-flow context, then caps scores for unresolved red flags. A risk overlay and max_same_bucket: 1 sector cap produce the final list, printed alongside a scorecard, a printable HTML report via alphasift daily-report --output-html, and push notifications through the NOTIFY_URLS multi-channel variable. In MCP mode the AI client can call the 14 read-only quant tools directly, and a GitHub Actions workflow can run the full pipeline unattended after each close.
- An individual quant researcher wants a daily shortlist of sector-diversified, announcement-clean names from a 5,000+ universe to feed into a deeper single-stock research tool.
- A Claude Code or Cursor user wants to ask 'run the A-share dual_low strategy and give me the top 5 with reasons' inside the coding assistant via the MCP config.
- A small team wants a zero-server daily screening and Feishu/WeCom/Telegram push pipeline implemented by forking the repo and enabling GitHub Actions.
- A researcher comparing rule-based versus LLM-reviewed selection needs same-day comparable ledgers to judge whether the LLM layer adds measurable excess return.
- A trader evaluating classic candlestick patterns can use the repo's 250-day next_open replay with HAC and BH-FDR corrections as a reference benchmark.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install alphasiftpip install -edocker compose up --build -d
- Environment variables
GEMINI_API_KEYDEEPSEEK_API_KEYOPENAI_API_KEYLLM_BASE_URLLLM_MODEL- Config files
.env.example.env- Install notes cover
- Docker
How do you install or deploy this agent?
Install from PyPI. No API key is required for the pure-rules path:
pip install alphasiftOr install editable from source:
git clone https://github.com/ZhuLinsen/alphasift.git && cd alphasift
pip install -e .For a Docker Compose service on a loopback port:
docker compose up --build -dFor zero-install MCP access, point your client at uvx:
{
"mcpServers": {
"alphasift": { "command": "uvx", "args": ["alphasift", "mcp"] }
}
}How do you use this agent?
Verify the install with the built-in quickstart and pure-rule screens:
alphasift quickstart
alphasift screen dual_low --no-llm
alphasift screen global_value --market hk --no-llm
alphasift uiTo enable AI review and the 250-day replay, create the env file and add a model key:
cp .env.example .env
# set GEMINI_API_KEY / DEEPSEEK_API_KEY / OPENAI_API_KEY
alphasift pack build --days 250
alphasift screen dual_low --save-run
alphasift evaluate-strategies --window 5,10,20 --explain
alphasift daily-report --pack-dir ./data/pack/cn --output-html daily_report.html --pushFor Chinese or local providers, configure an OpenAI-compatible endpoint:
OPENAI_API_KEY=sk-your-deepseek-key
LLM_BASE_URL=https://api.deepseek.com/v1
LLM_MODEL=deepseek/deepseek-chatFor free scheduled runs, fork the repo, enable workflows on the Actions tab, and set the optional GEMINI_API_KEY and NOTIFY_URLS secrets.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- A public track-record branch scores every pick on next_open T+5/T+10/T+20 excess return and explicitly reports the share of limit-up opens that could not be filled, so results are externally auditable.
- Sector diversification is backed by numbers: across 10 A-share strategies, pairwise overlap fell from 8.0%–24.9% to 0.9%–1.8% and banking-bucket share from 22%–31.1% to 4.0%–9.1% after applying max_same_bucket: 1.
- Red-flag suppression is enforced at the Python layer with a hard 35-point cap rather than prompt instructions, reducing exposure to LLM hallucination.
- Broad integration surface: CLI, local web workbench, STDIO MCP server with 14 tools, a portable SKILL.md, and a GitHub Actions job, all runnable with zero API keys on the pure-rules path.
- Twelve notification channels are configured through one NOTIFY_URLS variable, with a (trade_date, channel) file lock to prevent duplicate pushes.
- Overseas market data rides on Yahoo Finance and yfinance, single unofficial endpoints the README itself flags; an upstream change or rate limit breaks the scan.
- AI review requires an external LLM key and pay-per-token cost, and the default model is Gemini, so other providers need LLM_BASE_URL configuration.
- Full A-share replays require first building a local daily pack with alphasift pack build --days 250, adding upfront preparation.
- There is no order execution, broker integration, or position ledger; teams that need live trading must build the execution layer themselves.
- Pattern conclusions still sit in an experimental observation period, and the built-in strategies rest mainly on replay statistics rather than long live-trading samples.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| AlphaSift This agent | 64 · Some gaps | — | ★ 626 | today | Python | Codex · Claude Code |
| QuantDinger AI Trading OS | 64 · Some gaps | Self-hosted serviceFree + model costs | ★ 14k | 1d ago | Python | Codex · Claude Code · OpenAI API |
| Vibe-Trading | 68 · Some gaps | CLIFree + model costs | ★ 39k | 1d ago | Python | OpenAI API · Claude API |
| AI Stock Analysis System | 65 · Some gaps | CLIFree + model costs | ★ 75k | 1d ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
least_privilege: serve binds 127.0.0.1 by default with read-only GET, CSP/nosniff/X-Frame-Options and run-path validation, and MCP locks pattern names to a built-in catalog — solid (2); but ?live=1 triggers outbound probes and LLM_BASE_URL overrides are explicitly kept as an operator relay, so deducted. user_confirmation: --push notifications, --save-run, pack builds and scheduled Actions runs have no interactive confirmation, only explicit flags — thin (1). data_flow_transparency: configuration docs enumerate data sources, LLM gateways, notify channels and fallback chains — good (2). sensitive_data_handling: SECURITY.md states webhook tokens are stripped before logging, doctor prints no secrets, custom endpoints block URL userinfo/redirects (2); but TickPlus keys travel in an HTTP query string and are self-described as not live-verified, so deducted. dependency_security: dependencies use wide lower bounds (>=) with no lockfile or hashes, though CI actions are SHA-pinned (1). external_effects: defaults are local and --no-llm, but --push, scheduled Actions and pack pulls can write externally with limited guardrails beyond dry-run (1). rollback: last-good snapshot cache, source-health circuit breaker and pack resume exist, but no run-level rollback or notification retraction (1). source_attribution: README credits a-stock-data for anti-ban guidance, names DSA/AlphaEvo ecosystem roles and lists each data source (2).
self_consistency: version drift between README (v0.3.2 wheel) and SKILL.md (v0.3.1), plus 2026 dates and unverifiable model names like gemini-3.8-flash, so deducted; CLI commands, field lists and config tables are internally consistent (2). dependency_availability: all deps are public PyPI packages, but wide unpinned ranges and volatile upstreams (akshare/efinance, Yahoo/Naver/EastMoney unofficial endpoints) reduce confidence (1). failure_messages: docs and code expose source_errors, degradation, daily_quality_flag_counts, health_summary and doctor diagnostics; tests show row-level errors do not abort other candidates (2).
audience_and_scenarios: clearly targets quant researchers, AI agents (MCP/Skill), CLI users and Web UI users across 7 markets and 12 strategies (3). capability_boundaries: SKILL.md and README state non-CN markets lack hotspot/board_heat/tushare data and that this is a screening/audit engine with no order routing (2); however SKILL.md is truncated mid-field-list so completeness cannot be confirmed. trigger_precision: the SKILL.md description includes Use-when triggers, but the trigger surface is broad ('screen stocks') and duplicate SKILL.md copies exist at root and under .github/skills, creating ambiguity (2). environment_fit: Python 3.10+, pip/uvx/Docker/Actions paths and zero-key operation; but heavy reliance on third-party market endpoints and network, offline only via pack (2).
information_architecture: README is well layered and docs are split by usage/configuration/integrations/deployment/ecosystem; SKILL.md is structured (3). install_notes: pip, uvx, editable, Docker and Actions install paths are complete with .env examples (3). naming_stability: CLI subcommands and fields are mostly stable, but legacy compat flags (--deep-analysis), legacy env vars and the SKILL.md/README version mismatch reduce stability (2). examples_and_faq: README has a 30-second quickstart, sample prompts, sample run output and a strategy table; SKILL.md has full command examples (3). known_limitations: README lists research-only scope, no order routing and the pre-2026-11-21 close-entry caveat, but limitations are scattered and mixed with 2026 dates (2). license: full Apache-2.0 text present and declared in pyproject with license-files (3). versioning_changelog: pyproject says 0.3.2, README links v0.3.2 while SKILL.md links v0.3.1; CHANGELOG is referenced but not shown in the packet (2). maintenance_responsibility: publisher identity is unverified; SECURITY.md offers a private reporting channel and 48h acknowledgement, but there is no maintainer list, governance or support scope (1).
output_usability: ScreenResult/Pick fields are detailed and outputs span JSON/JSONL/Markdown/HTML/IM cards plus a read-only HTTP API, directly consumable by agents or UIs (3). marginal_value: the combination of full-market screening, red-flag filtering, a public T+N ledger and MCP is differentiated, but many open-source screeners exist and the core alpha claims rest on backtests that cannot be statically verified (2). cost_benefit: zero-key operation, optional LLM with weight/candidate caps and timeouts keep cost controllable; but multi-source market data, large install footprint and optional LLM fees add cost (2).
claim_traceability: README cites concrete figures (5,577 equities, 180 sessions, 0/9 graduates, overlap 24.9%->1.8%) and points to docs/pattern-regime-research.md, but that document is not in the packet so the methodology cannot be checked (2). cross_source_corroboration: performance and backtest claims come only from the project's own narrative and its own dashboard, with no third-party reproduction or independent data cross-check (1). fact_inference_separation: docs distinguish experimental/observation patterns, unverified TickPlus integration and research-only non-advice status (2); but 2026 dates and unreleased model names weaken credibility.
- SKILL.md and README disagree on version (v0.3.1 vs v0.3.2), and duplicate SKILL.md files exist at root and under .github/skills; confirm which is authoritative before wiring it into an agent.
- README contains 2026 dates and unverifiable model names such as gemini-3.8-flash; backtest and performance claims are self-reported and the referenced research doc is not in the packet.
- All dependencies use wide lower bounds with no lockfile; akshare/efinance/yfinance upstreams change often, so pin versions and run data-source smoke tests before production use.
- --push notifications, scheduled GitHub Actions and pack pulls cause external side effects with no interactive confirmation; validate in dry-run and locally first.
- TickPlus keys are passed in an HTTP query string and the project states the integration is not live-verified; assess leakage risk before using real credentials.
- Publisher identity is unverified and SECURITY.md lists no maintainers or support scope, so long-term maintenance and vulnerability response are unknown.
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.