Aepc (a.k.a. Arknights: Endfield Pipeline Calculator) — Endfield's Automated Industry Complex inside your terminal.
Aepc is a planning utility application for the AIC system in the game Arknights: Endfield, written in Rust.
Generates tree-style optimal production plans for any item with essential metrics annotated. Arbitrarily complex pipelines are well supported, since Aepc handles:
- Multi-product recipes
- Multi-source production for items
- Cyclic pipelines
- Inter-recipe byproduct consumption
Aepc is a TUI application. You can simply run aepc to launch.
- Enter a target production flow in the
Expected Flowinput. - Search and select a target item from the
Expected Item List. - The optimal production tree will be displayed in the
Plan Treepanel.
Aepc uses the 2024 edition, which requires Rust 1.85 or later. The toolchain is pinned to 1.93.1 via rust-toolchain.toml, but any newer stable toolchain should work as well.
Run the following command to build the application:
cargo build --releaseTo install the binary to ~/.cargo/bin:
cargo install --path .A Nix flake is provided. Replace <system> in the commands below with your target platform: x86_64-linux, aarch64-linux, x86_64-darwin, or aarch64-darwin.
Build from the current directory:
# Using Nix flake and Nix command CLI
nix --extra-experimental-features "nix-command flakes" build .#packages.<system>.aepc
# Using traditional and stable Nix
nix-build . -A packages.<system>.aepcAdd the application exported by this flake to your NixOS configuration:
# flake.nix
{
inputs.aepc.url = "github:StarryReverie/aepc";
# ...
}
# configuration.nix
{ pkgs, inputs, ... }:
{
environment.systemPackages = [
inputs.aepc.packages.${pkgs.stdenv.hostPlatform.system}.aepc
];
# Optional, merge the following lines with your existing configurations
nix.settings.substituters = [ "https://cache.garnix.io" ];
nix.settings.trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ];
}The source code of this project is licensed under GPL-3.0-or-later, except the portion that embeds the game data.
Arknights: Endfield is a trademark of Hypergryph. All game-related names, images, and data are the property of Hypergryph. This project is an unofficial fan-made tool and is not affiliated with or endorsed by Hypergryph.
Copyright (C) 2026 Justin Chen
