Skip to main content

Data Flow Architecture

This document describes how data flows through the DgiDgi platform, covering request handling, agent execution, and real-time streaming.

Request Flow Overview

Chat Message Flow

When a user sends a message in the chat interface:

Agent Execution Flow

Detailed flow for autonomous agent execution:

File Upload Flow

Real-Time Streaming

WebSocket-based real-time updates for agent execution:

Job Queue Flow

Background job processing through Redis queues:

Multi-Tenant Data Isolation