How coze-dev/coze-studio works
Coze Studio is a visual, low-code platform for creating, publishing, and running AI agents, apps, and workflows. The main product journey is developer authoring through the workflow canvas and resource configuration, publishing an agent or app, then initiating a conversation and receiving a run result. Its README also identifies model management, prompts, plugins, knowledge, databases, memory, and OpenAPI as product capabilities. The graph follows the documented DDD architecture and tree paths; most backend implementation links are architectural-level, since the sampled source excerpts primarily cover frontend database-node behavior and storage interfaces.
Main entry points: singleagent Agent authoring · coze API handlers · service Agent run service · workflow Workflow authoring
Components 22
API access
- Coze API router
backend/api/router/coze/api.go - API handlers
backend/api/handler/coze
Visual authoring
- Workflow canvas
frontend/packages/workflow/playground/src/node-registries/database/database-query/database-query-form.tsx - Workflow authoring
backend/application/workflow - Agent authoring
backend/application/singleagent - App authoring
backend/application/app
Agent execution
- Agent flow
backend/domain/agent/singleagent/internal/agentflow - Conversation service
backend/application/conversation - Agent run service
backend/domain/conversation/agentrun/service
Agent resources
- Model management
backend/application/modelmgr - Prompt resources
backend/application/prompt - Plugin resources
backend/application/plugin - Knowledge resources
backend/application/knowledge - Database and memory
backend/application/memory
Domain services
- Conversation state
backend/domain/conversation/conversation - Message state
backend/domain/conversation/message - Knowledge domain
backend/domain/knowledge - Memory domain
backend/domain/memory - Workflow domain
backend/domain/workflow - Agent domain
backend/domain/agent/singleagent
Other components
- Developer
- Model providers
Connections 23
- Developer → Workflow canvas: authors visually
- Developer → Coze API router: calls OpenAPI
- Workflow canvas → Workflow authoring: configures workflows
- Coze API router → API handlers: dispatches requests
- API handlers → Agent authoring: invokes authoring
- API handlers → Workflow authoring: invokes workflow
- API handlers → App authoring: invokes app
- API handlers → Conversation service: starts conversations
- Agent authoring → Agent domain: manages agents
- Workflow authoring → Workflow domain: manages workflows
- App authoring → Agent domain: configures agents
- Agent authoring → Workflow authoring: configures workflow
- Agent authoring → Knowledge resources: configures knowledge
- Agent authoring → Plugin resources: configures plugins
- Agent authoring → Prompt resources: configures prompts
- Agent authoring → Database and memory: configures memory
- Model management → Model providers: integrates models
- Knowledge resources → Knowledge domain: manages knowledge
- Database and memory → Memory domain: manages memory
- Conversation service → Agent run service: runs agent
- Agent run service → Agent flow: executes flow
- Agent run service → Conversation state: stores conversation
- Agent run service → Message state: stores messages