Skip to main content
Potpie uses pots as workspace or tenant boundaries. Sources are then registered against a pot. This is the part of the CLI that controls where context lives and which repository or external system belongs to that context boundary.

Top-Level Alias: potpie use

potpie use [OPTIONS] REF
Top-level alias for potpie pot use.
OptionTypeDescription
--localboolForce local-origin pot selection.
--managedboolSelect a managed-origin pot.

potpie pot

potpie pot COMMAND [ARGS]...

Core Pot Commands

CommandPurpose
potpie pot listList available pots.
potpie pot infoShow the active pot.
potpie pot create <name>Create a new pot.
potpie pot use <ref>Make a pot active.
potpie pot linked --repo currentShow pots linked to a repo and any repo-local default.
potpie pot rename <ref> <new-name>Rename a pot.
potpie pot reset [ref] --confirmReset graph state for a pot.
potpie pot archive <ref>Archive a pot.

Important Options

potpie pot list
OptionDescription
--localLocal-origin pots only.
--managedManaged-origin pots only.
--allShow local and managed pots together.
potpie pot create
OptionDescription
--repoAssociate a repository at creation time.
--useMake the new pot active immediately.

Repo-Local Defaults

potpie pot default COMMAND
Repo-local defaults let a repository resolve to the right pot automatically.
CommandPurpose
potpie pot default show --repo currentShow the repo-local default pot.
potpie pot default set <ref> --repo currentBind a repo to a default pot.
potpie pot default clear --repo currentRemove the repo-local default binding.

Source Registration

potpie source COMMAND

Important model

potpie source add registers metadata only. It does not ingest, parse, or scan by itself. The diagram below shows how context enters the graph:
source add registers a repository once; context is pulled when agents or developers actually need it.

Source commands

CommandPurpose
potpie source add <kind> <location>Register a source record.
potpie source listList sources for a pot.
potpie source status <source_id>Inspect one source record.
potpie source remove <source_id>Remove a source record.

potpie source add

potpie source add [OPTIONS] KIND LOCATION
ParameterTypeDescription
kindstrSource type, such as repo, github, or document.
locationstrPath, owner/repo, URL, or integration-specific source location.
OptionTypeDescription
--namestrOptional display name for the source.
--potstrPot to register against.
--default / --no-defaultboolFor repo sources, set or skip repo-local default routing.
Examples:
potpie source add repo .
potpie source add github potpie-ai/potpie
potpie source add document https://internal.wiki/runbook/auth-migration

Ingestion Entry Points

This is where your expectation mattered: ingestion is not a separate generic ingest top-level command. Instead, ingestion shows up in pot-attached external-system workflows:

Linear team sync

potpie pot linear-team diff-sync TEAM
CommandPurpose
diff-syncQueue an incremental graph-audit diff sync for a Linear team.

Jira project sync

potpie pot jira-project diff-sync PROJECT
CommandPurpose
diff-syncQueue incremental Jira project diff-sync into a pot.
potpie pot list
potpie pot create my-repo --repo . --use
potpie source add repo . --default
potpie pot linked --repo current