When a user says create_project("Build a web app for task management"), they trigger a sophisticated 7-stage orchestration involving 15+ interconnected systems. This document explains the internal complexity and system coordination that happens behind the scenes.
User Request → NLP Processing → PRD Analysis → Task Generation → Dependency Inference → Board Creation → Learning Storage
↓ ↓ ↓ ↓ ↓ ↓ ↓
[MCP Tool] [AI Engine] [PRD Parser] [Task Intel] [Context System] [Kanban Integ] [Memory Sys]
Result: A fully structured project with intelligent tasks, proper dependencies, and learning patterns stored for future projects.
System: 34-create-project-tool.md (MCP Tool Layer)
- Parameter Validation: Ensures description isn't empty, project name is valid
- Pipeline Tracking: Generates unique flow ID for real-time monitoring
- State Initialization: Prepares project context and error recovery mechanisms
- Background Task Creation: Starts async tracking (creates MCP protocol challenges)
{
"flow_id": "proj_2025_001_abc123",
"timestamp": "2025-09-05T10:30:00Z",
"status": "initiated",
"tracking_active": true
}System: 38-natural-language-project-creation.md (NLP Pipeline)
- Context Detection: Analyzes current board state to determine creation mode
- Constraint Building: Maps user options (complexity, team size, tech stack) to internal constraints
- Mode Selection: Chooses between "add to existing board" vs "new project" processing
- Project Complexity Classification: Prototype (8 tasks) vs Standard (20 tasks) vs Enterprise (50+ tasks)
- Technology Stack Inference: Extracts tech requirements from natural language
- Deadline Analysis: Interprets time constraints and urgency
System: 38-natural-language-project-creation.md (Advanced PRD Parser)
A Product Requirements Document is a formal specification that describes what a software product should do. Marcus treats every project description - even casual ones like "build a todo app" - as if it were a formal PRD that needs to be analyzed and structured.
Marcus sends your description to its AI engine with specialized prompts that extract seven key components:
Examples from "build a task management web app":
- "Users must be able to create, edit, and delete tasks"
- "Users must be able to assign due dates to tasks"
- "Users must be able to mark tasks as complete"
- "System must display task lists organized by project"
Examples:
- "Response time must be under 200ms for task operations"
- "System must support 100 concurrent users"
- "Data must be backed up daily"
- "Interface must be mobile-responsive"
Examples:
- "Must use React for frontend" (if specified)
- "Must integrate with existing user authentication system"
- "Must work offline for core functionality"
- "Must deploy to AWS infrastructure"
Examples:
- "Improve team productivity by 25%"
- "Reduce time spent on task coordination"
- "Replace current inefficient spreadsheet-based tracking"
Examples:
- "Project managers who need oversight of team progress"
- "Individual contributors who need personal task tracking"
- "Executives who need high-level project status"
Examples:
- "Task creation time reduced from 2 minutes to 30 seconds"
- "95% user adoption within first month"
- "Zero data loss incidents"
Examples:
- "Single-page application with REST API backend"
- "Microservices architecture with event-driven communication"
- "Progressive web app with offline-first design"
if project_size in ["prototype", "mvp"]:
max_tasks = 8 # Just core features
include_infrastructure = False
elif project_size in ["standard", "medium"]:
max_tasks = 20 # Balanced feature set
include_infrastructure = True
else: # enterprise
max_tasks = 50+ # Comprehensive coverage
include_infrastructure = True
include_compliance = TrueNon-functional requirements add complexity, so Marcus decides which ones matter:
if project_size == "prototype":
nfrs = nfrs[:1] # Only the most critical NFR (usually security)
elif project_size == "standard":
nfrs = nfrs[:3] # Key performance and security requirements
else: # enterprise
nfrs = nfrs # All NFRs including compliance, monitoring, etc.How detailed should tasks be?
- Prototype: "Implement user authentication" (high-level)
- Standard: "Set up OAuth2", "Create login UI", "Handle auth errors" (medium detail)
- Enterprise: "Configure OAuth2 provider", "Design login form", "Implement form validation", "Add loading states", "Handle network errors", "Add accessibility features" (very detailed)
How sophisticated should task relationships be?
- Prototype: Simple linear dependencies (A → B → C)
- Standard: Cross-functional dependencies (Frontend tasks can start once API design is done)
- Enterprise: Complex dependency graphs with parallel tracks and integration points
What supporting systems are needed?
if deployment_target == "none":
# No deployment tasks, just development
elif deployment_target == "internal":
# Basic CI/CD, staging environment
elif deployment_target == "production":
# Full deployment pipeline, monitoring, scaling, backup systemsPRDAnalysis {
functional_requirements: [
{"id": "F001", "description": "User authentication", "priority": "HIGH"},
{"id": "F002", "description": "Task CRUD operations", "priority": "HIGH"},
{"id": "F003", "description": "Project organization", "priority": "MEDIUM"}
],
non_functional_requirements: [
{"id": "NFR001", "description": "<1s response time", "category": "performance"},
{"id": "NFR002", "description": "Mobile responsive", "category": "usability"}
],
technical_constraints: ["React frontend", "Python backend", "PostgreSQL database"],
business_objectives: ["Improve team productivity", "Replace spreadsheet workflow"],
complexity_assessment: {"frontend": "medium", "backend": "high", "database": "low"},
confidence: 0.85 # How confident the AI is in this analysis
}System: 23-task-management-intelligence.md (Task Intelligence Engine)
- Template Engine: Selects appropriate task templates based on project type
- Phase Generation: Creates logical project phases (Planning → Development → Testing → Deployment)
- Task Creation: Generates specific, actionable tasks from requirements
- Dependency Building: Establishes prerequisite relationships between tasks
- Pattern Matching: Uses learned patterns from previous similar projects
- Complexity Adjustment: Adjusts task granularity based on project complexity
- Safety Validation: Prevents illogical dependencies (e.g., "Deploy" before "Develop")
Task {
id: "task_001"
name: "Set up React development environment"
description: "Configure build tools, linting, testing framework"
status: "TODO"
priority: "HIGH"
estimated_hours: 2.0
dependencies: [] # First task, no dependencies
labels: ["setup", "frontend"]
phase: "planning"
}System: 03-context-dependency-system.md (Hybrid Dependency Engine)
- Pattern Rules: Applies logical dependency rules (setup before development)
- AI Analysis: Uses AI to infer complex dependencies between tasks
- Automatic Issue Correction: Via the Task Graph Auto-Fix System, automatically fixes:
- Orphaned dependencies (references to non-existent tasks)
- Circular dependencies (removes back-edges to break cycles)
- Missing final task dependencies (ensures PROJECT_SUCCESS runs last)
- Cycle Detection: Ensures dependency graph is acyclic after fixes
- Learning from Memory:
01-memory-system.mdprovides patterns from past projects - Context Awareness: Understands how tasks in this project relate to each other
- Risk Mitigation: Identifies dependency risks and suggests alternatives
- Silent Correction: Issues are fixed automatically without failing the creation process
Setup Tasks → Core Development → Feature Development → Testing → Deployment
↓ ↓ ↓ ↓ ↓
[task_001] [task_005-010] [task_011-015] [task_016] [task_017]
System: 04-kanban-integration.md (Multi-Provider Kanban)
- Provider Selection: Chooses appropriate Kanban provider (Planka, Linear, GitHub)
- Board Structure: Creates board with proper columns (TODO, In Progress, Done, Blocked)
- Task Creation: Generates tasks on the board with all metadata
- Metadata Enrichment: Adds labels, priorities, time estimates, dependencies
- Board State:
16-project-management.mdtracks project in registry - Task Assignments:
35-assignment-lease-system.mdprepares for agent requests - Project Context:
03-context-dependency-system.mdmaintains project state
System: 01-memory-system.md (Multi-Tier Memory)
- Episodic Memory: Records this project creation event with all context
- Semantic Memory: Updates patterns about project types and task structures
- Procedural Memory: Reinforces successful project breakdown approaches
- Working Memory: Maintains current project state for immediate access
ProjectPattern {
project_type: "web_app_task_management"
typical_tasks: ["auth", "crud", "dashboard", "deployment"]
typical_dependencies: {"auth": [], "crud": ["auth"], "dashboard": ["crud"]}
success_factors: ["clear requirements", "iterative development"]
risk_factors: ["scope creep", "technology complexity"]
time_estimates: {"auth": 4h, "crud": 8h, "dashboard": 12h}
}data/marcus_state/projects.json ← Project registry and metadata
data/assignments/ ← Task assignment tracking
data/marcus_state/memory/ ← Learning patterns and outcomes
data/audit_logs/ ← Complete audit trail of creation
data/token_usage.json ← AI API costs for this project
- Event System:
09-event-driven-architecture.mdbroadcasts project creation events - Service Registry:
15-service-registry.mdupdates available project services - Monitoring:
11-monitoring-systems.mdbegins tracking project health - Configuration:
28-configuration-management.mdapplies project-specific settings
Users would need to manually:
- Break down projects into tasks
- Figure out dependencies
- Estimate time requirements
- Create board structure
- Set up monitoring and tracking
- Intelligent Breakdown: AI-powered task generation with learned patterns
- Dependency Intelligence: Automatic dependency inference with conflict resolution
- Learning System: Gets better at project breakdown over time
- Full Coordination: All systems work together seamlessly
A single create_project() call produces a fully coordinated, dependency-aware, intelligently structured project ready for agent execution—with all supporting systems (monitoring, persistence, learning) automatically configured.
Project creation isn't just "make some tasks"—it's a sophisticated AI-powered analysis and coordination process that involves natural language understanding, intelligent task decomposition, dependency inference, multi-system coordination, and machine learning—all working together to transform a simple description into a fully orchestrated project ecosystem.
This is why Marcus can coordinate complex multi-agent work effectively: the intelligence is built into the project structure from the very beginning.