---
title: "AI Copilot"
description: "Manage your Miget cloud infrastructure through AI-powered editors using Miget Agent Skills"
icon: "wand-magic-sparkles"
---
Deploy, manage, and debug your infrastructure using natural language - directly from Cursor, Claude Code, or Windsurf. No dashboard needed.
## What are Miget Agent Skills?
[Miget Agent Skills](https://github.com/migetapp/agent-skills) is an open-source package that teaches your AI editor the full Miget API. It follows the [Agent Skills Open Standard](https://github.com/anthropics/agent-skills), so your editor automatically picks it up after installation.
Once installed, your AI copilot can:
- **Deploy apps** - create, configure, and deploy applications from your IDE
- **Manage databases** - provision PostgreSQL, MySQL, or Valkey, rotate credentials, check connection strings
- **Configure environment** - set environment variables, manage domains, configure ports, adjust security settings
- **Monitor and debug** - stream build logs, check deployment status, troubleshoot failed deploys
- **Scale resources** - upgrade plans, adjust CPU and RAM allocations
- **Automate workflows** - set up cronjobs, manage rollbacks, rotate passwords
Miget Agent Skills includes the full [OpenAPI spec](https://app.miget.com/api/v1/docs) so your AI editor can look up any endpoint it needs. The package is [open source on GitHub](https://github.com/migetapp/agent-skills) and updates automatically when new features ship.
## Getting started
Run the following command in your project root:
```bash
npx skills add migetapp/agent-skills
```
This works with Cursor, Claude Code, and Windsurf. Your editor auto-detects the installed skill.
Go to your [Miget dashboard](https://app.miget.com) and create an API token. Tokens are prefixed with `miget_live_` and don't expire unless you revoke them.
Ask your AI copilot to deploy an app, create a database, configure a domain - anything you'd normally do in the dashboard or CLI. Provide your API token when prompted.
## Example: deploy a full-stack app with a database
Here's what a real conversation with an AI copilot looks like:
```text
You: Deploy a Node.js app called "todo-api" with a PostgreSQL database.
Use my default workspace, EU region, Starter plan.
Copilot: I'll set that up. Let me:
1. Create a Starter resource in EU
2. Create a project "todo-api"
3. Create the application with Node.js buildpack
4. Attach a PostgreSQL addon
Done! Here's your setup:
✓ Resource: Starter (1 vCPU, 512 MiB) in EU
✓ Project: todo-api
✓ Application: todo-api (buildpack mode)
✓ PostgreSQL addon attached
→ DATABASE_URL added to your environment variables
Push your code to deploy:
git remote add miget
git push miget main
You: Add a custom domain api.myproject.com to this app.
Copilot: I've configured the domain. Add this DNS record:
CNAME api.myproject.com → todo-api.b.miget.dev
TLS certificate will be provisioned automatically once DNS propagates.
You: The deploy looks stuck, can you check?
Copilot: Checking build logs... The build failed at dependency install.
Error: "npm ERR! Could not resolve dependency: peer react@^18"
Looks like a peer dependency conflict. Want me to rollback to the
previous version while you fix it?
```
## Editor-specific guides
For detailed setup instructions per editor:
Set up Claude Code for Miget workflows
Configure Cursor with Miget rules
Set up Windsurf for Miget projects
The open standard that connects AI assistants to your infrastructure.