How adam-mahmoud12/ai-workflow works
AI TaskFlow is a task/project workspace with account-scoped persistence, configurable AI, and visual planning and editing studios. Users manage workspace data, then use AI chat or the planner to create reviewed results; domain-specific W2M/2 parsers validate structured designs before editing or export. Other product branches include provider and account settings, reusable skills, document context, help, speaking practice, and optional Telegram delivery. Client excerpts establish several calls; broader backend route and engine wiring is summarized only where the README documents it.
Main entry points: main.py Backend API · App.tsx Task Workspace · AIChat.tsx AI Chat · AIPlanner.tsx AI Planner
Components 23
Workspace
- Task Workspace
src/App.tsx - Workspace Data
src/appData.ts - Help Center
src/HelpCenter.tsx - Localization
src/localization.ts
AI and Context
- AI Providers
src/AIProviders.tsx - AI Chat
src/AIChat.tsx - AI Planner
src/AIPlanner.tsx - Document Context
src/DocumentAttachments.tsx - AI Action Types
src/aiActions.ts - Reusable Skills
src/SkillsCenter.tsx - Speaking Trainer
src/SpeakingTrainer.tsx
Planning Studios
- Flowchart Editor
src/FlowchartEditor.tsx - W2M Parsers
src/w2mFormats.ts - Architecture Studio
src/ArchitecturalPlanStudio.tsx - SVG Design Studio
src/SVGLogoStudio.tsx - Motion Studio
src/MotionGraphicsStudio.tsx - Motion Compiler
src/motionW2M.ts
Accounts and Services
- Application Database
backend/database.py - Sign-in and Accounts
src/AuthGate.tsx - Backend API
backend/main.py - Telegram Delivery
src/api.ts - Server Settings
src/ServerAccessSettings.tsx
Other components
- User
Connections 33
- User → Task Workspace: uses
src/App.tsx - Task Workspace → Workspace Data: reads and writes
src/App.tsx - Workspace Data → Backend API: calls data API
src/appData.ts - Backend API → Application Database: persists data
backend/main.py - User → Sign-in and Accounts: signs in
src/AuthGate.tsx - Sign-in and Accounts → Backend API: calls auth API
src/AuthGate.tsx - User → AI Providers: configures models
src/AIProviders.tsx - AI Providers → Backend API: calls provider API
src/AIProviders.tsx - User → AI Chat: asks questions
src/AIChat.tsx - AI Chat → Backend API: sends chat request
src/AIChat.tsx - User → AI Planner: requests plans
src/AIPlanner.tsx - AI Planner → AI Chat: uses chat context
src/AIPlanner.tsx - AI Chat → Document Context: uses documents
src/AIChat.tsx - AI Planner → Document Context: uses documents
src/AIPlanner.tsx - Task Workspace → AI Action Types: describes actions
src/App.tsx - Task Workspace → Reusable Skills: opens skills
src/App.tsx - User → Flowchart Editor: edits workflows
- Flowchart Editor → W2M Parsers: parses W2M
src/FlowchartEditor.tsx - User → Architecture Studio: creates plans
README.md - Architecture Studio → W2M Parsers: parses W2M
src/ArchitecturalPlanStudio.tsx - User → SVG Design Studio: creates designs
README.md - SVG Design Studio → W2M Parsers: parses W2M
src/SVGLogoStudio.tsx - User → Motion Studio: edits projects
README.md - Motion Studio → Motion Compiler: validates projects
src/MotionGraphicsStudio.tsx - Motion Studio → Backend API: calls motion API
src/MotionGraphicsStudio.tsx - User → Speaking Trainer: practices speaking
- AI Chat → Telegram Delivery: delivers artifacts
src/AIChat.tsx - SVG Design Studio → Telegram Delivery: delivers SVG
src/SVGLogoStudio.tsx - Telegram Delivery → Backend API: submits delivery
src/api.ts - User → Server Settings: configures access
- Server Settings → Backend API: calls settings API
src/ServerAccessSettings.tsx - User → Help Center: reads guidance
- Task Workspace → Localization: uses translations
src/localization.ts