Skip to main content
Potpie is a CLI-first product. The command surface is not a thin wrapper around HTTP endpoints — it is the primary interface for local setup, source registration, context retrieval, graph reads, and operational control. Both humans and AI agent harnesses (Claude Code, Cursor, OpenAI Codex, OpenCode) use the same CLI.
New to Potpie? Start with Introduction and Installation before diving into the reference.

Command Families

CLI Manual

Complete man-page style reference. All commands, options, exit codes, environment variables, and file paths in one place.

Setup & Lifecycle

Install Potpie, run first-time setup, verify readiness, inspect local state, and launch the UI.

Context Commands

Pull context for a task, run narrow follow-up searches, and record durable project learnings.

Integrations & Auth

Sign into Potpie, connect GitHub, Linear, Jira, and Confluence, and inspect integration status.

Pots & Sources

Manage workspace boundaries, repo-local defaults, source registration, and ingestion entry points.

Graph & Operations

Daemon lifecycle, services, event ledger, graph workbench, timeline reads, backend profiles, and skills.

Root Command

Global Options

Command Index

Important Model

  • source add registers metadata only. It does not ingest or scan the repository by itself. Context is pulled on demand by resolve, search, agents, or graph reads.
  • External-system sync runs through pot-attached connector commands such as pot linear-team diff-sync and pot jira-project diff-sync.
  • The graph workbench lives under potpie graph. It is a CLI command group, not an HTTP API.
  • All commands default to the active pot. Use --pot <name> to scope a single command without changing the active pot.
  • Local and managed pots use the same CLI surface. After potpie login, managed pots appear in potpie pot list and potpie use.

Output Contract

Exit codes: