Ubuntu
Deploy an Ubuntu instance
UbuntuInstance
The UbuntuInstance
is a Ubuntu 22.04 desktop that supports interactive streaming, computer actions, bash commands, filesystem management, built-in Jupyter notebooks, and Chromium browser support. We recommend using this instance type for most tasks.
- Fast start up time
- 1x compute cost
Start an Ubuntu instance
Python
TypeScript
Available actions
screenshot
Take a base64 encoded image of the current desktop
Python
TypeScript
get_stream_url
Get the interactive stream URL
Python
TypeScript
computer
Perform computer actions with the mouse and keyboard
key
Press a key or combination of keys
text
Python
TypeScript
type
Type text into the active window
text
Python
TypeScript
mouse_move
Move mouse cursor to specific coordinates
coordinate
[x, y]
Python
TypeScript
left_click_drag
Click and drag from current position to specified coordinates
coordinate
[x, y]
Python
TypeScript
scroll
Scroll horizontally and/or vertically (pixels converted to clicks)
coordinate
[x, y]
Python
TypeScript
left_click
Perform a left mouse click at current position
Python
TypeScript
right_click
Perform a right mouse click at current position
Python
TypeScript
middle_click
Perform a middle mouse click at current position
Python
TypeScript
double_click
Perform a double left click at current position
Python
TypeScript
screenshot
Take a screenshot of the desktop
Python
TypeScript
cursor_position
Get current mouse cursor coordinates
Python
TypeScript
wait
Wait for 3 seconds
Python
TypeScript
bash
Run a bash command
Python
TypeScript
edit
Edit a file on the instance
Python
TypeScript
stop
Stop the instance
Python
TypeScript
pause
Pause the instance
Python
TypeScript
resume
Resume the instance
Python
TypeScript
Compatible tools
BashTool
ComputerTool
EditTool
BrowserTool
Additional protocols
The Ubuntu instance supports several protocols that provide additional functionality:
- Browser - Control the browser with Playwright
- Code Execution - Execute code in Python and JavaScript
- Environment Variables - Manage environment variables
- Filesystem - Read, write, upload, and download files