# Figpea > Figpea is a scriptable, browser-based design tool for viewing and editing PSD, Adobe XD, Figma, SVG, and PDF files. Open the editor with `?agent=1` to attach `window.figpea`, a versioned, JSON-serializable command surface agents can use to author, inspect, and export designs programmatically. ## Agent API - [Agent API docs](https://figpea.com/docs/agent-api) — window.figpea contract version 1.14.0: the activation flag, the Tier-1 recipe, the full method reference (including layer query via `find`, gradient fill authoring with full round-trip read-back, image-fill mode control, interaction authoring, component conversion and instance placement with state authoring and management including all 11 override methods, layer-level text case control, a widened style surface covering HSL blend modes, stroke controls, effects including gradient overlay, pattern overlay, outer glow, and inner glow, text-frame sizing and vertical alignment, declared mask verbs `setMask`/`clearMask`, layer constraints, project image library, strict schema validation, diagnostics with per-format detection wiring (SVG, XD, PSD, Figma), live-canvas screenshot capture, camera/viewport control, contact-sheet and flow-poster PDF exports, an ungated project-health/copy-deck/font-manifest report, original-image recovery, and per-region fills on path layers (fill individual closed regions, including overlaps, via getRegionFills/setRegionFill/clearRegionFill). `window.figpea.SKILL(selector?)` additionally provides zero-drift runtime reference guidance — the craft guidance for using the API well, read live from the runtime itself so it can never go stale. - [Download the Agent Skill](https://figpea.com/figpea-agent/SKILL.md) — a transport-only bootstrap: how to reach the runtime (open with `?agent=1`, call `describe()`, then call `figpea.SKILL()`) for any skills-aware agent, browser-automation MCP, or `figpea-mcp` client. ## Product - [Documentation](https://figpea.com/docs) — guides for opening files, layer operations, exporting, and the Agent API. - [Pricing](https://figpea.com/pricing) — plans and entitlements (authoring is free; some export formats and scales require a paid plan). ## AI agents - [AI agents page](https://figpea.com/ai-agents) — Overview and setup guide for connecting Claude Code, Codex, Cursor, or any MCP agent to Figpea. ## Supported formats - [PSD viewer](https://figpea.com/psd-viewer) - [Adobe XD viewer](https://figpea.com/xd-viewer) - [Figma (.fig) viewer](https://figpea.com/figma-viewer) - [SVG viewer](https://figpea.com/svg-viewer) The live editor itself runs at a separate origin (editor.figpea.com) and is described here in prose only, not as a link -- reach it via the docs and product links above.