Skip to main content
The polpo deploy command syncs your local .polpo/ directory to Polpo. It uploads agent configurations, missions, playbooks, and optionally your task and session data.

Prerequisites

Log in before deploying:
polpo login
This stores your credentials locally for subsequent commands.

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/
Missions.polpo/missions/
Playbooks.polpo/playbooks/
LLM keysDetected from environment
Opt-in (with flags):
ResourceFlag
Tasks--include-tasks
Run history--include-runs
Sessions--include-sessions
Everything--all

Deploy flow

1

Load credentials

The CLI reads your stored auth token from polpo login.
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 Polpo API.
6

Report

A deployment report is printed with success/failure status for each resource.

Example

$ polpo deploy --include-tasks

  Polpo Deploy
  ──────────────────

  Project:  my-project
  Directory: .polpo/

  Resources found:
    Teams ........... 2
    Agents .......... 5
    Missions ........ 3
    Playbooks ....... 1
    Memory files .... 4
    Tasks ........... 12

  Detected LLM keys:
    ANTHROPIC_API_KEY sk-ant-...xxxx
    XAI_API_KEY xai-...xxxx

  Push LLM keys to cloud? (y/N) y

  Deploy these resources? (y/N) y

  Deploying...
 LLM Keys      2/2
 Teams         2/2
 Agents        5/5
 Missions      3/3
 Playbooks     1/1
 Memory        4/4
 Tasks        12/12

  Deploy complete. 29 resources synced.
Deploying overwrites the remote state for all included resource types. It does not merge — the remote configuration is replaced with your local .polpo/ contents.