Documentation Index
Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
InsForge Deployments enable developers to deploy web applications with a single prompt. By integrating with coding agents via InsForge MCP, developers can simply say “Deploy my app” and have their application live within a minute—no configuration required.Technology Stack
Core Components
| Component | Technology | Purpose |
|---|---|---|
| Legacy Uploads | AWS S3 | Backward-compatible source zip staging |
| Upload Proxy | Express streaming endpoint | Upload files to Vercel without exposing provider credentials |
| Build Platform | Vercel | Production builds and hosting |
| Status Tracking | PostgreSQL | Deployment state, direct-upload manifest, and metadata |
| Webhook Handler | HMAC-SHA1 | Real-time build status updates |
How It Works
Deployment Flow
Step-by-Step Process
Direct Upload Flow
- Create Deployment: Agent calls
POST /api/deployments/directwith each relative file path, SHA-1 digest, and byte size; InsForge stores the manifest and returns a deployment ID plus a file ID for each manifest entry - Upload Files: Agent streams each file to
PUT /api/deployments/:id/files/:fileId/contentusing bounded client-side concurrency; InsForge validates bytes against the manifest and forwards the stream to Vercel without exposing Vercel credentials - Retry If Needed: If an upload is interrupted, the agent can retry individual file uploads for the same deployment ID. To inspect progress, query
deployments.fileswith a raw SQL tool for thatdeployment_id - Start Build: Agent calls
POST /api/deployments/:id/start; InsForge verifies every manifest file was uploaded, then creates the Vercel deployment with uploaded file SHAs - Build & Deploy: Vercel builds the application and deploys to its edge network
- Go Live: Application becomes available at
https://{app-key}.insforge.site
Legacy Zip Flow
- Create Deployment: Agent calls
POST /api/deploymentsand receives a presigned S3 upload URL - Upload Source Zip: Agent uploads a zip archive to S3
- Start Build: InsForge downloads the zip, extracts source files, uploads them to Vercel, and creates the deployment
- Build & Deploy: Vercel builds the application and deploys to its edge network
- Go Live: Application becomes available at
https://{app-key}.insforge.site
Deployment Status
| Status | Description |
|---|---|
WAITING | Deployment created, awaiting source zip upload or direct file uploads |
UPLOADING | Source files are being proxied to Vercel or deployment creation is in progress |
QUEUED | Build queued on Vercel |
BUILDING | Application being built |
READY | Live and accessible |
ERROR | Build failed |
CANCELED | Deployment canceled |
Environment Variables
Environment variables can be passed during deployment for build-time configuration. They are encrypted at rest and in transit, and are only accessible during the build process. For auditing purposes, only variable names are logged, never values.Current Limitations
Deployments currently has the following constraints:
| Limitation | Details |
|---|---|
| Environment | Production deployments only |
| Custom Domains | Coming soon |
| Preview Deployments | Coming soon |
| Build Logs | Limited visibility |
Performance
Direct Upload Optimization
Deployment uploads stream through InsForge directly into Vercel’s file upload API, enabling:- Lower Memory Use: Source zips are no longer buffered and unzipped by the backend for direct-capable clients
- Credential Safety: Vercel credentials remain server-side while clients upload individual files
- Compatibility: Existing zip/S3 clients can continue using the legacy deployment entrypoint
- Rapid Builds: Vercel’s distributed build infrastructure
- Global Distribution: Deployed applications served from edge locations worldwide
- Low Latency: Sub-100ms response times for static assets
Best Practices
Keep Builds Small
Avoid uploading large assets. Use InsForge Storage and access via URLs.
Use Environment Variables
Configure builds via env vars, not hardcoded values
Test Locally First
Verify builds work locally before deploying
Monitor Status
Check deployment status for build errors