Skip to main content

18 docs tagged with "architecture"

View all tags

Chatbot Architecture

Technical architecture of the chatbot request pipeline — moderation, RAG retrieval, agent routing, tool calling, streaming response, and the LLM provider strategy (Claude primary / GPT-4o-mini fallback)

Chatbot Conversation Pipeline — Complete Code Trace

Definitive source of truth for the entire chatbot request lifecycle, from HTTP request arrival to response return. Every code path, every tool, every third-party call, every expected result. Generated 2026-04-02 from a full read of every file in the pipeline.

How Claude Code Agents Work in This System

Reference for how Claude Code agents are configured — session-start hook, available MCP tools, skills (slash commands), CLI access, and how multiple agents coordinate safely

How the Voice Agent Works

End-to-end explanation of the ChurchWiseAI voice agent — body analogy, service map, call flow, and fallback chain

Multi-vertical tenant schema — design spec

Exact DDL, column-level changes, migration sequence, and code-path updates for the shared-core + per-vertical-tenant-tables architecture chosen on 2026-04-21. This is the implementation companion to the decision doc.

Payment Flow Architecture

Source of truth for all Stripe payment flows. Payment-first principle — no DB writes until checkout.session.completed webhook confirms payment.

Pre-Conversation Journey — Complete Map

Everything that happens from "pastor hears about ChurchWiseAI" through "visitor sends first message or call is answered." Covers the church admin setup journey (Track A) and the visitor discovery journey (Track B), and traces how admin-entered config flows into every AI response.

Process Flows

Index of all documented process flows — 8 customer-facing flows, 8 system flows, and 4 agent-internal flows covering every major user journey and automated pipeline

ShareWiseAI Architecture

Technical architecture for ShareWiseAI — OAuth platform connections (Facebook, Instagram, LinkedIn), post scheduling API, cron-based publishing, and multi-tier subscription gating

System Architecture Overview

High-level overview of the three active codebases (churchwiseai-web, pewsearch, sermon-illustrations), how they connect, and the shared infrastructure they run on

Voice Agent Architecture

Multi-tenant LiveKit Agents SDK architecture — one deployed agent serves all churches via SIP trunk phone-number routing, with per-church config loaded from Supabase at call init

Voice Pipeline — Complete Call Lifecycle

Definitive step-by-step trace of every function, LLM call, STT/TTS step, database query, and third-party service call from SIP arrival to call termination. Required reading before touching any voice code.