Skip to content

bhavyamittal06/ows-payagent

Repository files navigation

⚡ OWS PayAgent

An autonomous AI payment agent built on the Open Wallet Standard that pays for cloud services across blockchain networks — without ever exposing a private key.

🎯 What it does

  • AI agent autonomously pays for services (APIs, compute, storage)
  • Policy engine blocks payments that exceed limits or use wrong chains
  • Every transaction is signed via OWS — private key is never exposed
  • Live dashboard shows real-time transaction log and policy status
  • Incline in candle charts with trigger payments.

🔒 How OWS makes it secure

Agent requests payment ↓ Policy engine checks rules (amount, chain, expiry) ↓ OWS decrypts key in RAM → signs → wipes key instantly ↓ Only signature returned — key never exposed to agent

🚀 Quick Start

# Clone the repo
git clone https://github.com/bhavyamittal06/ows-payagent
cd ows-payagent

# Setup
python3 -m venv venv
source venv/bin/activate
pip install open-wallet-standard flask

# Create wallet
python3 wallet_setup.py

# Run dashboard
python3 dashboard.py

Open http://127.0.0.1:5000

🛠 Tech StackImage 04-04-26 at 2 08 PM

  • Python — agent logic and policy engine
  • Flask — live dashboard
  • EVM — target blockchain network

📋 Policy Engine

Rule Value
Max per transaction $10
Allowed chains EVM
Key exposure Never
Expires 2026-12-31

🏗 Project Structure

ws-payagent/ ├── wallet_setup.py # OWS wallet creation ├── agent.py # Payment agent + policy engine ├── dashboard.py # Flask live dashboard └── README.md

About

Autonomous AI payment agent built for cloud and api pipelines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors