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 { useAtomValue } from 'jotai'
import { useCallback } from 'react'
import { editorResourceAtom } from '@/app/components/workflow/editor-resource/state'
export const useGetRunAndTraceUrl = () => {
const resource = useAtomValue(editorResourceAtom)
if (resource.kind !== 'app') throw new Error('App run URLs require an app editor')
const { appId } = resource
const getWorkflowRunAndTraceUrl = useCallback(
(runId: string) => {
return {
runUrl: `/apps/${appId}/workflow-runs/${runId}`,
traceUrl: `/apps/${appId}/workflow-runs/${runId}/node-executions`,
}
},
[appId],
)
return {
getWorkflowRunAndTraceUrl,
}
}