mirror of
https://github.com/trycua/computer.git
synced 2026-01-01 02:50:15 -06:00
- Add separate test directories for all 7 packages (core, agent, computer, computer-server, mcp-server, pylume, som) - Create 30+ unit tests with mocks for external dependencies (liteLLM, PostHog, Computer) - Add conftest.py fixtures for each package to enable isolated testing - Implement GitHub Actions CI workflow with matrix strategy to test each package independently - Add TESTING.md with comprehensive testing guide and architecture documentation - Follow SOLID principles: SRP, Vertical Slice Architecture, and Testability as Design Signal Note: - No API keys required for unit tests
Computer Server is the server component for the Computer-Use Interface (CUI) framework powering Cua for interacting with local macOS and Linux sandboxes, PyAutoGUI-compatible, and pluggable with any AI agent systems (Cua, Langchain, CrewAI, AutoGen).
Features
- WebSocket API for computer-use
- Cross-platform support (macOS, Linux)
- Integration with CUA computer library for screen control, keyboard/mouse automation, and accessibility
Install
To install the Computer-Use Interface (CUI):
pip install cua-computer-server
Run
Refer to this notebook for a step-by-step guide on how to use the Computer-Use Server on the host system or VM: