PixelKit SDK Documentation
The Official Developer & AI Agent Documentation Portal for Google Pixel 11 Pro
Documentation for the PixelKit SDK: the silicon, sensors, radios and on-device models of the Google Pixel 11 Pro (Android 17, Google Tensor G6) exposed as React hooks.
Every function in this documentation states its inputs and its outputs. Each hook page lists the arguments it takes with their defaults and units, every field it returns with what that field means, and for each callable what each parameter does and what the call resolves to — including what a failure looks like. Nothing that cannot be read is invented: it is null, it renders as “—”, and source says unavailable.
Documentation Sitemap
Section titled “Documentation Sitemap”- Quickstart Guide: Workstation prerequisites (Node 20+, Google Android CLI), installing dependencies, running on Pixel 11 Pro via Expo Go or development builds.
- Using this template: what to rename, what to keep, what to delete, and how to add a hook the parity check accepts.
- Architecture & Silicon Overview: The Tensor G6 7-core cluster, the PowerVR GPU, the StrongBox-backed keystore, wireless charging and the Hermes runtime — with device-verified figures separated from Google’s published specification.
- Silicon & Compute: CPU topology and cpufreq, GPU identity and frame pacing, the AICore stack, memory pressure, ADPF thermal headroom, battery and charging, and kernel tracing.
- Pixel Pro Exclusives: the camera bar HiLight LED ring, and UWB spatial ranging with angle of arrival.
- Neural & AI: cloud Gemini and on-device Gemini Nano, vision, language, speech, embeddings, and the AppFunctions bridge to the system assistant.
- Sensors & Actuators: the IMU, barometer and light sensor, camera and its vendor extensions, the microphone array, altimetry, infrared temperature, health records, torch and haptics.
- Radios & Security: BLE and Bluetooth channel sounding, NFC, Wi-Fi 7 MLO and RTT, satellite NTN, GNSS, biometrics, the hardware keystore, key agreement, Private Space and Play Integrity.
- System & Media: audio capture and spatial audio, display and refresh rate, device identity and capabilities, network and cellular, video playback and the media library.
- Agent Primer: the rules an agent follows here, the hook table with inputs, outputs and functions, worked recipes, and a copy-paste system prompt.
- Production Recipes: Copy-pasteable recipes for voice agent loops, multimodal scene reasoning, face-down HiLight visual signaling, and spatial tracking.
- Agent Skills & Tooling: 26 official Expo agent skills (
.agents/skills/tracked viaskills-lock.json) covering navigation, UI, modules, animations, and deployment alongside Googleandroid-cli.
- Built-in AI, Function Calling & Voice (hub): Where inference runs (Gemini Nano 4 on-device vs Gemini cloud), capability matrix, and shared dev-build prerequisites.
- On-Device AI with Gemini Nano:
@pixelkit-labs/mlkitExpo Module over the ML Kit GenAI Prompt API,useGeminiNano, structured output, thinking mode, hybrid routing. - Function Calling & Hardware Tools: One tool registry executed by cloud Gemini function calling, Gemini Nano structured output, and Android AppFunctions.
- Voice: Speech In, Speech Out, Live Agents: On-device streaming STT (Pixel 10/11 Advanced mode), Gemini Live API voice agents with ephemeral tokens, TTS, HiLight/haptic status.
- Troubleshooting & Diagnostics: Expo SDK 57 specifics, camera permissions, keep-awake tags, Hermes bytecode compilation, and thermal throttling mitigations.
Release
Section titled “Release”- RELEASING.md: the gates, versioning, the on-device walk, signing, EAS profiles, and the GitHub and Play steps.
- Privacy policy: what stays on the device, what leaves only with your own API key, and what each permission is for.
- Store listing: listing copy, data-safety answers and a declared purpose for every sensitive permission.
Consolidated Single-File Manuals
Section titled “Consolidated Single-File Manuals”- API reference: One page per hook, each with its inputs, outputs and function contracts.
- AI_PRIMER.md: Complete AI agent operational manual in a single document.
Silicon Architecture Diagram
Section titled “Silicon Architecture Diagram”The Single Import Rule
Section titled “The Single Import Rule”All hardware hooks and UI primitives are centralized:
import { useCPU, useGPU, useTPU, useHiLight, useSensors, useCamera, useGemini, useSpeechAI, useHaptics, HapticButton, MetricCard} from '@pixelkit-labs/sdk';