Skip to main content
The polpo deploy command syncs your local .polpo/ directory to Polpo. It uploads agent configurations, teams, missions, playbooks, skills, memory, and vault credentials.

Prerequisites

Your project must be linked before deploying. Use either:
# New project (handles login, project creation, scaffolding)
npx @polpo-ai/cli create

# Existing project
npx @polpo-ai/cli link --project-id <uuid>
Authentication is automatic on first run — the CLI opens your browser for device-code login if needed.

Usage

polpo deploy [options]

Options

FlagDescription
--dir <path>Path to .polpo/ directory (defaults to .polpo)
--yesSkip confirmation prompt
--include-tasksInclude task definitions
--include-runsInclude run history
--include-sessionsInclude session data
--allInclude tasks, runs, and sessions

What gets deployed

Always included:
ResourceSource
Agents.polpo/agents.json
Teams.polpo/teams.json
Memory.polpo/memory.md + .polpo/memory/
Missions.polpo/missions/
Playbooks.polpo/playbooks/
Skills.polpo/skills/
Vault.polpo/vault.enc
Opt-in (with flags):
ResourceFlag
Tasks--include-tasks
Run history--include-runs
Sessions--include-sessions
Everything--all

Deploy flow

1

Check project link

The CLI reads .polpo/polpo.json to identify the target project. If missing, it prompts to create or link one.
2

Scan .polpo/

All files in the .polpo/ directory are scanned and categorized.
3

Display summary

A summary of what will be deployed is printed for review.
4

Confirm

You’re prompted to confirm (skip with --yes).
5

Deploy

Files are uploaded to the project’s subdomain ({project}.polpo.cloud).
6

Report

A deployment report is printed with success/failure status for each resource.
Deploying overwrites the remote state for all included resource types. It does not merge — the remote configuration is replaced with your local .polpo/ contents.