Initialize a new project with Create State monitoring and world model. Use when starting work on a new project, onboarding to an existing codebase, or when the user wants to set up knowledge tracking.
Initialize a new project with Create State for knowledge tracking, AI monitoring, and session continuity.
First, check if a world model already exists:
Tool: listUserWorldModels
Arguments: {}
Look for a model matching the current project. If one exists, use it instead of creating a new one.
If no existing model, create one:
Tool: createWorldModel
Arguments:
project_name: "My Project Name"
language: "python" # or javascript, typescript, auto
description: "Brief description of the project"
Parameters:
project_name (required): A descriptive name for the projectlanguage (required): Primary programming language (or "auto" for mixed)description: Brief project descriptionThe created model becomes your active model automatically.
Enable autonomous AI monitoring:
Tool: startProjectMonitoring
Arguments:
project_path: "."
project_name: "My Project Name"
goals: ["Build authentication system", "Improve test coverage"]
Parameters:
project_path (required): Path to project directory (usually ".")project_name: Custom name (defaults to directory name)goals: Array of project goals/objectivesMonitoring enables:
Capture initial project context to seed the knowledge graph:
Tool: captureConversationContext
Arguments:
context: "## Project Initialization
### Project Overview
[Brief description of what this project does]
### Technology Stack
- Language: Python 3.11
- Framework: FastAPI
- Database: PostgreSQL
- Cache: Redis
### Key Directories
- src/ - Main source code
- tests/ - Test suite
- docs/ - Documentation
### Current Priorities
1. [Priority 1]
2. [Priority 2]
### Known Issues
- [Any known issues or tech debt]"
Confirm everything is working:
Tool: getProjectWorldModel
Arguments:
project_path: "."
include_insights: true
This should return the newly created model with initial context.
User: "Set up Create State for this React project"
Assistant:
listUserWorldModels: {}
# Result: No matching model found
createWorldModel:
project_name: "React Dashboard"
language: "typescript"
description: "Admin dashboard with charts and user management"
startProjectMonitoring:
project_path: "."
project_name: "React Dashboard"
goals: ["Implement user management", "Add real-time charts"]
captureConversationContext:
context: "## React Dashboard - Project Setup
### Overview
Admin dashboard for managing users and viewing analytics.
### Tech Stack
- React 18 with TypeScript
- Vite for build
- TailwindCSS for styling
- React Query for data fetching
- Recharts for visualizations
### Structure
- src/components/ - Reusable UI components
- src/pages/ - Route pages
- src/hooks/ - Custom React hooks
- src/api/ - API client functions"
Once set up:
After initial setup, suggest:
getProactiveInsights to see AI observations