Examples

Svelte

Learn how to deploy a SvelteKit app with Ink using a simple prompt.

Create an Ink account and connect Ink

Make sure you have an Ink account and have set up Ink for your agent. Use the CLI, the Ink Skill, or MCP. For MCP auth, choose:

See Quick Start for full setup instructions.

Verify the connection

Once Ink is connected, confirm your agent can reach it by asking it to check.

Prompt

Do you have Ink connected?

Create a Svelte app

Ask your agent to scaffold a new SvelteKit project. If you already have a Svelte app in the current directory, skip this step and go straight to deploying.

Prompt

Build a Svelte app that fetches and displays weather data from a public API. Use SvelteKit with server-side rendering.

Deploy with Ink

Tell your agent to deploy. The agent will create a git repository on Ink's internal git (or your connected GitHub), push the code, and call service_create to trigger a build.

SvelteKit apps with SSR run as a server process — Ink auto-detects the framework and starts the Node adapter.

Prompt

Deploy with Ink

Tool Call
(
  : 
)
Tool Call
(
  : ,
  : ,
  : ,
  : {
    "0": "[object Object]"
  }
)

Visit your website

Ink returns a live URL once the build completes. Visit it to see your app running in production.

Check logs and metrics (optional)

Ask your agent to pull build logs, runtime logs, or metrics for your deployed service.

Prompt

Check metrics and logs

Tool Call
(
  : "weather-app",
  : ,
  : 
)

That's it — your SvelteKit app is deployed and live. From here you can add a custom domain, set up environment variables, or explore more examples.

On this page