mirror of
https://github.com/trycua/computer.git
synced 2026-04-24 23:50:15 -05:00
add gif for demo
This commit is contained in:
@@ -4,7 +4,6 @@ If you've been building computer-use agents, you know the reality: every model p
|
||||
|
||||
Today we're launching the **Cua VLM Router**: a managed inference API that gives you unified access to multiple vision-language model providers through a single API key. We're starting with Anthropic's Claude models (Sonnet 4.5 and Haiku 4.5)—some of the most loved and widely-used computer-use models in the Cua ecosystem - with more providers coming soon.
|
||||
|
||||
|
||||

|
||||
|
||||
## What You Get
|
||||
@@ -12,21 +11,25 @@ Today we're launching the **Cua VLM Router**: a managed inference API that gives
|
||||
The Cua VLM Router handles the infrastructure so you can focus on building:
|
||||
|
||||
**Single API Key**
|
||||
|
||||
- One key for all model providers (no juggling multiple credentials)
|
||||
- Works for both model inference and sandbox access
|
||||
- Manage everything from one dashboard at cua.ai
|
||||
|
||||
**Smart Routing**
|
||||
|
||||
- Automatic provider selection for optimal availability and performance
|
||||
- For Anthropic models, we route to the best provider (Anthropic, AWS Bedrock, or Microsoft Foundry)
|
||||
- No configuration needed—just specify the model and we handle the rest
|
||||
|
||||
**Cost Tracking & Optimization**
|
||||
|
||||
- Unified usage dashboard across all models
|
||||
- Real-time credit balance tracking
|
||||
- Detailed cost breakdown per request (gateway cost + upstream cost)
|
||||
|
||||
**Production-Ready**
|
||||
|
||||
- OpenAI-compatible API (drop-in replacement for existing code)
|
||||
- Full streaming support with Server-Sent Events
|
||||
- Metadata about routing decisions in every response
|
||||
@@ -35,10 +38,10 @@ The Cua VLM Router handles the infrastructure so you can focus on building:
|
||||
|
||||
We're starting with Anthropic's latest Claude models:
|
||||
|
||||
| Model | Best For |
|
||||
|-------|----------|
|
||||
| Model | Best For |
|
||||
| --------------------------------- | ---------------------------------- |
|
||||
| `cua/anthropic/claude-sonnet-4.5` | General-purpose tasks, recommended |
|
||||
| `cua/anthropic/claude-haiku-4.5` | Fast responses, cost-effective |
|
||||
| `cua/anthropic/claude-haiku-4.5` | Fast responses, cost-effective |
|
||||
|
||||
## How It Works
|
||||
|
||||
@@ -85,12 +88,14 @@ async for result in agent.run(messages):
|
||||
Already using Anthropic directly? Just add the `cua/` prefix:
|
||||
|
||||
**Before:**
|
||||
|
||||
```python
|
||||
export ANTHROPIC_API_KEY="sk-ant-..."
|
||||
agent = ComputerAgent(model="anthropic/claude-sonnet-4-5-20250929")
|
||||
```
|
||||
|
||||
**After:**
|
||||
|
||||
```python
|
||||
export CUA_API_KEY="sk_cua-api01_..."
|
||||
agent = ComputerAgent(model="cua/anthropic/claude-sonnet-4.5")
|
||||
|
||||
@@ -11,11 +11,13 @@ Today we're launching the **Cua CLI**: a command-line interface that brings the
|
||||
The Cua CLI handles everything you need to work with Cloud Sandboxes:
|
||||
|
||||
**Authentication**
|
||||
|
||||
- Browser-based OAuth login with automatic credential storage
|
||||
- Direct API key support for CI/CD pipelines
|
||||
- Export credentials to `.env` files for SDK integration
|
||||
|
||||
**Sandbox Management**
|
||||
|
||||
- Create sandboxes with your choice of OS, size, and region
|
||||
- List all your sandboxes with status and connection details
|
||||
- Start, stop, restart, and delete sandboxes
|
||||
@@ -123,17 +125,20 @@ await computer.run()
|
||||
Create sandboxes in the size and region that fits your needs:
|
||||
|
||||
**Sizes:**
|
||||
|
||||
- `small` - 2 cores, 8 GB RAM, 128 GB SSD
|
||||
- `medium` - 4 cores, 16 GB RAM, 128 GB SSD
|
||||
- `large` - 8 cores, 32 GB RAM, 256 GB SSD
|
||||
|
||||
**Regions:**
|
||||
|
||||
- `north-america`
|
||||
- `europe`
|
||||
- `asia-pacific`
|
||||
- `south-america`
|
||||
|
||||
**OS Options:**
|
||||
|
||||
- `linux` - Ubuntu with XFCE desktop
|
||||
- `windows` - Windows 11 with Edge and Python
|
||||
- `macos` - macOS (preview access)
|
||||
@@ -141,6 +146,7 @@ Create sandboxes in the size and region that fits your needs:
|
||||
## Example Workflows
|
||||
|
||||
**Quick Testing Environment**
|
||||
|
||||
```bash
|
||||
# Spin up a sandbox, test something, tear it down
|
||||
cua sb create --os linux --size small --region north-america
|
||||
@@ -149,6 +155,7 @@ cua sb delete my-sandbox-abc123
|
||||
```
|
||||
|
||||
**Persistent Development Sandbox**
|
||||
|
||||
```bash
|
||||
# Create a sandbox for long-term use
|
||||
cua sb create --os linux --size medium --region north-america
|
||||
@@ -221,11 +228,13 @@ Yes. The CLI and dashboard share the same API. Any sandbox you create in the das
|
||||
<summary><strong>How do I update the CLI?</strong></summary>
|
||||
|
||||
If you installed via script:
|
||||
|
||||
```bash
|
||||
curl -LsSf https://cua.ai/cli/install.sh | sh
|
||||
```
|
||||
|
||||
If you installed via npm:
|
||||
|
||||
```bash
|
||||
npm install -g @trycua/cli@latest
|
||||
```
|
||||
@@ -235,6 +244,7 @@ npm install -g @trycua/cli@latest
|
||||
## What's Next
|
||||
|
||||
We're actively iterating based on feedback. Planned features include:
|
||||
|
||||
- SSH key management for secure sandbox access
|
||||
- Template-based sandbox creation
|
||||
- Batch operations (start/stop multiple sandboxes)
|
||||
|
||||
Reference in New Issue
Block a user