# Plethora SDK: Reference Contents

Context version: plethora-agent-context-2026-10-22.1
SDK version: 1.8.0
Workflow version: 2026-10-30.1

**Fetch the current context first, every time.** At the start of every new Bit, and again right before every upload, fetch https://agent.plethora.studio/v1/agent/context.md and note its Version (also `contextVersion` in https://agent.plethora.studio/v1/agent/context.json). Do not build from an SDK, context, schema, template, skill or memory kept from an earlier chat or an earlier Bit: the contract changes, and Plethora only publishes full-screen Bits (`"display": "fullscreen"`). Send the version you built against as `agentFeedback.contextVersion`; an upload built against an older context is refused with 409 `context_outdated` and nothing is saved.

Public guidance. No pairing or token needed to read or build.

**Deliver:** pair with the creator (https://agent.plethora.studio/v1/agent/start.md), then upload the Bit as a draft (https://agent.plethora.studio/v1/agent/upload.md).

Read the [complete SDK](https://agent.plethora.studio/v1/agent/sdk.md) with [fundamentals](https://agent.plethora.studio/v1/agent/fundamentals.md) and [schema](https://agent.plethora.studio/v1/agent/schema.json) before planning. Follow [creation](https://agent.plethora.studio/v1/agent/creation.md) for the process. The complete reference exposes every capability in one read. This index offers focused lookups of the same source for revisiting details; it does not hide capabilities behind genre choices. Refresh mismatched context versions and retrieve omitted sections if your tool truncates a response.

- [Runtime and lifecycle](https://agent.plethora.studio/v1/agent/sdk/runtime.md) - Every Bit: full screen and safe areas, sizing, readiness, events, cleanup, safety and anti-patterns.
- [DOM, Canvas2D, WebGL and layering](https://agent.plethora.studio/v1/agent/sdk/surfaces.md) - Creating or composing DOM, Canvas2D, Three/Pixi/WebGL surfaces; CSS pixels versus DPR.
- [Pointer, touch and gestures](https://agent.plethora.studio/v1/agent/sdk/input.md) - Tap, drag, multitouch, DOM activation, follow, pinch, rotate and hit helpers.
- [Loops, scores and Continue Playing](https://agent.plethora.studio/v1/agent/sdk/game.md) - Continuous motion, fixed-step simulation, scores, leaderboards, resumable games.
- [Audio and music](https://agent.plethora.studio/v1/agent/sdk/audio.md) - Sound effects, procedural music, custom audio; gesture unlock and cleanup.
- [Motion, camera and microphone](https://agent.plethora.studio/v1/agent/sdk/sensors.md) - Tilt/shake, camera or microphone/audio reactivity; permissions and fallback.
- [Local, shared and leaderboard state](https://agent.plethora.studio/v1/agent/sdk/memory.md) - Persistence, local storage, records/ranks, tallies and shared worlds.
- [Visual craft and procedural graphics](https://agent.plethora.studio/v1/agent/sdk/visual.md) - Palettes, categorical style axes, materials, textures and sprites. Compose moving backgrounds with surfaces and your renderer; there is no ctx.visual.background API.
- [Visual feedback](https://agent.plethora.studio/v1/agent/sdk/fx.md) - Impact, burst, ripple, flash, trail, floating text, shake and transitions.
- [Math helpers](https://agent.plethora.studio/v1/agent/sdk/math.md) - Scalar/vector math, deterministic randomness, easing and noise.
- [Geometry helpers](https://agent.plethora.studio/v1/agent/sdk/geometry.md) - 2D shapes, paths, intersections and simple hit tests; advanced physics stays library territory.
- [Creator knobs and curves](https://agent.plethora.studio/v1/agent/sdk/tuning.md) - Draft-time controls for difficulty, feel, style, music and pacing.
- [First-use experience](https://agent.plethora.studio/v1/agent/sdk/onboarding.md) - Choose immersive/one-line or a skippable in-Bit interactive example, not paragraphs by default.
- [Libraries, fonts and assets](https://agent.plethora.studio/v1/agent/sdk/libraries.md) - Before selecting any dependency/font; exact registry kind, pin, loader and asset constraints.
- [Completion and Pulsegraph](https://agent.plethora.studio/v1/agent/sdk/pulse.md) - Completion posts and sharing, separate from lifecycle analytics and leaderboard state.

Helpers are conveniences, not capability ceilings. Custom DOM, WebGL, approved libraries and their own controls/renderers remain available. Do not replace working technology just because an SDK helper exists.

[Complete SDK](https://agent.plethora.studio/v1/agent/sdk.md) remains available for one-shot reading. [Examples](https://agent.plethora.studio/v1/agent/examples/index.md) are teaching samples, not a prescribed house style.

Reading path: [Creation](https://agent.plethora.studio/v1/agent/creation.md) | [Fundamentals](https://agent.plethora.studio/v1/agent/fundamentals.md) | [Complete SDK](https://agent.plethora.studio/v1/agent/sdk.md) | [Verify and upload](https://agent.plethora.studio/v1/agent/upload.md).
