📄️ LLM Core Service
Central orchestration service for the Jeen AI platform. Manages conversations, agents, model/provider catalog, canvas, templates, text conversions, and LLM usage tracking.
📄️ Completion Service
LLM gateway that routes completion requests to the correct provider. Handles streaming, normalizes responses across providers, and emits token usage events.
📄️ Agent Service
Runs agentic loops with tool calling. Receives a request with messages, a model, and allowed tool names, then iterates: call LLM, check for tool calls, execute tools via MCP, feed results back, repeat until done.
📄️ Document Service
Orchestrates the full document lifecycle: upload to blob storage, trigger parsing and embedding via RabbitMQ, track processing status, serve downloads, manage folders, and stream real-time status updates via SSE.
📄️ Parser Service
Converts documents (PDF, DOCX, HTML, etc.) to markdown. Supports four parser backends. Runs both a synchronous HTTP API and an asynchronous RabbitMQ worker for queue-based processing.
📄️ Embedding Service
Chunks text, generates vector embeddings, and optionally translates content to English. Runs both an HTTP API for on-demand operations and a RabbitMQ worker for async processing.
📄️ RAG Service
Retrieval-Augmented Generation query layer. Takes a user query, embeds it, performs vector similarity search against pgvector, optionally reranks results, and returns relevant document chunks.
📄️ Auth Service
Authentication and identity management gateway. Handles login, registration, token management (JWT), session management (Redis), and identity provider integration (Firebase, ZITADEL).
📄️ User Service
Backend-for-Frontend (BFF) that aggregates data from multiple downstream services. Handles user profiles, admin settings, sharing/access control, documents, tags, pins, favorites, activity logs, Langflow flows, and settings streaming.
📄️ User Base Microservice
Core user data persistence layer. Stores users, roles, preferences (tags, favorites, pins), activity logs, sharing/collaboration (features, shares, locks), integration tools, Langflow accounts, connectors, and languages.
📄️ Admin Base Microservice
Multi-tenant administration backend. Manages organizations, RBAC (roles, permissions, actions, modules, features), resource units, and per-organization configuration for models, agents, connectors, templates, workflows, parsing techniques, and languages.
📄️ Integration Access Service
Gateway for third-party integration providers. Manages account provisioning, authentication token lifecycle, and API key management for external tools. Currently supports Langflow as the only provider, with an extensible registry pattern for adding more (GitHub, Jira, etc.).