An enterprise-style AI Browser Agent that automates retrieving an account balance from a web application using browser automation.
The agent launches a browser, securely logs into the application, navigates to the account page, retrieves the account balance, captures a screenshot, and returns the result automatically.
- 🤖 AI-driven browser automation
- 🔐 Automated login workflow
- 🌐 Intelligent page navigation
- 💰 Account balance retrieval
- 📸 Automatic screenshot capture
- ⚡ Playwright-powered browser automation
- 🐍 Python implementation
- 🧩 Modular project architecture
- 📝 Easy to extend for enterprise applications
User Query
│
▼
Account Balance Agent
│
▼
Playwright Browser
│
┌────────────────┴───────────────┐
│ │
▼ ▼
Login to Application Navigate to Account Page
│
▼
Retrieve Account Balance
│
▼
Capture Screenshot
│
▼
Return Final Response
| Technology | Usage |
|---|---|
| Python | Backend |
| Playwright | Browser Automation |
| HTML | Demo Banking Portal |
| CSS | UI |
| JavaScript | Client-side interactions |
| VS Code | Development |
| Git | Version Control |
| GitHub | Source Code Management |
account-balance-browser-agent/
│
├── app/
│ ├── static/
│ ├── templates/
│ ├── routes/
│ └── utils/
│
├── screenshots/
│
├── test_playwright.py
├── requirements.txt
├── README.md
├── .gitignore
└── .env.example
- User asks for an account balance.
- Agent launches the browser.
- Agent logs into the banking portal.
- Agent navigates to the Account Summary page.
- Agent retrieves the account balance.
- Agent captures a screenshot.
- Agent returns the balance and screenshot.
Account Number:
10001
Account Balance:
$24,850.73
Status:
Success
Screenshot:
screenshots/account_balance.png
Clone the repository
git clone https://github.com/gireeshvuyyuru501-design/account-balance-browser-agent.gitGo to the project
cd account-balance-browser-agentCreate a virtual environment
python -m venv .venvActivate
Windows
.venv\Scripts\activateInstall dependencies
pip install -r requirements.txtInstall Playwright
playwright installRun
python test_playwright.py- ✅ Natural Language interface
- ✅ LangChain integration
- ✅ LangGraph workflow orchestration
- ✅ Model Context Protocol (MCP)
- ✅ Multi-Agent architecture
- ✅ FastAPI REST APIs
- ✅ Docker deployment
- ✅ Kubernetes deployment
- ✅ Authentication token management
- ✅ AI decision making
- ✅ Enterprise workflow automation
- Banking
- Insurance
- Healthcare
- Finance
- Customer Support
- Enterprise Operations
- Internal Business Automation
- Browser Automation
- Agentic AI Concepts
- Python Development
- Playwright
- Workflow Automation
- Enterprise Software Development
- API Integration
- Software Architecture
- Version Control
- Problem Solving
Girish V
AI/ML Engineer | Generative AI Engineer | Agentic AI | LangChain | LangGraph | MCP | FastAPI | Python
GitHub: https://github.com/gireeshvuyyuru501-design
LinkedIn: https://www.linkedin.com/in/girish-genai-engineer
This project is intended for educational and portfolio purposes.