Skip to content

Intuned/playwright-computer-use

Repository files navigation

Playwright Computer Use Demo

Dependencies

  • Create venv: python3 -m venv .venv
  • Activate venv: source .venv/bin/activate
  • Install dependencies: pip install -r requirements.txt
  • Make sure playwright is installed: playwright install
  • Copy/paste .env.example and name it .env. Add Anthropic API key to it.

Experiments:

  • Completion: Ask AI to do something in one shot: run_completion.ipynb notebook.
  • Agentic: Have conversation with AI and let it use tools "agentically": run_agentic.ipynb notebook.

Modifications

  • Shell and edit tools are commented out, they are not relevant.
  • Computer tool is modified to work on Playwright instead of a computer.
  • Added a Playwright tool because the AI assistant can't do stuff like click on tabs, click on search bar, etc...
  • Modified system prompt to instruct the AI about this different environment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages