APEX is an experimental Rust scheduler for discrete production, built for agent tool use. It supports alternative workplans, conditional activity graphs, quantity/order expansion, existing-supply material allocation, native customization hooks and independent schedule validation. XG construction, XH hypersearch, XT tree search and XE schedule evolution share the same scheduling rules. A central middleware serves agents over MCP/HTTP and presents results through an MCP App or optional desktop client.
The central server owns scenarios, background runs, approvals and persistent state. The separate compatibility executable retains its file-backed tools and browser viewer. Neither scheduling path needs a model API key or external solver.
- app/ is the independent customer source distribution, with its own manifests, lockfiles, license, product skills, deployment helpers and tests. Build and run it without the parent repository. Keep local data and generated files out of distributed copies.
- demo/ composes the fictional MES/Excel showcase around the application.
- dev/ contains contributor documentation, fixture generation, wiki/publication tooling and standalone verification.
- .agents/skills/ contains repository development workflows.
- .github/ contains CI and contribution infrastructure.
- benchmark/ contains the unchanged frozen reproduction package.
From the repository root, enter app/. Install Docker with Linux containers and Docker Compose 2.20.3 or newer. No host Rust, Python or Node.js installation is needed.
cd app
docker compose up --buildThis builds APEX and starts PostgreSQL, initialization and migrations. Connect a supporting chat host to http://127.0.0.1:8780/mcp. Keep the stack running and use a second terminal to display the connection details:
docker compose exec apex apex-container connectThe MCP App is displayed inside the chat. The optional desktop is a separate display client. The base stack does not activate a customization or start source systems. Read the container guide for retained state, ports, configuration and shutdown, and control platform for tools and clients.
For native Rust builds, direct scheduling commands and the retained file-backed viewer, use the operating guide. The compatibility viewer at port 8765 has its own state and tool catalog; Compose does not start it.
For the complete MES/Excel showcase, start from the repository's demo/ directory instead:
cd demo
docker compose up --buildThe demo includes the same APEX stack and adds its MES at http://127.0.0.1:8788. Start one stack at a time with the default ports. Source-system mapping is still pending; see the demo guide.
Start with the documentation index. The main references are:
- Operating guide: build, run, verify and understand capability limits.
- Executable data model: fields, units, relationships, commitments and KPIs.
- Agent workflows and integration: chat-led planning and tool access.
- Material preparation, search and direct evolution: current behavior and boundaries.
- Architecture: current modules, evaluation flow, state boundaries and change map for coding agents.
- Migration audit: v2 comparison, implemented coverage and remaining migration boundaries.
- Benchmark of 24 September 2026: frozen sources, scientific instances, results and standalone reproduction instructions in one ZIP.
The factory showcase combines a fictional MES with Excel planning. Its application integration belongs to customization/demo; the live adapter is still pending. Technical regression inputs live under app/tests/fixtures.
The current input schemas ship with the application release and have no independent version numbers. Use the schemas generated by the installed tool; historical input formats are not supported. Rust is the sole scheduling implementation; the migration audit records the v2 source removal and historical comparisons. Tested coverage does not establish complete legacy parity, optimality or production readiness. Repository documentation and examples use English, and all fixtures are deliberately synthetic.
Read the contribution guide before starting a change. Use Discussions for questions and issue forms for reproducible bugs and feature requests. Keep all shared examples deliberately synthetic.
The support guide, Code of Conduct, security policy and repository maintenance guide describe the community channels and review process. Report vulnerabilities privately. Upstream contribution rights require a separate agreement; posting a pull request does not accept one.
APEX is distributed under the APEX Source Available License 1.1. The root license contains the complete public grant, eligibility and pricing rules. It is source available, not OSI-approved open source.
See the licensing overview and pricing and eligibility. There is no per-operation, per-user, per-site or per-run metering. Commercial and contributor agreements require separate acceptance; the legal documentation explains the published document roles. Third-party components retain their own licenses. Publication preparation records the release checks.