Browse documentation

Start here

OverviewGetting startedThe mental model

Use the runtime

Run the simulatorPi Agent and workspaceInstall and manage AppsESP32-P4 reference targetESP32-S3 supported target

Build Apps

App developer guideBuild your first AppApp source and packageData and migrationsActions and ToolsView and interactionNetworking and native servicesApp resourcesSchedulesPackage and updateTesting and debugging

Understand the runtime

Runtime flowGuests and lifecycleLayers and ownershipHarness boundary

Security

Trust and capabilitiesData isolationLifecycle and recovery

Reference

App manifestPocketPi APIView APICLI referenceLimits and compatibility

Examples

Exa App walkthroughRobinhood App walkthrough

Project

Current boundariesValidation status

PocketPi documentation

Build with the Agent-native runtime

Start the runtime, develop an App, operate physical hardware, or trace the system from an actor request to a rendered View. Every page below has one explicit job.

35 focused pages

Documentation map

Start here

Build the right mental model and reach a working runtime.

Use the runtime

Run, configure and operate PocketPi.

Build Apps

Author, test, package and evolve an ordinary App.

Understand the runtime

Trace ownership, execution, Guests and Harness boundaries.

Security

Review capabilities, credentials, isolation and recovery.

Reference

Look up exact source, API, CLI and limit contracts.

Examples

Learn from complete Apps with real product boundaries.

Project

Separate implemented behavior, evidence and future direction.

Product overview

PocketPi is an Agent-native runtime for embedded and dedicated devices. It keeps an Agent resident on the product and gives it a durable workspace, native capabilities, schedules, and installable Apps with local Data, shared Actions and fixed human-facing Views.

The shortest useful definition

PocketPi = resident Agent + durable workspace + native capabilities + Apps

App = Data + Actions + View

The Agent is not launched for one request and then discarded. It shares the device lifecycle, owns its top-level /workspace, and can reason across the capabilities that are currently installed. An App is not just a Tool and not just a screen: it combines durable product state, deterministic behavior, and a fixed interface for people.

One concrete device story

  1. The device boots and restores the resident Pi Agent and its /workspace.
  2. The Agent sees native Tools plus the public Tools of installed Apps.
  3. A person asks the Agent to refresh a portfolio, or taps the App's refresh button.
  4. Both requests route to the same named App Action.
  5. The Action calls an allowed native service and commits normalized data to App-owned SQLite.
  6. The successful transaction increments one App revision.
  7. If the App View is visible, its bounded Projection re-queries SQLite and the fixed View refreshes.
  8. If the View is closed, the data still commits; the View projects the latest state when opened later.
Agent Tool ─┐
UI event   ─┼─→ Action → native capability → SQLite → revision → Projection → View
Schedule   ─┘

The four things to keep separate

PartResponsibilityDurable state
Pi AgentResident reasoning, cross-App coordination and workspace Tools/workspace
Ordinary AppDomain Tools, Actions, schedules, local Data and fixed ViewIts private SQLite/files
PocketJSBounded JavaScript Guests, UI tree, layout and rendering contractsNone by itself
Native HostHardware, transport, credentials, enforcement and lifecycleNVS/LittleFS or host equivalents

PocketPi is the product name

The precise technical category is Agent-native runtime. PocketPi is broader than the embedded Pi Agent loop: it owns the Agent/App lifecycle, capability boundary, schedules, workspace, foreground selection and recovery model. Pi Agent remains the current resident Harness; a replaceable Harness boundary is a staged target, not a shipped claim.

Product name: PocketPi. Technical category: an Agent-native runtime for embedded devices.

Choose your path

Your goalStart withYou will finish with
See the product runningGetting startedA persistent simulator workspace and resident Agent
Build an AppApp developer guideA packaged App installed through the real review path
Operate physical hardwareESP32-P4 or ESP32-S3A provisioned standalone target and an explicit validation boundary
Understand internalsRuntime flowOwnership and lifecycle traced from actor to display
Integrate a different HarnessHarness boundaryA clear view of current Pi coupling and the planned replaceable seam

Current product surface

ESP32-P4 is the reference target, and ESP32-S3 is a supported second physical target. The macOS esp32-sim runs their shared AgentOS, App source, Tool catalog, workspace and View contracts with development adapters. It is the normal development loop, not a second desktop product and not a CPU/peripheral emulator.

The current resident Harness is Pi Agent. Ordinary source Apps can already be installed, updated and uninstalled independently. Harness replacement is a planned runtime boundary, not an implemented claim. See Current boundariesfor the fact/target split.