Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
import type { WorkflowAppMode } from '@/app/components/apps/app-type'
export type EditorResource =
| Readonly<{ kind: 'app'; appId: string; mode: WorkflowAppMode; collaborationEnabled: boolean }>
| Readonly<{ kind: 'knowledge-pipeline'; pipelineId: string }>
| Readonly<{ kind: 'snippet'; snippetId: string }>
export function getEditorResourceId(resource: EditorResource): string {
switch (resource.kind) {
case 'app':
return resource.appId
case 'knowledge-pipeline':
return resource.pipelineId
case 'snippet':
return resource.snippetId
}
}
export function isChatflow(resource: EditorResource): boolean {
return resource.kind === 'app' && resource.mode === 'advanced-chat'
}