You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:** The `yutori-computer-use` template supports two modes: `computer_use` (default, full VM screenshots) and `playwright` (viewport-only screenshots via CDP). Both modes should be tested.
kernel invoke ts-openai-cua cua-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 5 articles"}'
236
265
kernel invoke ts-gemini-cua gemini-cua-task --payload '{"startingUrl": "https://www.magnitasks.com/", "instruction": "Click the Tasks option in the left-side bar, and move the 5 items in the To Do and In Progress items to the Done section of the Kanban board? You are done successfully when the items are moved."}'
237
266
kernel invoke ts-claude-agent-sdk agent-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 3 stories"}'
267
+
kernel invoke ts-yutori-cua cua-task --payload '{"query": "Go to http://magnitasks.com, Click the Tasks option in the left-side bar, and drag the 5 items in the To Do and In Progress columns to the Done section of the Kanban board. You are done successfully when the items are dragged to Done. Do not click into the items.", "record_replay": true, "mode": "computer_use"}'
268
+
kernel invoke ts-yutori-cua cua-task --payload '{"query": "Go to http://magnitasks.com, Click the Tasks option in the left-side bar, and drag the 5 items in the To Do and In Progress columns to the Done section of the Kanban board. You are done successfully when the items are dragged to Done. Do not click into the items.", "record_replay": true, "mode": "playwright"}'
kernel invoke python-openai-cua cua-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 5 articles"}'
245
276
kernel invoke python-openagi-cua openagi-default-task -p '{"instruction": "Navigate to https://agiopen.org and click the What is Computer Use? button"}'
246
277
kernel invoke py-claude-agent-sdk agent-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 3 stories"}'
278
+
kernel invoke python-yutori-cua cua-task --payload '{"query": "Go to http://magnitasks.com, Click the Tasks option in the left-side bar, and drag the 5 items in the To Do and In Progress columns to the Done section of the Kanban board. You are done successfully when the items are dragged to Done. Do not click into the items.", "record_replay": true, "mode": "computer_use"}'
279
+
kernel invoke python-yutori-cua cua-task --payload '{"query": "Go to http://magnitasks.com, Click the Tasks option in the left-side bar, and drag the 5 items in the To Do and In Progress columns to the Done section of the Kanban board. You are done successfully when the items are dragged to Done. Do not click into the items.", "record_replay": true, "mode": "playwright"}'
247
280
```
248
281
249
282
## Step 7: Automated Runtime Testing (Optional)
250
283
251
-
**STOP and ask the human:** "Would you like me to automatically invoke all 15 templates and report back on their runtime status?"
284
+
**STOP and ask the human:** "Would you like me to automatically invoke all 19 test cases and report back on their runtime status?"
252
285
253
286
If the human agrees, invoke each template use the Kernel CLI and collect results. Present findings in this format:
254
287
@@ -268,13 +301,17 @@ If the human agrees, invoke each template use the Kernel CLI and collect results
When enabled, the response will include a `replay_url` field with a link to view the recorded session.
37
+
38
+
## Viewport Configuration
39
+
40
+
Yutori n1 recommends a **1280×800 (WXGA, 16:10)** viewport for best grounding accuracy. Kernel's closest supported viewport is **1200×800 at 25Hz**, which this template uses by default.
41
+
42
+
> **Note:** n1 outputs coordinates in a 1000×1000 relative space, which are automatically scaled to the actual viewport dimensions. The slight width difference (1200 vs 1280) should have minimal impact on accuracy.
43
+
44
+
See [Kernel Viewport Documentation](https://www.kernel.sh/docs/browsers/viewport) for all supported configurations.
45
+
46
+
## n1 Supported Actions
47
+
48
+
| Action | Description |
49
+
|--------|-------------|
50
+
|`click`| Left mouse click at coordinates |
51
+
|`scroll`| Scroll page in a direction |
52
+
|`type`| Type text into focused element |
53
+
|`key_press`| Send keyboard input |
54
+
|`hover`| Move mouse without clicking |
55
+
|`drag`| Click-and-drag operation |
56
+
|`wait`| Pause for UI to update |
57
+
|`refresh`| Reload current page |
58
+
|`go_back`| Navigate back in history |
59
+
|`goto_url`| Navigate to a URL |
60
+
|`stop`| End task with final answer |
61
+
62
+
## Resources
63
+
64
+
-[Yutori n1 API Documentation](https://docs.yutori.com/reference/n1)
0 commit comments