GlyphfieldDocs
Documentation/System reference

Agent integration

Give LLMs and coding agents structured discovery, deterministic generation, and a browser fallback for visual capabilities.

Maintained with source

Glyphfield exposes a public, versioned agent interface. An agent can discover the product without scraping application JavaScript, generate portable assets or apply-ready compositions over HTTP, and operate every visual Studio control through the programmatic Browser API.

Design Lab with shader library, composition canvas, inspector, and layer dock
Authentic browser workspaceCanvas · WebGL · source · export
Animation editor with sequence, timing, material, and output controls
Motion productionFrames · audio · GIF · MP4

Discovery surface

ResourcePurpose
/llms.txtCanonical operational runbook for language models
/llms-full.txtComplete concatenated documentation corpus generated from current MDX
/api/docs/{slug}One processed documentation page as Markdown
/api/agentVersioned manifest, policies, resources, and generation contract
/openapi.jsonOpenAPI 3.1 route document
/api/catalogStudio tools and capability keywords
/api/labsEvery Studio lab plugin and its shared-library capabilities
/api/materialsEvery shader, attribution, palette, look preset, and editable control
/api/identitiesBuilt-in template and reference identity records
/api/elementsSearchable brand application records
/api/generateGET contract and POST generation endpoint
/studioBrowser-local visual workspace
skills/Installable task skills for creation, HTTP generation, Studio operation, and export verification

Three connected surfaces

HTTP generation

Use HTTP when the desired artifact is a template SVG, background SVG, element brief, or an apply-ready Design Lab sequence document. This path is deterministic, portable, and does not require a browser until a requested result depends on live rendering.

Browser operation

Use the Studio when a task requires Canvas, WebGL, local fonts, local images, visual placement, high-resolution PNG/JPG rasterization, GIF or MP4 capture, Lottie, or exact source edits to an active browser artifact. Browser-capable agents use window.glyphfield.studio to apply validated source, inspect the resulting canvas, operate accessible controls, and export the real composition.

Documentation corpus

Use /llms.txt to route the task, /llms-full.txt to load the full current product model, and /api/docs/{slug} when only one topic is needed. These routes are built from the same documentation source as the human UI.

An agent should use the smallest interface that fully expresses the requested artifact. HTTP and browser operation are deliberately composable rather than mutually exclusive.

Operating invariant

Agents must discover, mutate, and verify:

  1. Discover the live contract and catalog IDs.
  2. Read current source before changing an open artifact.
  3. Preserve unknown fields and apply the smallest change through a validator.
  4. Re-read state after applying it.
  5. Inspect visual output when appearance matters.
  6. Confirm the actual file or Blob, not only the request status.

No API key

The current public agent routes do not require authentication. Do not invent an Authorization header. Always re-read /api/agent and GET /api/generate because availability and schemas may change.

Install or inspect the focused Glyphfield Skills, then start with Choose an interface, Connect an agent, and the complete Agent recipes.

On this page