A look under the hood at how Openship uses AI to detect frameworks, generate configs, and optimize builds automatically.
When you run openship deploy, a lot happens before your app goes live. Here's how the AI build system works.
Openship scans your project for signals:
package.json scripts and dependenciesnext.config.js, nuxt.config.ts, Cargo.toml, etc.)This produces a confidence-scored framework match. If Openship detects Next.js with 95% confidence, it uses the Next.js build pipeline. If there's a Dockerfile, it uses that directly.
Based on the detected framework, Openship generates:
npm run build, go build, etc.npm start, ./server, etc.You can override any of these in openship.json.
The AI layer optimizes the build:
After deployment, Openship verifies:
If any check fails, the deployment is rolled back automatically.
We're working on AI-powered diagnostics — when a build fails, Openship will analyze the error and suggest fixes. Stay tuned.