Skip to main content

Overview

Computer provides low-level control over the virtual desktop — keyboard input, mouse clicks, scrolling, and filesystem access via mounted drives.
from nen import Computer
from pydantic import BaseModel

class Params(BaseModel):
    ...

class Result(BaseModel):
    ...

def run(params: Params) -> Result:
    computer = Computer()
    ...
Computer() takes no arguments. It reads configuration from environment variables set by the workflow runtime.

Drive & Files

Computer provides access to files on mounted drives from the parent container. See Files & Assets for the full API reference including the Drive and File objects, file listing, reading, and streaming patterns.