Getting Started
Set up your Coze Coding account and import the course knowledge base before building nodes.
- Go to code.coze.cn
- Sign up with your CUHK email address
- Click "New Project" in the top right corner
- Name your project:
URSP3600 - [Your Name] - Choose the Python template
- Click "Create"
Stuck? Ask the Course Co-Pilot in the right sidebar! It can help you with:
- Step-by-step guidance for each node
- Technical questions about Coze Coding platform
- Debugging workflow errors
- Course content and assessment questions
- Go to the Resources page
- Download "Course Knowledge Base (RAG)"
- On Coze, go to your project's "Knowledge" tab
- Click "Upload" and select the downloaded file
- Wait for indexing to complete (may take 1-2 minutes)
Problem Framer
Transform vague urban observations into structured problem statements with clear scope, measurable impact, and target user profiles.
Analyzes your urban observation and produces a structured problem statement with clear scope, measurable impact, and a target user profile. It does NOT propose solutions โ only frames the problem.
- Create an LLM Agent node on the canvas
- Name it
"Problem Framer" - Set model to
doubao-seed-2-0-lite-260215 - Set temperature to
0.3(low โ consistent structured output) - Paste the system prompt from the node template
- Define input variables:
project_description(string),project_domain(string) - Define output variables:
problem_statement(string),user_profile(string)
project_descriptionproject_domainproblem_statementuser_profile- Be specific in your project description โ include location, time, and who is affected
- If the output is too broad, add geographic or demographic constraints to your input
- The node explicitly does NOT propose solutions โ if it does, check your system prompt
- This node's outputs feed directly into the Data Stack Designer
Data Stack Designer
Identify Hong Kong open data sources and design your data architecture from source to insight.
Matches your project to specific Hong Kong government open data portals (DATA.GOV.HK, Transport Dept, EPD, etc.), identifies real-time vs. static data needs, and designs a data flow architecture from source to insight.
- Create an LLM Agent node, name it
"Data Stack Designer" - Model:
doubao-seed-2-0-lite-260215, temperature0.3 - Paste the system prompt from the template
- Define inputs:
project_description,project_domain,problem_statement - Define output:
data_sources(string) - Connect from Problem Framer (drag
problem_statementedge)
- Prioritize FREE and publicly accessible data โ the node is configured for this
- If government data doesn't cover your needs, the node suggests IoT sensors or crowdsourcing
- Be specific about your domain โ transport, environment, energy, building, or public service
- The data architecture should be simple enough for a student prototype
System Architect
Design system components, data flow, and BIM/Digital Twin connections for your smart city solution.
Designs a 4-layer architecture (sensing โ data โ logic โ presentation), maps data flow between layers, assesses smart capability level (perception โ coordination โ prediction โ adaptation โ value delivery), and connects to BIM/Digital Twin concepts.
- Create an LLM Agent node, name it
"System Architect" - Model:
doubao-seed-2-0-lite-260215, temperature0.3 - Paste the system prompt
- Define inputs:
problem_statement,data_sources,project_domain - Define output:
system_architecture(string) - Connect from Problem Framer and Data Stack Designer
- The 4 layers are: Sensing (data collection), Data (storage/structure), Logic (decisions/algorithms), Presentation (user interaction)
- BIM/Digital Twin connection is required โ even a simple one counts
- Smart capability levels go from basic (perception) to advanced (value delivery)
- Keep the architecture implementable as a student prototype
AI Composer
Design AI capabilities, agent configuration, and workflow automation for your smart city system.
Identifies specific AI capabilities needed (RAG, prediction, anomaly detection, NLP, computer vision), recommends implementation path (no-code vs code), designs AI Agent configuration, and defines workflow automation with triggers and feedback loops.
- Create an LLM Agent node, name it
"AI Composer" - Model:
doubao-seed-2-0-lite-260215, temperature0.3 - Paste the system prompt
- Define inputs:
system_architecture,data_sources,problem_statement - Define output:
ai_workflow_config(string) - Connect from System Architect, Data Stack Designer, and Problem Framer
- AI must serve a clear purpose โ don't add AI just because you can
- Focus on 1-2 core AI capabilities that directly solve the problem
- The node recommends no-code/low-code vs code implementation
- Include specific system prompt and tool definitions for your Agent
Value Canvas
Evaluate value proposition, feasibility, and risks for your smart city project.
Identifies all beneficiaries and their specific value, classifies value types (public/institutional/commercial), assesses 3 types of feasibility (technical, economic, policy), identifies risks and failure modes, and suggests an implementation roadmap.
- Create an LLM Agent node, name it
"Value Canvas" - Model:
doubao-seed-2-0-lite-260215, temperature0.3 - Paste the system prompt
- Define inputs:
system_architecture,problem_statement,user_profile - Define output:
value_proposition(string) - Connect from System Architect and Problem Framer
- Be specific about WHO benefits and HOW โ avoid generic statements
- All 3 feasibility types must be addressed: technical, economic, policy
- The node references HK Smart City Blueprint 2.0 โ know what it says
- Be honest about risks โ the prompt explicitly asks for this
Skill Generator
Package your project into a reusable Skill document that can be installed on an AI Agent.
Synthesizes all outputs from the previous 5 nodes into a standardized Skill document (JSON format) that covers the 7 project requirements and can be installed on an AI Agent.
- Create an LLM Agent node, name it
"Skill Generator" - Model:
doubao-seed-2-0-lite-260215, temperature0.3 - Paste the system prompt
- Define ALL input variables from previous 5 nodes
- Define output:
skill_document(string) - Connect from ALL 5 previous nodes
- This is your final deliverable โ make sure all 7 project requirements are covered
- The output must be valid JSON โ test it with a JSON validator
- The document should be self-contained (an Agent can understand your project from it alone)
- Include Agent installation instructions so others can use your Skill
- This directly addresses the Final Project (50%) assessment
Final Steps
Test your workflow, prepare your presentation, and submit your final project.
- 8-10 minute presentation covering: problem statement, data sources, initial system architecture
- Team of 3-4 students
- Q&A session (5 minutes)
- Submit slides (PDF) via Blackboard before class
- Click "Run" on the canvas
- Enter your project description and domain
- Watch each node execute in sequence
- Check the output of each node โ does it make sense?
- If a node fails, check its system prompt and input variables
- 12-15 minute presentation (Week 13)
- Cover: problem, data, architecture, AI, value, and demo
- Include your Skill document as a handout
- Practice with your team โ timing matters
- Export your workflow as a Skill document
- Submit via Blackboard before the deadline
- Include: workflow screenshot, Skill JSON, and presentation slides