Skip to main content

Supported Models

ModelAPI String
Claude Opus 4.6claude-opus-4-6
Claude Sonnet 4.6claude-sonnet-4-6
Claude Haiku 4.5claude-haiku-4-5-20251001

Supported Tools

Every Nen desktop exposes the computer tool via GET /tools. The following actions are available:
ActionDescriptionKey Parameters
screenshotCapture the current screen
left_clickClick at coordinatescoordinate: [x, y]
right_clickRight-click at coordinatescoordinate: [x, y]
double_clickDouble-click at coordinatescoordinate: [x, y]
mouse_moveMove cursor without clickingcoordinate: [x, y]
typeType text at cursor positiontext: string
keyPress a key or combinationtext: "Return", "ctrl+a"
scrollScroll in a directioncoordinate, scroll_direction, scroll_amount
waitPause for loading screens
cursor_positionGet current cursor position

Tool Format

Nen returns standard JSON Schema from GET /tools. Convert to Anthropic’s format by mapping parametersinput_schema:
tools = httpx.get(f"{NEN_URL}/tools").json()

anthropic_tools = [
    {"name": t["name"], "description": t["description"], "input_schema": t["parameters"]}
    for t in tools
]

Getting Started

Use nen example create to scaffold a ready-to-run agent project:
nen example create anthropic-computer-use
cd nen-anthropic-cua
uv sync && cp .env.example .env
# Fill in your API keys in .env
uv run python agent.py --task "Open Firefox and navigate to google.com"
See the Quickstart for a full walkthrough, or run nen example list to see all templates.

Next Steps

OpenAI (GPT)

Same pattern with GPT models

Computer Tool Reference

Full reference for all computer actions