Skip to content

Latest commit

 

History

3,891 Commits

Folders and files

Repository files navigation

AlphaApollo logo
AlphaApollo

Deep agentic reasoning for math, software, biology, and robotics.

Website · Paper · Results · Installation · Documentation · Safety · Contributing

English · 中文

AlphaApollo is an open system for deep agentic reasoning across domains. It unifies foundation models, domain tools and skills, specialist models, and verifiable closed-loop workflows into a single execution architecture across native runtimes and external agents (such as Pi Coding Agent and Codex), spanning scientific computation, GPU kernel optimization, virtual-cell perturbation modeling, and robotic manipulation. Every run captures structured trajectories, tool artifacts, and execution evidence for inspection, reproducible benchmarking (AlphaDiana), and automated harness or model optimization (AlphaHebe).

Domains

Domain What the agent works with Start here
Math Problem statements, scientific computation tools (Python, CGAL, SageMath, Regina, MATLAB), and evaluators for construction and search tasks such as Circle Packing. Examples · Results
Software A task workspace, file and command tools, and executable repair checks. Examples · Results
Biology Public biological evidence, gene and pathway tools, and optional STATE perturbation models. Examples · Results
Robotics Multi-view observations and dual-arm control in bounded episodes, combining single-view 3D perception, reusable manipulation skills, and VLA policies. RoboDojo is the primary benchmark. Examples · Results

Results

Headline benchmarks across all four domains. Full per-task breakdowns, ablations, error bars, and evaluation protocols live in each domain's results page.

AlphaApollo cross-domain benchmark results across Math (ALE-Bench Lite), Software (FlashInfer-Bench), Biology (PerturbHD Recall@5%), and Robotics (RoboDojo Fast-50).

Full reports: Math · Software · Biology · Robotics.

How it fits together

AlphaApollo architecture and execution workflow: compose task and config, run the multi-turn Agent Runtime, Domain Layer, and Verify & Control loop on AlphaCore, and record trajectories for AlphaDiana benchmarking and AlphaHebe optimization.

AlphaApollo is one of four packages. Install only what your workload needs.

Package Role Needed for
AlphaApollo (this repository) Workflows, native and external agent loops, verifiers, selection, domain tools, and run records. Every run.
AlphaCore Model adapters, sandboxed tool execution, and shared runtime contracts. Ships the alpha-workflow / alpha CLI (alphacore-cli) and the browser Workbench (alphacore-gui). Every run.
AlphaDiana Benchmark datasets and graders. Private reference answers stay on the grading side. Scored benchmark runs.
AlphaHebe Harness search (prompt and workflow optimization) and model training. Improving a harness or a model.

A run goes through four stages:

  1. Compose. WorkflowConfig defines roles, agent and verifier steps, and routes; RunConfig binds them to models, tools, inputs, budgets, and output storage. Entry points are alpha-workflow, the Python execute_problem() API, and the task service used by the Workbench. Workflow reference
  2. Execute. The native runtime runs each role turn by turn and routes tool calls through configured tool grants. External agents such as Pi Coding Agent and Codex can run the loop instead. Runtime and workflows
  3. Verify and select. Feedback can route a candidate to revision, a deterministic checker can certify it, and selection policies pick the final output. Reasoning contract
  4. Record. Results, trajectories, and step checkpoints are written to the run directory for inspection, resume, replay, and export. Replay a recorded run

See cross-repository interfaces and the implementation map for details.

Install

AlphaApollo uses Conda with Python 3.10+ (3.12 shown below) and the AlphaCore runtime. Create a Conda environment, install AlphaCore and its CLI from GitHub, then install AlphaApollo from a checkout:

conda create -n alphaapollo python=3.12 pip -y
conda activate alphaapollo

git clone https://github.com/tmlr-group/AlphaApollo.git
cd AlphaApollo
python -m pip install --upgrade pip
python -m pip install \
  "alphacore[memory] @ git+https://github.com/tmlr-group/AlphaCore.git" \
  "alphacore-cli @ git+https://github.com/tmlr-group/AlphaCore.git#subdirectory=alphacore/interfaces/cli"
python -m pip install -e ".[cli]"

Live model endpoints, scored benchmarks (AlphaDiana), the browser Workbench, harness or model improvement (AlphaHebe), and development setups need further extras. The installation guide lists each profile, and the Quickstart guide walks through your first run.

Repository layout

.
├── alphaapollo/     Python package: workflows, reasoning, tools, domains, records, configs
├── examples/        Runnable recipes: basic, math, software, bio, robotics, integrations
├── docs/            Installation, guides, architecture, and domain settings
├── tests/           Unit, contract, and integration tests
├── scripts/         Developer checks (package, wheel, workbench) and domain helpers
├── install/         Optional virtual-environment setup script
├── third_party/     Pinned upstream submodules (OpenPI, VLA evaluation harness)
├── .agents/         Development skills for coding agents
└── pyproject.toml   Package metadata, dependencies, and extras

Documentation

Safety and disclaimer

AlphaApollo is experimental research software that can execute model-generated code, shell commands, external agents, and domain tools. Review SAFETY.md (中文) for sandbox limitations, domain-specific cautions (including Biology and Robotics), responsible-use practices, and disclaimer of warranty before running untrusted workloads. Report security vulnerabilities privately via SECURITY.md.

Citation

If you use AlphaApollo in your research, please cite:

@article{zhou2025alphaapollo,
  title   = {{AlphaApollo}: A System for Deep Agentic Reasoning},
  author  = {Zhou, Zhanke and Cao, Chentao and Feng, Xiao and Li, Xuan and Li, Zongze and Lu, Xiangyu and Yao, Jiangchao and Huang, Weikai and Cheng, Tian and Zhang, Jianghangfan and Jiang, Tangyu and Xu, Linrui and Zheng, Yiming and Miranda, Brando and Liu, Tongliang and Koyejo, Sanmi and Sugiyama, Masashi and Han, Bo},
  journal = {arXiv preprint arXiv:2510.06261},
  year    = {2025}
}

License

AlphaApollo is released under the Apache 2.0 license. Third-party attributions are in NOTICE.txt.