FormulAI is a premium-feeling AI formulation assistant for specialty chemical R&D teams. A chemist describes a target product, tunes sustainability and cost posture, picks a regulatory region, and gets back a structured concept card with ingredient ranges, trade-off commentary, regulatory flags, and a polished export view.
- Specialty chemical formulators exploring first-pass concepts
- Innovation teams comparing performance, cost, and sustainability posture
- Technical sales and applications groups preparing internal review cards
- Captures a formulation brief from a more cinematic control surface
- Streams structured JSON from the Groq API into a live formulation workspace
- Renders ingredient architecture, trade-off scoring, and regulatory watch-outs
- Saves recent formulation sessions in
localStorage - Exports a clean browser print view suitable for PDF handoff
- React + Vite frontend
- Tailwind CSS for styling
- Express API route for local development and Vercel deployment
- Groq Chat Completions API with JSON output mode
-
Install dependencies:
npm install --legacy-peer-deps
-
Create an environment file:
cp .env.example .env
-
Add your Groq API key to
.env. -
Start the app:
npm run dev
-
Open
http://localhost:5173.
GROQ_API_KEY: requiredGROQ_MODEL: optional, defaults toopenai/gpt-oss-20b
This project is structured for Vercel with the API entrypoint at api/formulate.js. Add the same environment variables in Vercel before deploying.
Generated formulations are intended for expert screening only. Bench validation, SDS review, supplier confirmation, and jurisdiction-specific compliance review are still required before use.
