Skip to content
qunevoPublic

About

Next-gen production scheduling & multi-objective optimization for discrete manufacturing. Bridges the gap between theoretical APS and real-world shop floors by combining a easy-extensible hybrid algorithmic core with LLM workflows for dynamic scenario analysis, custom constraint injection, and ERP/MES/Excel integration. Self-hosted.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

APEX

CI

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.

Repository areas

  • 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.

Start APEX

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 --build

This 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 connect

The 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 --build

The 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.

Documentation

Start with the documentation index. The main references are:

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.

Contributing and support

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.

License

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.

About

Next-gen production scheduling & multi-objective optimization for discrete manufacturing. Bridges the gap between theoretical APS and real-world shop floors by combining a easy-extensible hybrid algorithmic core with LLM workflows for dynamic scenario analysis, custom constraint injection, and ERP/MES/Excel integration. Self-hosted.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages