Vibe Coding General Template is built with the Claude Agent SDK and TypeScript. Use it to generate SPA, SSG, and similar web apps from natural language. File writes, dependency installation, and live preview run in an isolated sandbox. Agent Runtime then deploys the generated project to the Makers platform through the SDK.
-
Create an API Token.
-
Start from the example template below.
-
On the deploy configuration page, set the
API_TOKENenvironment variable. -
Click deploy and wait for Makers to finish the build and return a URL.
Call sandbox getHost(9000) for the public host, then append envdAccessToken as access_token to build the preview URL.
const workspace = createMakersWorkspacePort(context);
const previewHost = await workspace.getHost?.(PREVIEW_PUBLIC_PORT);
const accessToken = workspace.accessToken;
const browserLiveUrl = workspace.browserLiveUrl;
return {
previewUrl: resolvePreviewUrl({
previewHost,
accessToken,
browserLiveUrl,
pathPrefix: PREVIEW_PATH_PREFIX,
}),
};Agent Runtime uses API_TOKEN to call the Makers SDK, upload the artifact, and trigger build and deploy.
const deployment = await makers.deployments.deploy({
projectId,
artifact: { archive: tmpZip },
wait: true,
onStatusChange: (event) => {
options.onStage('deploying', event.deployment.status);
},
});See Makers SDK for the integration details.
-
From the project root, install the EdgeOne CLI:
npm install -g edgeone
-
Sign in to EdgeOne and link the Makers project you want to debug:
edgeone login edgeone makers link
Linking syncs the console
API_TOKENand the Models API key to your local environment. -
Start the Makers local development environment:
edgeone makers dev
After it starts, open:
-
Agent app: http://localhost:8088/
-
Observability traces: http://localhost:8088/agent-metrics
If the project is connected to a Git repository, pushing code triggers a Makers CI build and deploy. You can also deploy with the CLI:
# Deploy to production
edgeone makers deploy -n <project-name>After a successful deploy, use the Console link to open the build details and the live URL.