Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md add architecture diagram. #125

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions computer-use-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,44 @@ Please use [this form](https://forms.gle/BT1hpBrqDPDUrCqo7) to provide feedback
> [!IMPORTANT]
> The components are weakly separated: the agent loop runs in the container being controlled by Claude, can only be used by one session at a time, and must be restarted or reset between sessions if necessary.

## Architecture

```mermaid
architecture-beta
group docker(server)[Docker Ubuntu 22_04]
group anthropic[Anthropic]

service http_server(server)[http_server 8080] in docker
service noVNC(server)[noVNC 6080] in docker
service x11vnc(server)[x11vnc 5900] in docker
service Xvfb[Xvfb] in docker
service mutter[mutter] in docker
service tint2[tint2] in docker
service xdotool(server)[xdotool] in docker
service streamlit(server)[streamlit 8501] in docker
service claude(cloud)[Claude] in anthropic
junction one
junction two
junction three
junction four

http_server:R -- L:three
three:R --> L:noVNC
three:T -- B:four
four:R --> L:streamlit
noVNC:R --> L:x11vnc
streamlit:R --> L:xdotool
streamlit:T --> B:claude
x11vnc:R -- L:one
one:R -- L:mutter
one:T -- B:two
two:R -- L:tint2
tint2:T -- B:Xvfb
mutter:T -- B:tint2
xdotool:R -- L:two
```


## Quickstart: running the Docker container

### Anthropic API
Expand Down