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
| Option | Description |
|---|---|
--json | Emit machine-readable JSON. Useful for piping to jq or consuming from agent harnesses. |
--verbose, -v | Show verbose tracebacks on errors. |
--version | Print potpie-context-engine version, Python version, and executable path. |
--help | Show root help. Available on every subcommand. |
Command Index
| Family | Commands |
|---|---|
| Context | resolve, search, record |
| Setup & readiness | setup, status, doctor, whoami, ui, config |
| Auth & integrations | login, logout, github, linear, jira, confluence, auth |
| Workspace routing | use, pot, source |
| Runtime operations | daemon, service, ledger, graph, timeline, backend, skills, cloud |
Recommended First-Run Sequence
Important Model
source addregisters metadata only. It does not ingest or scan the repository by itself. Context is pulled on demand byresolve,search, agents, or graph reads.- External-system sync runs through pot-attached connector commands such as
pot linear-team diff-syncandpot 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 inpotpie pot listandpotpie use.
Output Contract
| Format | How to get it |
|---|---|
| Human (default) | Action-oriented summary with a recommended next command |
| JSON | Pass --json to any command |
| Code | Meaning |
|---|---|
0 | Success |
1 | General error |
2 | Usage or argument validation error |
3 | Degraded — setup completed but one or more hard steps failed |
4 | Authentication error |
5 | Service unavailable |

