How soumithreddy6/enterprise-no-code-agentic-ai-workflow-platform works
Relay lets users design workflows in a browser, submit them for validation and compilation, and execute them on durable workers that persist progress and resume after failures. The workflow supports agents, tools, retrieval, conditions, loops, and human approvals; execution also enforces budgets, records provenance, and reports run status. The graph combines documented product stages with sampled source and SOURCE INDEX references. Some internals and integrations are unsampled, so their specific call paths are not asserted.
Main entry points: worker.py Durable worker · main.py FastAPI · agent_runtime.py Agent runtime · compiler.py Graph compiler
Components 22
Workflow studio
- Workflow editor
frontend/components/workflow-editor.tsx - Request routing UI
frontend/lib/request-routing.ts - Approval review
frontend/components/approval-review.tsx - Run status UI
frontend/lib/run-status.ts
API and compilation
- FastAPI
backend/app/main.py - Workflow model
backend/app/models.py - Graph validation
backend/app/platform_validation.py - Graph compiler
backend/app/compiler.py
Durable execution
- Durable worker
backend/app/worker.py - Execution policy
backend/app/execution_policy.py - Agent runtime
backend/app/agent_runtime.py - Token accounting
backend/app/accounting_state.py
Workflow capabilities
- Node registry
backend/app/registry.py - Write approvals
backend/app/approvals.py - Tool adapters
backend/app/tool_service.py - Python sandbox
backend/app/sandbox.py - Knowledge services
backend/app/kb_gateway.py - Model providers
backend/app/providers.py
Persistence and operations
- Relational store
backend/app/storage.py - Run observability
backend/app/observability.py
Other components
- Workflow author
- External systems
Connections 29
- Workflow author → Workflow editor: designs
- Workflow editor → FastAPI: submits workflow
- FastAPI → Workflow model: parses
backend/app/main.py - FastAPI → Graph validation: validates
backend/app/main.py - FastAPI → Graph compiler: compiles
backend/app/main.py - Graph compiler → Workflow model: consumes model
backend/app/compiler.py - Graph compiler → Node registry: uses node contracts
backend/app/compiler.py - FastAPI → Relational store: stores runs
backend/app/main.py - FastAPI → Durable worker: starts worker
backend/app/main.py - Durable worker → Relational store: claims and checkpoints
backend/app/worker.py - Durable worker → Graph compiler: executes graph
backend/app/worker.py - Durable worker → Execution policy: applies policy
backend/app/worker.py - Durable worker → Token accounting: tracks spend
backend/app/worker.py - Durable worker → Agent runtime: runs agents
- Agent runtime → Model providers: calls models
- Agent runtime → Tool adapters: invokes tools
- Agent runtime → Knowledge services: retrieves documents
- Agent runtime → Python sandbox: runs Python
- Durable worker → Write approvals: pauses for review
backend/app/worker.py - Write approvals → Relational store: persists decisions
backend/app/approvals.py - Workflow author → Approval review: reviews action
- Approval review → FastAPI: submits decision
- Tool adapters → External systems: performs actions
- Model providers → External systems: requests inference
- Knowledge services → External systems: uses knowledge services
- Durable worker → Run observability: journals events
backend/app/worker.py - FastAPI → Run observability: journals requests
backend/app/main.py - Relational store → Run status UI: streams run status
- Request routing UI → Workflow editor: configures requests