Serverless TypeScript deploys for AI agents
Run Node.js apps with API-first deployments, automatic scaling, and built-in domain management. Deploy from Git, code snippets, or tarballs and ship AI-generated apps fast.
Create and manage deployments entirely through API calls with no dashboard workflow required, making it ideal for AI agents and multi-tenant products.
Read documentationDeploy from Git, code snippets, or tarballs with built-in framework detection for Next.js, Vite, Expo, and TypeScript out of the box.
Read documentationManage customer domains with automatic SSL and wildcard support, while keeping WebSocket apps alive using TCP-aware timeouts.
Read documentationConnect a Git repository for automatic builds and commit tracking, or deploy code snippets directly. Both work through the same API.
Deploy from a public or private Git repo, or send raw code directly.
Framework detection for Next.js, Vite, Expo, Hono, and more. TypeScript just works.
Attach npm packages via lockfile or inline — no install step required.
Assign a custom domain or get a .style.dev preview URL instantly.
import { freestyle } from "freestyle";
// Deploy from a Git repository
const { deployment, domains } = await freestyle.serverless.deployments.create({
repo: "https://github.com/user/nextjs-app",
domains: ["app.example.com"],
build: true
});
// Or deploy raw code directly
const { deployment } = await freestyle.serverless.deployments.create({
code: `
import { Hono } from "hono";
const app = new Hono();
app.get("/", (c) => c.json({ status: "ok" }));
app.get("/users/:id", (c) => {
return c.json({ id: c.req.param("id") });
});
app.fire();
`,
nodeModules: { hono: "4.11.1" },
domains: [`${crypto.randomUUID()}.style.dev`]
});Vercel and Netlify are built for humans deploying their own projects. Freestyle is built for programmatic deployment at scale.
Every deployment runs behind a configurable firewall. Define who can reach your services — from public access at the edge to locked-down internal endpoints — all enforced at the network level.
From API call to live production URL in under one second. No containers—we cache your dependencies across deploys.
Auto-detects Next.js, Vite, Expo, Hono, and more. TypeScript works out of the box—no compile step needed.
Timeouts based on last TCP packet, not HTTP request. WebSockets stay alive as long as you ping—no workarounds.
import { freestyle } from "freestyle";
// Start domain verification
const { instructions, record } = await freestyle.domains
.verifications.create({ domain: "example.com" });
console.log(`Add this DNS record: ${record.type} ${record.name} ${record.value}`);
// After DNS is configured, complete verification
await freestyle.domains.verifications.complete({
domain: "example.com"
});
// Map any subdomain to a deployment
await freestyle.domains.mappings.create({
domain: "app.example.com",
deploymentId
});
// Wildcard certificates work automatically
// preview-123.example.com → deployment A
// preview-456.example.com → deployment BVerify domains, provision SSL certificates, and map subdomains to deployments—all through the API. Wildcard certificates for preview deploys come standard.
Start verification and get the DNS record your customer needs to add.
Once the DNS record is live, confirm ownership through the API.
Point any subdomain to a deployment. Wildcard certificates work automatically.
Certificates are provisioned and renewed automatically — no configuration needed.
Traditional hosting platforms rate-limit their APIs for occasional use. Freestyle expects you to deploy programmatically at scale.
Ship production deploys in seconds. No credit card required.
Deploy agent backends and APIs with fast cold starts and predictable performance.
Map custom domains per customer with automatic SSL and wildcard support.
Run streaming and WebSocket apps without request-timeout workarounds.

