Deploy logo

Deploy

Organization
pipecat-ai
deploy

Deploy an agent to Pipecat Cloud

Overview

Publisherpipecat-ai
Repositoryskills
Skill namedeploy
Stars
29
Forks
5
Bundled files
Instructions only
LicenseBSD-2-Clause
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by pipecat-ai on GitHub. Read the source before you install it.

Installation

Install the Deploy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/pipecat-ai/skills/tree/main/skills/deploy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pipecat-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/deploy .claude/skills/deploy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Deploy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Deploy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Deploy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Deploy an agent to Pipecat Cloud. This skill walks through the full deployment process interactively, confirming each step with the user.

Arguments

/deploy [--config <PATH>] [--env <PATH>]
  • --config (optional): Path to pcc-deploy.toml. Defaults to pcc-deploy.toml in the current directory.
  • --env (optional): Path to .env file for creating secrets. If not provided, the skill will look for a .env file in the same directory as the config file.

Examples:

  • /deploy
  • /deploy --config examples/mybot/pcc-deploy.toml
  • /deploy --config examples/mybot/pcc-deploy.toml --env examples/mybot/.env

Prerequisites

Before starting, verify these prerequisites and inform the user about any that are missing:

  1. Pipecat CLI: Check if pipecat is installed by running pipecat --version. If not installed, tell the user to install it with uv tool install pipecat-ai-cli and stop.

  2. Pipecat Cloud authentication: Check if pipecat cloud auth whoami succeeds. If not authenticated, do not try to run login yourself — pipecat cloud auth login opens a browser for an OAuth flow that Claude can't complete. Instead, tell the user to authenticate by running pipecat cloud auth login in their terminal (suggest the ! pipecat cloud auth login form so the output lands in the session). Wait for them to confirm, then re-run pipecat cloud auth whoami to verify before proceeding.

  3. Configuration file: Read the pcc-deploy.toml file (from --config argument or current directory). If it doesn't exist, tell the user they need a pcc-deploy.toml and stop. Parse and display the configuration to the user (agent_name, image, secret_set, etc.).

If any prerequisite fails, stop and clearly explain what needs to be fixed. Do not proceed to the next steps.

Deployment Method

After prerequisites pass, ask the user how they want to deploy using AskUserQuestion:

  • Cloud Build (Recommended): Pipecat Cloud builds your Docker image from source. No local Docker required.
  • Self-managed image: Build and push your own Docker image from your machine, then deploy.

Important: Running Commands

All pipecat cloud commands must be run from the directory containing the pcc-deploy.toml file. Use cd <dir> && <command> to ensure the correct working directory.

Several pipecat cloud commands prompt for interactive confirmation which doesn't work in this environment. Skip the prompts with these flags:

  • pipecat cloud deploy: Use --force (e.g., pipecat cloud deploy --force)
  • pipecat cloud secrets set: Use the --skip flag (e.g., pipecat cloud secrets set NAME --file .env --skip)

pipecat cloud docker build-push runs non-interactively and has no confirmation prompt, so no extra flag is needed.


Cloud Build Path

This path uses Pipecat Cloud to build your Docker image from source. No local Docker installation is required.

Step 1: Verify Dockerfile and Lockfile

Check that a Dockerfile exists in the build context directory (the directory containing pcc-deploy.toml, or the context_dir from the [build] section of the config). If no Dockerfile is found, tell the user they need one and stop.

If the Dockerfile references uv (e.g., uv sync, uv pip install, COPY uv.lock), check that a uv.lock file exists in the build context directory. If it doesn't exist, run uv lock to generate it. If it already exists, run uv lock to ensure it's up to date. The lockfile must be present and current because cloud builds run remotely and cannot generate it.

Step 2: Secrets Setup

Ask the user if they need to create or update secrets for this deployment.

  • If yes, determine the env file path (from --env argument, or look for .env in the same directory as the config file, or ask the user).

  • Read the secret_set name from the pcc-deploy.toml configuration.

  • Run: pipecat cloud secrets set {SECRET_SET_NAME} --file {ENV_FILE_PATH} --skip

  • Show the output to the user.

  • If no, skip this step.

Step 3: Deploy

Ask the user to confirm they want to deploy the agent.

  • Show a summary of what will be deployed (agent_name, secret_set from the config).
  • Run from the config directory: pipecat cloud deploy --force
  • Use a generous timeout (10 minutes) as the cloud build and deployment can take a while.
  • This command handles both the cloud build and the deployment automatically.
  • If the command times out but no error occurred, retrieve the build ID from the command output and run pipecat cloud build logs {BUILD_ID} to check build progress. Share the output with the user.
  • If the build succeeds but deployment times out, check agent logs with pipecat cloud agent logs {AGENT_NAME} and share with the user.
  • Show the deployment output and status to the user.

Cloud Build Error Handling

  • If the build fails, retrieve the build ID from the command output and run pipecat cloud build logs {BUILD_ID} to show the user what went wrong.
  • Common cloud build issues:
    • Missing or invalid Dockerfile
    • Build context too large (500MB limit) — check for large files that should be in .dockerignore
    • Build timeout — the build exceeded the maximum duration

Self-Managed Image Path

This path builds and pushes the Docker image from your machine. Requires Docker to be installed and running.

Step 1: Docker Prerequisites

Check these additional prerequisites:

  • Docker: Check if docker info succeeds (daemon running). If not, tell the user to start Docker and stop.
  • Docker login: Check if docker login succeeds. If not logged in, tell the user to run docker login and stop.

Step 2: Secrets Setup

Ask the user if they need to create or update secrets for this deployment.

  • If yes, determine the env file path (from --env argument, or look for .env in the same directory as the config file, or ask the user).

  • Read the secret_set name from the pcc-deploy.toml configuration.

  • Run: pipecat cloud secrets set {SECRET_SET_NAME} --file {ENV_FILE_PATH} --skip

  • Show the output to the user.

  • If no, skip this step.

Step 3: Build and Push Docker Image

Ask the user if they want to build and push the Docker image.

  • If yes:

    • First, check if uv.lock exists in the config directory. If so, run uv lock to ensure it's up to date before building.
    • Run from the config directory: pipecat cloud docker build-push
    • Use a generous timeout (5 minutes) as builds can take a while.
    • If the build fails due to a stale lockfile, run uv lock in the config directory and retry.
    • If the build fails for other reasons, show the error and ask the user how to proceed.
  • If no, skip this step (image may already be pushed).

Step 4: Deploy

Ask the user to confirm they want to deploy the agent.

  • Show a summary of what will be deployed (agent_name, image, secret_set from the config).
  • Run from the config directory: pipecat cloud deploy --force
  • Use a generous timeout (5 minutes) as deployment may take time to reach ready state.
  • If deployment times out but no error occurred, check logs with pipecat cloud agent logs {AGENT_NAME} and share with the user — the deployment may still be starting up.
  • Show the deployment output and status to the user.

Self-Managed Image Error Handling

  • Common issues:
    • Docker not logged in to the image registry (docker login)
    • Missing image field in pcc-deploy.toml
    • Stale uv.lock file — run uv lock to fix

General Error Handling

  • If any pipecat cloud command fails, show the full error output and explain what might have gone wrong.
  • Common issues for both paths:
    • Invalid or expired Pipecat Cloud authentication
    • Missing or malformed pcc-deploy.toml
    • Secret set name mismatch between config and what exists in Pipecat Cloud

Completion

After a successful deployment, summarize what was done:

  • Deployment method used (cloud build or self-managed image)
  • Secrets created/updated (if applicable)
  • Image built and pushed (if applicable)
  • Agent deployed with name from config

Frequently asked questions

What does the Deploy AI skill do?

Deploy an agent to Pipecat Cloud

Why use Deploy on TypingMind?

Because you install it once and use it with any model. Deploy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Deploy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/pipecat-ai/skills/tree/main/skills/deploy. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Deploy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Deploy?

As many as you like. As long as a model supports skills, you can use Deploy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Deploy AI skill free?

Yes. It is published on GitHub by pipecat-ai under the BSD-2-Clause license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇