How amanjain44/multi_content_factory works
MCF Content Studio is a web application for grounding content in project sources, developing it through an AI-assisted workflow, and managing projects and schedules. The visible workflow runs from source grounding through content selection, platform strategy, topic and angle, content strategy, storyboard, and script. The backend also exposes authentication, diagnostics, and project-management APIs. Source excerpts establish the ingestion sequence and frontend API-client use; most route and AI implementation files were not sampled, so their internal links are omitted.
Main entry points: main.py API application · ingestion_service.py Source ingestion · project-service.ts Project service · ai.py AI routes
Components 22
Web application
- Project pages
frontend/src/app/projects/page.tsx - Project workspace
frontend/src/components/projects/workspace-content.tsx - Workflow preview
frontend/src/components/composer/WorkflowPreview.tsx - Project service
frontend/src/lib/project-service.ts - API client
frontend/src/lib/api-client.ts - Calendar and scheduling
frontend/src/components/calendar-view.tsx
Backend API
- API application
backend/app/main.py - Project routes
backend/app/api/routes/projects.py - Workflow stage routes
backend/app/api/routes/workflow_stages.py - Source routes
backend/app/api/routes/sources.py - AI routes
backend/app/api/routes/ai.py - Schedule routes
backend/app/api/routes/schedules.py - Authentication routes
backend/app/api/routes/auth.py - Diagnostics routes
backend/app/api/routes/diagnostics.py
Content workflow
- AI content stages
backend/app/ai/graphs - AI orchestrator
backend/app/ai/services/ai_orchestrator.py
Source processing
- Document extraction
backend/app/services/extraction_service.py - Text chunking
backend/app/services/chunking_service.py - Source ingestion
backend/app/services/ingestion_service.py - Source retrieval
backend/app/services/retrieval_service.py - Source and chunk data
backend/app/models/source.py
Other components
- Studio user
Connections 18
- Studio user → Project pages: manages projects
- Studio user → Workflow preview: views workflow
frontend/src/components/composer/WorkflowPreview.tsx - Project service → API client: sends requests
frontend/src/lib/project-service.ts - API application → Project routes: registers
backend/app/main.py - API application → Workflow stage routes: registers
backend/app/main.py - API application → Source routes: registers
backend/app/main.py - API application → AI routes: registers
backend/app/main.py - API application → Schedule routes: registers
backend/app/main.py - API application → Authentication routes: registers
backend/app/main.py - API application → Diagnostics routes: registers
backend/app/main.py - Source ingestion → Document extraction: extracts text
backend/app/services/ingestion_service.py - Source ingestion → Text chunking: chunks text
backend/app/services/ingestion_service.py - Source ingestion → Source and chunk data: persists chunks
backend/app/services/ingestion_service.py - Source retrieval → Source and chunk data: searches chunks
backend/app/services/retrieval_service.py - Project workspace → Project service: uses
- Calendar and scheduling → Schedule routes: requests schedules
- AI routes → AI orchestrator: dispatches AI
- AI orchestrator → AI content stages: runs stages