mirror of
https://github.com/trycua/lume.git
synced 2026-04-22 11:39:17 -05:00
Fix computer[all] docs
This commit is contained in:
@@ -67,7 +67,7 @@ The macOS CUA image contains the default Mac apps and the Computer Server for ea
|
||||
### Step 3: Install Python SDK
|
||||
|
||||
```bash
|
||||
pip install cua-computer "cua-agent[all]"
|
||||
pip install "cua-computer[all]" "cua-agent[all]"
|
||||
```
|
||||
|
||||
Alternatively, see the [Developer Guide](./docs/Developer-Guide.md) for building from source.
|
||||
@@ -162,8 +162,8 @@ docker run -it --rm \
|
||||
|--------|-------------|---------------|
|
||||
| [**Lume**](./libs/lume/README.md) | VM management for macOS/Linux using Apple's Virtualization.Framework | `curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh \| bash` |
|
||||
| [**Lumier**](./libs/lumier/README.md) | Docker interface for macOS and Linux VMs | `docker pull trycua/lumier:latest` |
|
||||
| [**Computer**](./libs/computer/README.md) | Interface for controlling virtual machines | `pip install cua-computer` |
|
||||
| [**Agent**](./libs/agent/README.md) | AI agent framework for automating tasks | `pip install cua-agent` |
|
||||
| [**Computer**](./libs/computer/README.md) | Interface for controlling virtual machines | `pip install "cua-computer[all]"` |
|
||||
| [**Agent**](./libs/agent/README.md) | AI agent framework for automating tasks | `pip install "cua-agent[all]"` |
|
||||
| [**MCP Server**](./libs/mcp-server/README.md) | MCP server for using CUA with Claude Desktop | `pip install cua-mcp-server` |
|
||||
| [**SOM**](./libs/som/README.md) | Self-of-Mark library for Agent | `pip install cua-som` |
|
||||
| [**PyLume**](./libs/pylume/README.md) | Python bindings for Lume | `pip install pylume` |
|
||||
|
||||
@@ -54,7 +54,7 @@ finally:
|
||||
To install the Computer-Use Interface (CUI):
|
||||
|
||||
```bash
|
||||
pip install cua-computer
|
||||
pip install "cua-computer[all]"
|
||||
```
|
||||
|
||||
The `cua-computer` PyPi package pulls automatically the latest executable version of Lume through [pylume](https://github.com/trycua/pylume).
|
||||
|
||||
@@ -77,13 +77,13 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from computer import Computer\n",
|
||||
"from computer import Computer, VMProviderType\n",
|
||||
"from agent import ComputerAgent, LLM, AgentLoop, LLMProvider"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
@@ -120,7 +120,7 @@
|
||||
"import logging\n",
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"computer = Computer(verbosity=logging.INFO)\n",
|
||||
"computer = Computer(verbosity=logging.INFO, provider_type=VMProviderType.LUME)\n",
|
||||
"\n",
|
||||
"# Create agent with Anthropic loop and provider\n",
|
||||
"agent = ComputerAgent(\n",
|
||||
@@ -241,7 +241,7 @@
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "cua313",
|
||||
"display_name": "cua312",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
@@ -255,7 +255,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.13.2"
|
||||
"version": "3.12.9"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!pip install cua-computer"
|
||||
"!pip install \"cua-computer[all]\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!pip install cua-computer"
|
||||
"!pip install \"cua-computer[all]\""
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -155,11 +155,11 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 23,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from computer import Computer"
|
||||
"from computer import Computer, VMProviderType"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -187,7 +187,8 @@
|
||||
" display=\"1024x768\",\n",
|
||||
" memory=\"8GB\",\n",
|
||||
" cpu=\"4\",\n",
|
||||
" os_type=\"macos\"\n",
|
||||
" os_type=\"macos\",\n",
|
||||
" provider_type=VMProviderType.LUME,\n",
|
||||
") as computer:\n",
|
||||
" await computer.run()\n",
|
||||
" # ... do something with the computer interface"
|
||||
@@ -460,7 +461,7 @@
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "cua313",
|
||||
"display_name": "cua312",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
@@ -474,7 +475,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.13.2"
|
||||
"version": "3.12.9"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user