Back to Prompt Library
implementation
Implement LangGraph State Machine
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Edge Multimodal AI for AR Glasses: Real-time Assistant
Format
Text-first
Lines
1
Sections
1
Linked challenge
Edge Multimodal AI for AR Glasses: Real-time Assistant
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 checklist items
Implement the core state machine for the AR assistant using `LangGraph`. Define states for 'listening', 'processing_query', 'navigating', 'displaying_info', etc. Detail how state transitions occur based on user input and `Gemini 2.5 Pro` outputs, ensuring context persistence across turns.
Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.