About
开源工艺追因与优化系统:把真实运行变成可追溯证据,帮助工程师找差异、验原因、定下一份配方。
Web & App DevelopmentMeasured star growth
- in 24h
- Update delayed
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalOpen-source Process R&D and Optimization System
From process data to evidence-based R&D decisions.
Website · Documentation · Report an issue · Discuss
简体中文 · English
Table of contents
About the project
Ingot is an Open-source Process R&D and Optimization System. Organize recipe versions, experiment records, and run evidence to support quality analysis, process analysis (including process diagnosis), and recipe optimization.
It serves R&D work with costly recipes, limited samples, and explicit quality objectives and safety boundaries. Engineers review actual conditions, process change, and quality outcomes in one place, compare eligible runs, and decide the next recipe inside those constraints. Recommendations are never dispatched to equipment.
The core chain is: run evidence → quality inspection → process analysis → next-recipe recommendation → engineer decision → outcome frozen from the later real run.
The repository claims only code, automated tests, and reproducible software behavior. Deployers evaluate applicability, safety, and realized benefit with their own data. See Current status for what is implemented.
Technology
| Part | Technology |
|---|---|
| Business services | .NET 10 |
| Engineering workbench | React 19, Vite |
| Data | PostgreSQL 17, TimescaleDB |
| Numerical optimization | Python 3.12 |
| Deployment | Docker Compose |
Repository layout
| Path | Responsibility |
|---|---|
src/platform |
Business API, system of record, evidence assembly, and background work |
src/edge |
External event ingestion, offline buffering, and delivery |
src/agent |
Read-only analysis, knowledge retrieval, and evidence explanation |
src/shared |
Domain models and cross-module contracts |
optimizer |
Response surfaces, constraint checks, and sequential optimization |
apps/platform |
Engineering workbench |
apps/website, apps/docs-site |
Public website and documentation site |
tests, deploy, scripts |
Tests, deployment manifests, and architecture gates |
Getting started
Choose an entry by objective:
| Objective | Path | Completion signal |
|---|---|---|
| Start locally | Getting started | Migration succeeds, services are healthy, and sign-in works; no external-system account or equipment connection is required |
| Evaluate the real-evidence workflow | Current status → Pilot guide | Check data admission using authorized real runs and reviewed quality outcomes |
| Contribute | Contributing | Install tools for the change area and verify it; the full gate is in the guide |
Prerequisites
Trying the full stack requires Git, Docker Engine or Docker Desktop, and Docker Compose v2. That path does not require a local .NET, Node.js, or Python install.
Source development also requires .NET SDK 10, Node.js 22.22+, and uv 0.12.5. See Contributing for commands and engineering contracts.
Installation
git clone https://github.com/liuweichaox/Ingot.git
cd Ingot
cp .env.example .env
Before startup, replace every change-this- placeholder in .env. Use a random database password. Set a separate random administrator password, or leave it empty so the first migration generates one. In PowerShell, replace the copy command with Copy-Item .env.example .env.
docker compose -f docker-compose.app.yml config --quiet
docker compose -f docker-compose.app.yml up -d --build
docker compose -f docker-compose.app.yml ps -a
After platform-migrate exits successfully and the database, API, Worker, Optimizer, and Web are healthy, open http://localhost:3000. Sign in with the administrator account in .env. If its password is empty, read the initially generated password with docker compose -f docker-compose.app.yml logs platform-migrate. Changing .env does not reset an existing account. See Getting started for complete instructions.
Usage
After sign-in, publish a recipe version that defines variables and boundaries. External adapters can send actual settings, process trajectories, and run context through Edge. Manually entered records or existing records from adjacent systems can also be linked. A run becomes an optimization observation only when trustworthy run facts and quality outcomes together pass admission.
The system proposes the next recipe inside safety boundaries and observed coverage. The engineer adopts it as the next-run correction, or turns a significant change into a revision draft; a later real run, parameter readback, and inspection record freeze the outcome once.
Workbench
AI Assistant (Ingot Chat, separate investigation entry)
Field Operations → Run Records / Production Changeover / Tooling Installation / Inspection Tasks / Quality Deviations / Data Quality
Process Insight → Process Analysis / Process Materials / Mechanism Knowledge
Recipe Optimization → Recipe Versions / Adjustment & Validation
Configuration & Integration → Process & Quality / Field Integration / Production Resources
System Administration → Users, status, logs, raw events, and model services
This is the current workbench navigation, not a mandatory operating sequence. The daily business path is Field Operations → Quality Inspection → Process Insight → Recipe Optimization; Process Insight also provides process materials and mechanism knowledge. The user-facing boundary is a factory or independent production site, which also bounds data and authorization; the system identifies it internally with SiteId. Ingot Chat verifies authorized formal records and reviewed materials with source citations. It does not replace an engineer's decision or automatically change production parameters.
Field adapters and enterprise systems are optional data sources. Without trustworthy run facts, the system does not produce a recommendation.
| Adjacent system | Boundary |
|---|---|
| MES, ERP, SCADA, historian | May supply run facts; does not replace MES scheduling, production execution, real-time monitoring, or real-time control |
| LIMS, QMS, ELN | May supply inspection and R&D context; does not replace laboratory, quality, sample, compliance, or document management |
| Statistical and optimization methods | Selected by data conditions; no single algorithm is the answer to every problem |
| Ingot Chat | Verifies authorized facts and reviewed process materials with source citations; does not generate numeric settings directly or control equipment |
Platform API is the system of record. Optimizer holds no business state. Agent reads facts only through authorized read-only tools. See Production architecture for topology and the Recipe-optimization pilot guide for the first recommendation.
Documentation
Choose a reading path from the documentation index or online documentation:
- First use: Getting started → Recipe-optimization pilot guide.
- Understand the system: System design, Data model, and Analysis and optimization.
- Connect and operate: Data integration, Production architecture, and Deployment.
- Assess fit: Current status and Field evaluation.
- Contribute: Contributing.
Repository Markdown files are the documentation source; the documentation site publishes the same content. See 中文文档 for Chinese.
Roadmap
- Record adoption, modification, rejection, and outcome freeze on the published recipe version
- Present run evidence completely: actual values, provenance, gaps, and quality review
- Explain recommendation admission and trace rejection reasons to run and quality records
- Verify knowledge constraint applicability, conflict handling, and recommendation provenance
- Make backup and restore, capacity, and alerting independently acceptable
See Current status for delivered capabilities, the Pilot guide for site evaluation, and Deployment for operational acceptance. Open work is tracked in Issues.
Contributing
Contributions are welcome for statistical methods, optimization, tests, documentation, and adapter contracts; site-specific equipment adapters are maintained outside this repository.
- Read Contributing, the Code of Conduct, and the Security Policy.
- Check Issues or Discussions for duplicates. Describe the scenario and verification for a larger change first.
- Open a pull request. Report vulnerabilities through private reporting, not a public issue.
Run ./scripts/verify.sh before submitting.
License
Ingot is licensed under the Apache License 2.0.
Contact
- Website: https://ingotstack.com/en/
- Documentation: https://docs.ingotstack.com/en
- Issues: https://github.com/liuweichaox/Ingot/issues
- Discussions: https://github.com/liuweichaox/Ingot/discussions
- Security: https://github.com/liuweichaox/Ingot/security/advisories/new
Acknowledgments
The README structure follows Best-README-Template.
See Contributing for dependency adoption and review. Exact versions come from lockfiles and the deployed container manifests.
Explore related projects
Loading…