Skip to main content

NAME

potpie — context-graph CLI for AI agents and local developer workflows.

SYNOPSIS

DESCRIPTION

potpie is the primary interface for the Potpie context engine. It provisions a local daemon, manages workspace boundaries (pots), registers source systems, retrieves bounded context for coding tasks, and administers the underlying project-memory graph. The engine runs locally as a detached daemon or in-process. The same command surface routes to a managed backend when a managed pot is active.

GLOBAL OPTIONS

COMMANDS

setup

Idempotent first-run provisioning: config, storage, daemon, default pot, and agent skills. Safe to re-run. Presents an interactive wizard on TTYs.

status

Integration auth status by default. Use --host for daemon, pot, backend, and skills readiness.

doctor

Run a full local diagnostic: daemon mode and health, CLI install paths, backend profile and capability readiness, active pot, and ledger binding.

whoami

Print the currently authenticated identity, mode (local or managed), and detail. Local installs report a none identity.

resolve

Pull bounded context for a task description. Takes a natural-language task, queries the project-memory graph, and returns a scoped context envelope.
Narrow follow-up lookup on a known phrase, symbol name, or entity.

record

Write a durable project learning to the graph.

use

Set the active pot by name or id. Top-level alias for potpie pot use.

login

Sign in to Potpie. Opens a browser-based session by default, or stores an API key with --api-key.

logout

Remove Potpie account credentials from local storage.

ui

Launch the local graph-explorer UI served by the daemon.

COMMAND GROUPS

pot

Manage workspace boundaries. A pot is a named scope that groups sources, graph data, and agent context.

source

Register and inspect source systems within a pot. source add records metadata only — it does not ingest or scan.

github

linear

jira

confluence

daemon

Local daemon lifecycle. These are recovery and inspection tools; normal use does not require them.

service

Control supporting services managed by the daemon. Only meaningful when a detached daemon is running.

ledger

Inspect and manage the Event Ledger binding and consumer cursor. ledger query options:

graph

Graph workbench: reads, writes, quality checks, inbox, and administration. graph read options: graph search-entities options: graph mutation-template supported --kind values: bug-fix · decision · feature · infra-snapshot · preference · preference-policy · repo-baseline · timeline-change · timeline-event

timeline

timeline recent options:

backend

Graph backend profile selection and health checks.

skills

Manage CLI-installed agent skills. Skills are installed into agent harnesses; they are not graph data and not additional agent tools. Common options:

cloud

Managed profile and sync commands. All subcommands currently return a structured not-implemented response.

config

Read or write local configuration entries. Persisted to ~/.potpie/config.json.

telemetry

Control product analytics and error reporting preferences.

EXIT STATUS

ENVIRONMENT

FILES

EXAMPLES

SEE ALSO