Skip to content

PI-DesktopRead the product as a system.

A calm, inspectable desktop workspace for building with AI. Follow the boundaries, understand the contracts, and make changes with context.

system / overviewLOCAL
P
RUNTIME TOPOLOGY
01Rendererpresentation
02Electronorchestration
03Rust hostauthority
04SQLitedurable state

Read by intent

Start with the question you are solving.

This is not a file dump. It is a map for locating, understanding, changing, and validating the system.

System map

Four boundaries. One readable thread.

01ShellElectronWindows, preload IPC, lifecycle, and platform capabilities.
02Agentpi sidecarAgent loop, tools, context, and provider-facing model work.
03HostRust corePermissions, processes, filesystem, RPC, and cancellation.
04StateSQLiteSessions, configuration, checkpoints, plugins, and ownership.

Reference shelf

Go deep by topic, not by getting lost in the file tree.

Implementation snapshot

The line this documentation describes.

Application line0.5.8
Host wire protocolv9
Storage schemav11
Source languagesEN / 中文

PI-DESKTOP / DOCUMENTATION SYSTEM

Ready to enter the codebase?

Build context with the guide, or open the full specification index.

Built for local-first development.