How bestagentkits/design-studio-ai works
Design Studio AI is a collaborative, agent-accessible design workspace. The main flow is brief/template-driven authoring in the web studio, revision-checked project saves, preview and export or publication; agents can work on the same versioned documents through REST, MCP, and the CLI. The graph preserves the major documented editing, generation, community, export, and observability capabilities. Some subsystem paths and links are documented or indexed rather than excerpted; those connections cite the README or SOURCE INDEX, and unsampled implementation details are not inferred.
Main entry points: app.tsx Studio workspace · projects.ts Project service · editor.tsx Manual editor · api.ts Browser API client
Components 22
Studio workspace
- Studio workspace
src/app/app.tsx - Manual editor
src/app/editor.tsx - Browser API client
src/app/api.ts
Document authoring
- Document schema
src/shared/schema.ts - 3D and scene authoring
src/shared/scene-authoring.ts - Painting workspace
src/app/painting-workspace.tsx - Design systems
server/design-systems.ts
Server services
- Project service
server/projects.ts - Stored documents
server/stored-documents.ts - Generation providers
server/providers.ts - Activity and traces
server/observability.ts - Telemetry store
server/observability-store.ts
Sharing and export
- Export service
server/exports.ts - Community publication
server/community-publication.ts - Community routes
server/community-routes.ts - Community jobs
server/community-worker.ts - Community assets
server/community-assets.ts - Google Slides export
server/google-slides.ts
Agent access
- MCP and REST access
server/mcp.ts - DSA CLI
packages/cli/src/dsa.ts
Other components
- Designer or agent
- Text, media and speech providers
Connections 24
- Designer or agent → Studio workspace: authors in
- Studio workspace → Manual editor: opens editor
src/app/app.tsx - Studio workspace → Browser API client: requests
src/app/app.tsx - Browser API client → Project service: calls REST
- Project service → Document schema: validates
server/projects.ts - Project service → Stored documents: persists revisions
server/projects.ts - Manual editor → Document schema: edits documents
src/app/app.tsx - Studio workspace → Design systems: selects systems
- Studio workspace → 3D and scene authoring: authors scenes
- Studio workspace → Painting workspace: paints artwork
- Designer or agent → MCP and REST access: uses agent access
- Designer or agent → DSA CLI: runs commands
- MCP and REST access → Project service: shares project access
- DSA CLI → Project service: calls REST
- Studio workspace → Generation providers: requests generation
- Generation providers → Text, media and speech providers: calls providers
- Designer or agent → Export service: requests export
- Export service → Google Slides export: supports Slides
- Designer or agent → Community routes: browses or publishes
- Community routes → Community publication: routes publication
server/community-routes.ts - Community publication → Community jobs: queues work
server/community-publication.ts - Community jobs → Community assets: reads and writes assets
server/community-worker.ts - Studio workspace → Activity and traces: reports activity
- Activity and traces → Telemetry store: stores events
server/observability-routes.ts