Skip to content

Commit

Permalink
Add note about where to find the demo app for Vertex after it starts …
Browse files Browse the repository at this point in the history
…up (#38)

* Add note about where to find the app for Vertex after it starts up

* Move instructions on accessing the app to the end of the quickstart section

* dummy change to trigger CI

* Add link to section below

* Fix AWS profile
  • Loading branch information
andrewedstrom authored Oct 22, 2024
1 parent e262509 commit 6df3c6a
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions computer-use-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,7 @@ docker run \
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
```

Once the container is running, open your browser to [http://localhost:8080](http://localhost:8080) to access the combined interface that includes both the agent chat and desktop view.

The container stores settings like API key and custom system prompt in `~/.anthropic/`. Mount this directory to persist these settings between container runs.

Alternative access points:

- Streamlit interface only: [http://localhost:8501](http://localhost:8501)
- Desktop view only: [http://localhost:6080/vnc.html](http://localhost:6080/vnc.html)
- Direct VNC connection: `vnc://localhost:5900` (for VNC clients)
Once the container is running, see the [Accessing the demo app](#accessing-the-demo-app) section below for instructions on how to connect to the interface.

### Bedrock

Expand All @@ -75,6 +67,8 @@ docker run \
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
```

Once the container is running, see the [Accessing the demo app](#accessing-the-demo-app) section below for instructions on how to connect to the interface.

#### Option 2: Use an access key and secret

```bash
Expand All @@ -94,6 +88,8 @@ docker run \
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
```

Once the container is running, see the [Accessing the demo app](#accessing-the-demo-app) section below for instructions on how to connect to the interface.

### Vertex

You'll need to pass in Google Cloud credentials with appropriate permissions to use Claude on Vertex.
Expand All @@ -115,10 +111,24 @@ docker run \
-it computer-use-demo
```

Once the container is running, see the [Accessing the demo app](#accessing-the-demo-app) section below for instructions on how to connect to the interface.

This example shows how to use the Google Cloud Application Default Credentials to authenticate with Vertex.

You can also set `GOOGLE_APPLICATION_CREDENTIALS` to use an arbitrary credential file, see the [Google Cloud Authentication documentation](https://cloud.google.com/docs/authentication/application-default-credentials#GAC) for more details.

### Accessing the demo app

Once the container is running, open your browser to [http://localhost:8080](http://localhost:8080) to access the combined interface that includes both the agent chat and desktop view.

The container stores settings like the API key and custom system prompt in `~/.anthropic/`. Mount this directory to persist these settings between container runs.

Alternative access points:

- Streamlit interface only: [http://localhost:8501](http://localhost:8501)
- Desktop view only: [http://localhost:6080/vnc.html](http://localhost:6080/vnc.html)
- Direct VNC connection: `vnc://localhost:5900` (for VNC clients)

## Screen size

Environment variables `WIDTH` and `HEIGHT` can be used to set the screen size. For example:
Expand Down

0 comments on commit 6df3c6a

Please sign in to comment.