Skip to main content

Giving Agents Computers

Project description

AES-Operator Agent backend

Environment Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

# Required environment variables
export ANTHROPIC_API_KEY=your_key
export VNC_PASSWORD=secure_password
export ALLOWED_ORIGINS=http://localhost:3000

Running the Agent

# Development mode with hot reload
uvicorn agent.main:app --reload --port 8000

# Production setup
docker build -t aes-agent .
docker run \
    -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
    -v $HOME/.anthropic:/home/computeruse/.anthropic \
    -v $HOME/agent/logs:/home/computeruse/logs \
    -p 5900:5900 \
    -p 5000:5000 \
    -p 6080:6080 \
    -p 8080:8080 \
    -p 5001:5001 \
    -it computer-use-aesop

API Endpoints

Endpoint Method Description
/api/agent POST Main agent interaction
/api/agent/stream GET Event stream for UI
/vnc GET VNC websocket proxy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

computer-agent-0.1.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

computer_agent-0.1.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file computer-agent-0.1.0.tar.gz.

File metadata

  • Download URL: computer-agent-0.1.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.6

File hashes

Hashes for computer-agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fc812fc0077266081d152b5c0baea970d31ee65d5721eb3016b9357d7e1d318
MD5 42c1b1608fc24d1962ef3e0a5a7a6e9d
BLAKE2b-256 4926007f90ddadc2af52e9affc45ccf1dea41dc61db867d436891980059a9ade

See more details on using hashes here.

File details

Details for the file computer_agent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: computer_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.6

File hashes

Hashes for computer_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04fbbc18b26cd85f3f8e143d64e6c099b224c3cc455ae98a85d3047a3b6f67cc
MD5 997af734fd788c2ddc0a1d3197207ebc
BLAKE2b-256 ece9bc0e9f35ec2894f786ced555d5b179d8cf21a3f7e45e70c5bddae987f261

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page