%% Master pipeline showing offline and cloud agent flows using stage colors (styled in app) flowchart LR subgraph Collect A1[Git/Docs/PDFs] A2[Web Scraper] end subgraph Ingest_Chunk B1[Parser/Chunker] end subgraph Embed_Rerank C1[Embeddings] C2[Reranker] end subgraph Store D1[Vector DB] end subgraph Retrieve E1[Hybrid Search] end subgraph Orchestrate_Tools F1[Tools/Functions] end subgraph Generate G1[LLM (local/hosted)] end subgraph Evaluate_Safety H1[Eval/Guards] end subgraph Deliver_User I1[API/UI/CLI] end %% Flows A1 --> B1 A2 --> B1 B1 --> C1 --> C2 --> D1 --> E1 --> F1 --> G1 --> H1 --> I1 %% Offline branch G1 -. local .-> I1 %% Cloud branch G1 -. cloud api .-> I1