Deploying

How Deploys Work

Your agent pushes code and Ink handles the rest — auto-detection, building, deploying, and routing to a live URL

There is no deployment abstraction to learn. Your agent can use the CLI, an Ink Skill, MCP tools, or the dashboard to push code in whatever way is most compatible with the codebase and its goals. Ink handles the rest — auto-detection, building, containerization, and routing.

The agent decides how to structure the code, which framework conventions to follow, and when to deploy. A typical MCP workflow is repo_create, repo_get_token, git push, then service_create. The CLI and Skill expose the same deployment and service-management workflows from the command line.

Deployment flow

Deployment Pipeline
Step 1Code push
Agent pushes to GitHub or Ink’s built-in Git
Step 2Auto-detect
Ink detects language, framework, and build config
Step 3Build
App is compiled and packaged into a container image
Step 4Deploy
Container is rolled out to bare-metal infrastructure
Step 5Route
Traffic is routed to your-service.deployink.com
Your agent tracks each stage in real time using the service_get MCP tool
  1. Code push — your agent commits code and pushes to a git repository
  2. Agent deploys — the agent calls service_create, runs ink deploy, or triggers a redeploy from GitHub or Ink-managed git
  3. Auto-detect — Ink detects the language, framework, and build configuration
  4. Build — the app is compiled and packaged into a container image
  5. Deploy — the container is rolled out to Ink's bare metal infrastructure
  6. Route — traffic is routed to your app at your-service.deployink.com

Your agent monitors every step with service_get or ink status — reading build logs, checking deployment status, and viewing runtime logs.

Deployment stages

StageDescription
QueuedWaiting for build capacity
BuildingInstalling dependencies, compiling, packaging
DeployingRolling out to infrastructure
ActiveLive and serving traffic
FailedBuild or deploy error (agent reads logs to diagnose)
CancelledManually cancelled
SupersededReplaced by a newer deployment

Default configuration

SettingDefaultOverridable
Memory256 MiYes — subject to plan limits
vCPU0.25Yes — subject to plan limits
Port3000Yes — any port
Build packAuto-detectYes — railpack, dockerfile, static
BranchmainYes — any branch

Your agent overrides any of these when calling service_create, service_update, or the matching CLI command.

Resource allocation

Each service runs with a dedicated allocation of memory and CPU. Your agent sets these via the memory and vcpus parameters on service_create or service_update, or with the corresponding CLI flags.

MemoryvCPU
256 Mi (default)0.25
512 Mi0.5
1024 Mi1
2048 Mi2
4096 Mi4

Choosing the right tier:

  • 256 MB — simple APIs, static sites, small Node.js/Python apps
  • 512 MB — moderate traffic APIs, Next.js apps
  • 1024 MB — data processing, larger apps
  • 2048 MB+ — memory-intensive workloads, large datasets

Ink tracks CPU, memory, and network metrics for every service. Your agent can check whether a service is hitting resource limits and scale up accordingly.

What's next

On this page