The FastAPI + LangGraph + Celery backbone of the FCA support agent. Each sub-page covers one architectural pattern verbatim from the fca project context:
ContextVar queue + SSELogHandlerstream_message tuplesIntentClassifier + conditional edge dispatchAsyncRepository[ModelT] with create, get, filter@asynccontextmanager lifespan for init_db / close_dbContextVar[asyncio.Queue] for live SSE log pipingDepends() guard on every protected route@observe() decorator for end-to-end LLM call observabilityCacheService with TTL, normalized key format, optional circuit breakerBaseSettings with validators and computed propertiesEscalationServiceWorkflowState with TypedDict for LangGraph node I/Oread:messages / write:messages scopesst.session_state message history + requests.get(stream=True) consumptionCustomerRepository / AccountRepository extending AsyncRepositoryPOST /auth/login returning access token with embedded scope claims