Skip to content

REFERENCE · Check here when you run into a problem

Reference Guide ​

This page is not meant to teach from scratch, and it does not require sequential reading. When you encounter a term, a capability, or an operational problem, enter from the matching topic; if this is your first time reading, start with Introduction: Why read this Buku Pi guide, then continue along the Buku Pi main path.

Read the explanation of this edition first

Ten assessments that still hold distinguishes the current conclusions from the original learning archive; Guidelines and notes for the 2026 open learning edition records the platform path, verification cut-off, maintenance rules, and copyright limits.

Three Ways to Search Quickly ​

What you are facing right nowEnter from hereReading path
One specific questionPi Frequently Asked Questions (FAQ)Read the short answer first, then move into the related concept or lesson
One problem that has already happenedPi troubleshooting guideBuild a baseline from the symptoms, change only one condition at a time
One term you do not yet understandList of popular AI and Agent termsRead the explanation in plain language first, then understand what it means in Pi

FAQ, the troubleshooting guide, and the list of popular terms reference each other, and keep connecting to the main-path course. FAQ answers “why”, the troubleshooting guide handles “where it is broken right now”, and the term list explains “what this word means”.

Core Mechanisms ​

What you are looking forTopic entry pointProblem it fits
What material Pi can seeFiles and working directoryWorking directory, file scope, and context boundaries
How to save and resume a taskSessions and resuming workSession naming, recovery, and portability
Why long tasks get forgottenContext and compactionContext, Compaction, and handover notes
What the Cache numbers meanIntroduction to prompt cachingCache hit, cost, and status assessment
How these concepts come together into one runHow Pi works: from a single prompt to a complete agent loopContext assembly, model invocation, the closed tool loop, and Session write-back

Capabilities and Boundaries ​

CapabilityTopic entry pointOne sentence to remember first
Establishing a method and adding capabilitySkill, Extension, and Pi PackageA Skill teaches it how to do something, an Extension gives it a new execution capability
Choosing a third-party extensionPi plugin recommendationsConfirm the need and the provenance first, try only the single plugin closest to the problem
Choosing a different Agent pathNot only Pi: how to choose OMP and Selesai CodeDistinguish original Pi from its two independent branches, decide by task whether you need to switch tools
Splitting up many tasksHow Subagents divide up tasksAfter the division of labor, the evidence and final verification still have to be brought together
Running tasks safelyPermissions, isolation, and verificationA successful return result is not the same as a finished business result
Running for a long timeLong-running tasks and VPSDesign the checkpoint, recovery path, and stop conditions first

Operational Entry Points ​

Summary of Commonly Used Commands ​

Below, only the entry points actually used in the main path are listed. Do not mix ordinary terminal commands with Pi's internal commands.

Where to type itCommandPurpose
Normal terminalpiRun the interactive interface in the current directory
Normal terminalpi --versionSee the currently installed version
Normal terminalpi updateUpdate only Pi itself
Normal terminalpi update --modelsRefresh only the model catalog
Normal terminalpi listSee the Packages registered in the settings
Normal terminalpi -cContinue the last session of the current project
Normal terminalpi -rOpen the session picker for the current project
Normal terminalpi --no-extensions -e ./file.tsIgnore automatically discovered Extensions, load only one file explicitly
Normal terminalpi --no-skills --skill ./SKILL.mdIgnore automatically discovered Skills, load only one file explicitly
Pi edit area/loginManage model service authentication
Pi edit area/logoutRemove the local credentials of the selected Provider
Pi edit area/modelChoose the current model
Pi edit area/name nameSet the session display name
Pi edit area/resumeBrowse and switch sessions
Pi edit area/treeChoose a node in the current session tree
Pi edit area/fork / /cloneCreate a new session from an old message or the current branch
Pi edit area/compactTidy the earlier context into a summary
Pi edit area/reloadReload the resources in automatically discovered locations
Pi edit area/quitExit Pi back to the normal terminal

Package management commands are typed in a normal terminal: pi install <source> to install, pi list to view, pi config to enable or disable resources, and pi remove <source> to remove. A Package may contain executable Extensions and Skills that direct the Agent to run actions; do not install it if its provenance and full contents are unclear.

Command behavior can change between versions; this table was verified on 2026-09-09. If you find a mismatch, run pi --help first, then check Using Pi and the relevant topic page.

File and Configuration Locations ​

LocationFunctionBoundary
~/.pi/agent/User-level authentication, settings, sessions, and resourcesMay contain credentials and private sessions, do not upload
.pi/Settings, Extensions, Skills, and so on for the current projectProject resources are controlled by Project Trust
.agents/skills/Project Skills that can be discovered by multiple Agent toolsProject-level resources, their provenance needs to be checked first
AGENTS.md, CLAUDE.mdProject context explanationsBuilt-in loading is not protected by the Project Trust refusal, can be turned off with --no-context-files
docs/public/Public download material for this Buku Pi siteAfter the build it is copied to the site root path, do not store credentials

Order of Troubleshooting ​

First stop repeated attempts and save the complete error message, then check the input position, working directory, current model, and Session. After that, build a clean baseline without loading extra resources, and restore only one variable at a time. If it involves keys, payment, publication, deletion, or sending something outward, do not expand the action on your own.

Open the full Pi troubleshooting guide →

Term Boundaries ​

  • Provider: The service that actually provides model invocation and billing, not the same as Pi itself.
  • Session: The stored conversation tree; it does not replace file version management.
  • Context: The input the model can refer to on this turn; not the same as permanent memory.
  • Skill: Work instructions and companion resources read as needed; it can influence behavior, and may direct script execution.
  • Extension: A TypeScript capability that runs inside the Pi process, with the current user's permissions.
  • Package: A distribution combination of Skills, Extensions, prompt templates, and themes; not a safe container.
  • Project Trust: The decision whether project resources are loaded, not a runtime sandbox.

Further Reading ​

Officially licensed translations are not the main-path course. They are kept as a separate dedicated zone according to the table of contents of this edition; enter from the matching chapter to explain a mechanism further through the original author's full article:

See all officially licensed translations

How to use the reference guide

Use the search or the topic index above first to find the problem; when you need to build a full understanding, go back to the related chapter by following the course links at the top of the page.