{"id":28512112,"url":"https://github.com/browser-use/workflow-use","last_synced_at":"2025-06-10T11:01:57.438Z","repository":{"id":293691059,"uuid":"978634864","full_name":"browser-use/workflow-use","owner":"browser-use","description":"⚙️ Create and run workflows (RPA 2.0)","archived":false,"fork":false,"pushed_at":"2025-06-05T12:51:36.000Z","size":2251,"stargazers_count":3157,"open_issues_count":31,"forks_count":210,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-06-05T13:45:14.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://browser-use.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browser-use.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-06T09:35:23.000Z","updated_at":"2025-06-05T13:24:13.000Z","dependencies_parsed_at":"2025-05-16T16:52:01.336Z","dependency_job_id":"7a96c2b2-eb02-481e-a945-0ec658c062bd","html_url":"https://github.com/browser-use/workflow-use","commit_stats":null,"previous_names":["browser-use/workflow-use"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-use%2Fworkflow-use","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-use%2Fworkflow-use/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-use%2Fworkflow-use/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-use%2Fworkflow-use/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browser-use","download_url":"https://codeload.github.com/browser-use/workflow-use/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-use%2Fworkflow-use/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258798106,"owners_count":22759724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-09T00:30:36.430Z","updated_at":"2025-06-10T11:01:57.392Z","avatar_url":"https://github.com/browser-use.png","language":"TypeScript","funding_links":[],"categories":["Python","前端开发框架及项目","Why This Repo? A Little Bit About Me \u0026 My Love for `workflow-use` ❤️"],"sub_categories":["前端项目_其他"],"readme":"\u003cpicture\u003e\n  \u003cimg alt=\"Workflow Use logo - a product by Browser Use.\" src=\"./static/workflow-use.png\"  width=\"full\"\u003e\n\u003c/picture\u003e\n\n\u003cbr /\u003e\n\n\u003ch1 align=\"center\"\u003eDeterministic, Self Healing Workflows (RPA 2.0)\u003c/h1\u003e\n\n[![GitHub stars](https://img.shields.io/github/stars/browser-use/workflow-use?style=social)](https://github.com/browser-use/workflow-use/stargazers)\n[![Discord](https://img.shields.io/discord/1303749220842340412?color=7289DA\u0026label=Discord\u0026logo=discord\u0026logoColor=white)](https://link.browser-use.com/discord)\n[![Cloud](https://img.shields.io/badge/Cloud-☁️-blue)](https://cloud.browser-use.com)\n[![Twitter Follow](https://img.shields.io/twitter/follow/Gregor?style=social)](https://x.com/gregpr07)\n[![Twitter Follow](https://img.shields.io/twitter/follow/Magnus?style=social)](https://x.com/mamagnus00)\n\n⚙️ **Workflow Use** is the easiest way to create and execute deterministic workflows with variables which fallback to [Browser Use](https://github.com/browser-use/browser-use) if a step fails. You just _show_ the recorder the workflow, we automatically generate the workflow.\n\n❗ This project is in very early development so we don't recommend using this in production. Lots of things will change and we don't have a release schedule yet. Originally, the project was born out of customer demand to make Browser Use more reliable and deterministic.\n\n# Quick start\n\n```bash\ngit clone https://github.com/browser-use/workflow-use\n```\n\n## Build the extension\n\n```bash\ncd extension \u0026\u0026 npm install \u0026\u0026 npm run build\n```\n\n## Setup workflow environment\n\n```bash\ncd .. \u0026\u0026 cd workflows\nuv sync\nsource .venv/bin/activate # for mac / linux\nplaywright install chromium\ncp .env.example .env # add your OPENAI_API_KEY to the .env file\n```\n\n\n## Run workflow as tool\n\n```bash\npython cli.py run-as-tool examples/example.workflow.json --prompt \"fill the form with example data\"\n```\n\n## Run workflow with predefined variables\n\n```bash\npython cli.py run-workflow examples/example.workflow.json \n```\n\n## Record your own workflow\n\n```bash\npython cli.py create-workflow\n```\n\n## See all commands\n\n```bash\npython cli.py --help\n```\n\n# Usage from python\n\nRunning the workflow files is as simple as:\n\n```python\nfrom workflow_use import Workflow\n\nworkflow = Workflow.load_from_file(\"example.workflow.json\")\nresult = asyncio.run(workflow.run_as_tool(\"I want to search for 'workflow use'\"))\n```\n\n## Launch the GUI\n\nThe Workflow UI provides a visual interface for managing, viewing, and executing workflows.\n\n### Option 1: Using the CLI command (Recommended)\n\nThe easiest way to start the GUI is with the built-in CLI command:\n\n```bash\ncd workflows\npython cli.py launch-gui\n```\n\nThis command will:\n- Start the backend server (FastAPI)\n- Start the frontend development server\n- Automatically open http://localhost:5173 in your browser\n- Capture logs to the `./tmp/logs` directory\n\nPress Ctrl+C to stop both servers when you're done.\n\n### Option 2: Start servers separately\n\nAlternatively, you can start the servers individually:\n\n#### Start the backend server\n\n```bash\ncd workflows\nuvicorn backend.api:app --reload\n```\n\n#### Start the frontend development server\n\n```bash\ncd ui\nnpm install\nnpm run dev\n```\n\nOnce both servers are running, you can access the Workflow GUI at http://localhost:5173 in your browser. The UI allows you to:\n\n- Visualize workflows as interactive graphs\n- Execute workflows with custom input parameters\n- Monitor workflow execution logs in real-time\n- Edit workflow metadata and details\n\n# Demos\n\n## Workflow Use filling out form instantly\n\nhttps://github.com/user-attachments/assets/cf284e08-8c8c-484a-820a-02c507de11d4\n\n## Gregor's explanation\n\nhttps://github.com/user-attachments/assets/379e57c7-f03e-4eb9-8184-521377d5c0f9\n\n# Features\n\n- 🔁 **Record Once, Reuse Forever**: Record browser interactions once and replay them indefinitely.\n- ⏳ **Show, don't prompt**: No need to spend hours prompting Browser Use to do the same thing over and over again.\n- ⚙️ **Structured \u0026 Executable Workflows**: Converts recordings into deterministic, fast, and reliable workflows which automatically extract variables from forms.\n- 🪄 **Human-like Interaction Understanding**: Intelligently filters noise from recordings to create meaningful workflows.\n- 🔒 **Enterprise-Ready Foundation**: Built for future scalability with features like self-healing and workflow diffs.\n\n# Vision and roadmap\n\nShow computer what it needs to do once, and it will do it over and over again without any human intervention.\n\n## Workflows\n\n- [ ] Nice way to use the `.json` files inside python code\n- [ ] Improve LLM fallback when step fails (currently really bad)\n- [ ] Self healing, if it fails automatically agent kicks in and updates the workflow file\n- [ ] Better support for LLM steps\n- [ ] Take output from previous steps and use it as input for next steps\n- [ ] Expose workflows as MCP tools\n- [ ] Use Browser Use to automatically create workflows from websites\n\n## Developer experience\n\n- [ ] Improve CLI\n- [ ] Improve extension\n- [ ] Step editor\n\n## Agent\n\n- [ ] Allow Browser Use to use the workflows as MCP tools\n- [ ] Use workflows as website caching layer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowser-use%2Fworkflow-use","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowser-use%2Fworkflow-use","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowser-use%2Fworkflow-use/lists"}