How dheeraj932/webflow-agent works
Agent B turns a natural-language request into a browser workflow, executes it against a live application, and captures UI states. The sampled code shows the CLI invoking AgentB, AgentB coordinating Navigator and ScreenshotCapture, and Navigator controlling a persistent Playwright browser. README documentation describes AI planning, error recovery, semantic element matching, login handling, and task-organized datasets; some of those internals are not visible in the excerpts, so their connections are documented rather than inferred from module names.
Main entry points: agent.py Agent B coordinator · navigator.py Browser session · main.py CLI entry · screenshot.py Screenshot capture
Components 13
Task workflow
- CLI entry
main.py - Agent B coordinator
src/agent.py - AI task planner
src/agent.py - Plan execution and recovery
src/agent.py
Browser interaction
- Browser session
src/navigator.py - Element discovery
src/navigator.py - UI interaction
src/navigator.py
State capture
- Screenshot capture
src/screenshot.py - Task-organized states
src/agent.py
External services
- Groq LLM
- Live web application
- Playwright browser
Other components
- Task requester
Connections 12
- Task requester → CLI entry: submits task
README.md - CLI entry → Agent B coordinator: invokes
main.py - Agent B coordinator → AI task planner: understands task
README.md - AI task planner → Groq LLM: requests plan
README.md - Agent B coordinator → Plan execution and recovery: executes plan
src/agent.py - Plan execution and recovery → Browser session: drives workflow
src/agent.py - Browser session → Playwright browser: controls browser
src/navigator.py - Playwright browser → Live web application: interacts with
README.md - Browser session → Element discovery: discovers elements
src/navigator.py - Browser session → UI interaction: performs actions
src/navigator.py - Agent B coordinator → Screenshot capture: captures UI states
src/agent.py - Screenshot capture → Task-organized states: organizes by task
README.md