Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏦 Account Balance Browser Agent

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.


🚀 Features

  • 🤖 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

Architecture

                 User Query
                       │
                       ▼
         Account Balance Agent
                       │
                       ▼
          Playwright Browser
                       │
      ┌────────────────┴───────────────┐
      │                                │
      ▼                                ▼
 Login to Application         Navigate to Account Page
                                       │
                                       ▼
                          Retrieve Account Balance
                                       │
                                       ▼
                           Capture Screenshot
                                       │
                                       ▼
                           Return Final Response

Tech Stack

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

Project Structure

account-balance-browser-agent/
│
├── app/
│   ├── static/
│   ├── templates/
│   ├── routes/
│   └── utils/
│
├── screenshots/
│
├── test_playwright.py
├── requirements.txt
├── README.md
├── .gitignore
└── .env.example

Workflow

  1. User asks for an account balance.
  2. Agent launches the browser.
  3. Agent logs into the banking portal.
  4. Agent navigates to the Account Summary page.
  5. Agent retrieves the account balance.
  6. Agent captures a screenshot.
  7. Agent returns the balance and screenshot.

Sample Output

Account Number:
10001

Account Balance:
$24,850.73

Status:
Success

Screenshot:
screenshots/account_balance.png

Installation

Clone the repository

git clone https://github.com/gireeshvuyyuru501-design/account-balance-browser-agent.git

Go to the project

cd account-balance-browser-agent

Create a virtual environment

python -m venv .venv

Activate

Windows

.venv\Scripts\activate

Install dependencies

pip install -r requirements.txt

Install Playwright

playwright install

Run

python test_playwright.py

Future Enhancements

  • ✅ 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

Enterprise Use Cases

  • Banking
  • Insurance
  • Healthcare
  • Finance
  • Customer Support
  • Enterprise Operations
  • Internal Business Automation

Skills Demonstrated

  • Browser Automation
  • Agentic AI Concepts
  • Python Development
  • Playwright
  • Workflow Automation
  • Enterprise Software Development
  • API Integration
  • Software Architecture
  • Version Control
  • Problem Solving

Author

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


License

This project is intended for educational and portfolio purposes.

About

Enterprise AI Browser Agent using Python and Playwright to automate login, retrieve account balances, capture screenshots, and simulate enterprise workflow automation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages