Install the Potpie CLI, run first-time setup, and verify your environment.
This page covers everything you need to go from zero to a working local Context Engine: prerequisites, installation, first-time setup, supported harnesses, and how to verify the installation.
Claude Code, OpenAI Codex, Cursor, or OpenCode (at least one)
uv tool install is recommended for CLI installs. It isolates the Potpie tool environment from your project Python environments and prevents version conflicts.
Setup installs skills into your AI coding harness. Skills are CLI-managed recipes that teach your agent how to use the Context Engine before editing code.
Harness
--agent value
Skills path (global)
Claude Code
claude
~/.claude/skills/<skill>/SKILL.md
OpenAI Codex
codex
~/.agents/skills/<skill>/SKILL.md
Cursor
cursor
~/.cursor/skills/<skill>/SKILL.md
OpenCode
opencode
~/.config/opencode/skills/<skill>/SKILL.md
To install or refresh skills after setup:
potpie skills install --agent claudepotpie skills status --agent cursor
Use --scope project --path . to install project-scoped skills that travel with a repository:
potpie skills install --agent claude --scope project --path .
Potpie uses a pluggable GraphBackend. The default profile for Python ≥3.12 is falkordb_lite — an embedded local graph with vector search that requires no external services.
Profile
When to use
falkordb_lite
Default. Embedded FalkorDB Lite with vector search. Requires Python ≥3.12.
embedded
JSON-persisted local fallback. No Docker or external dependencies.
neo4j
Optional. Requires a running Neo4j instance.
postgres
Optional. Requires a running Postgres instance with the pgvector extension.
in_memory
Tests and conformance only. State is not persisted.
To switch profiles after setup:
potpie config set backend.profile embeddedpotpie backend doctor
Source integrations let agents query GitHub PRs, Linear issues, Jira tickets, and Confluence runbooks alongside code. These are opt-in and not required for local graph use.
potpie github login # GitHub device flowpotpie linear login # Linear OAuth (PKCE)potpie jira login # Jira Atlassian API tokenpotpie confluence login # Confluence Atlassian API token
Verify integration status:
potpie statuspotpie status --verify # lightweight live API check