05 / FORMING AI

Forming AI Advisor

Every strain number, FLC margin, Tryout Delta, and PPAP verdict in mStrain is solved deterministically by optical photogrammetry and plasticity equations, never guessed by an LLM. Forming AI reads those verified numbers and helps explain hotspots, compare tryouts, and draft die adjustments.

On iPhone (Three Modes)

  • Offline Advisor (Default): Deterministic master-toolmaker diagnostics over the active project's verified strain numbers, critical cells, HER and R/t flags, and T2 − T1 delta. Zero network traffic.
  • On-Device AI (Apple Foundation Models): Runs locally on Apple silicon with zero network upload. Requires an Apple Intelligence-capable device (iPhone 15 Pro or later on iOS 26+ with Apple Intelligence enabled). On earlier devices such as iPhone 14 Pro, Settings displays its live status honestly and runs the Offline Advisor cleanly instead.
  • Your API Key (BYOK): Enter a personal Claude, OpenAI, or Gemini API key stored solely in the local, non-synced iOS Keychain (WhenUnlockedThisDeviceOnly). Your iPhone calls the selected provider directly; your key never touches mStrain servers.

In Your Desktop Workspace (mstrain.app/w)

  • Built-In Free (Zero-Training Edge AI): Included free inside your signed-in workspace (20 questions per user per day) running on Cloudflare Workers AI over a strict numeric-only forming brief. Prompts are never logged or used for model training.
  • Your Own Subscription (1-Click Handoff): Already pay for ChatGPT, Claude, or Gemini? Click one button to copy the sanitised --- MSTRAIN FORMING BRIEF --- (or download a clean JSON pack) and open it directly in your own AI subscription with zero API key setup.

What Leaves Your Device (External & Web AI Boundary)

Data Included in Forming Brief?
Your QuestionYes
Project LabelsYes. Project name, part number, die ID, press line, alloy and FLC label, and active scale source — sanitised and length-limited
Numeric Run MetricsYes. Gauge, grid pitch, peak major/minor strain, peak thinning, min thickness, FLC utilisation, critical cell summary, HER/R-t counts, and T2 − T1 Tryout Delta
Camera Photos & Raw FramesNever
Unstructured Free-Text NotesNever — omitted as a prompt-injection defence
Your BYOK API KeyOnly to the provider you chose on iPhone. Never sent to mStrain servers

Strict Domain Scope

A built-in domain guard runs before any model or network call. It limits Forming AI to sheet-metal forming, die tryout, FLC, HER and R/t interpretation, and PPAP tryout notes, in English and Turkish. Off-topic questions are refused.