This guide focuses on reducing CPU/memory usage while keeping automation features intact and behavior understandable for agents and humans.
- Disable heavy features unless needed:
ENABLE_VNC=0,ENABLE_WINEDBG=0,WINEBOT_RECORD=0. - Lower display cost: use a smaller
SCREENwhen full HD isn’t required (e.g.,1280x720x24). - Prefer summary health: use
/healthfor quick checks and/health/*for deeper inspection. - Limit control scans: for
/inspect/window, setinclude_controls=falseor capmax_controlswhen possible.
Use the provided override to reduce resource usage while keeping core features:
docker compose -f compose/docker-compose.yml -f compose/overrides.low-resource.yml --profile headless up --buildFor interactive mode:
docker compose -f compose/docker-compose.yml -f compose/overrides.low-resource.yml --profile interactive up --build- Target windows deterministically: prefer stable titles or handles to avoid expensive searches.
- Batch actions: avoid repeated wine initialization by running related steps in a single session.
- Use focused calls: keep
/inspect/windowand screenshots to the minimum required for the task.
- Recording is powerful but expensive; enable only for runs that require artifacts.
- winedbg/gdb adds overhead; use only for troubleshooting.
- Smoke tests stay minimal: quick checks for boot, API, and metadata.
- Deep checks run separately: full Notepad automation, recording validation, and gdb‑proxy tests can be nightly/CI.
- Stable endpoints: keep
/healthfast and high-level; use/health/*for detail. - Consistent IDs: use request IDs in screenshots and logs to correlate events.