NepalConnect — ISP Support & Automation Platform

Support and automation platform for an internet provider — AI agent, network control and payments

The challenge

A broadband provider needed automated customer support, instant plan changes, data-throttle enforcement, remote router checks, and exactly-once payment reconciliation across multiple gateways.

Approach

LangGraph AI agent with 24 tools connected to FreeRADIUS and GenieACS for customer provisioning and plan changes. LiteLLM switches between OpenAI-compatible, Groq, and Gemini providers on failure. Presidio strips PII before model calls. Hybrid vector + keyword search for answers. Payments via eSewa, Khalti, FonePay, ConnectIPS — exactly once, reconciled every 5 minutes. Built with Python, FastAPI, PostgreSQL, Redis, Upstash QStash, Docker.

Results

  • Database connections released before slow AI calls — hold time dropped from 3.55s to 0.05s at ~290 req/s.
  • 24 AI tools for customer support, network control, and provisioning.
  • Multi-provider LLM routing with automatic failover.
  • Exactly-once payment processing reconciled every 5 minutes.

Metrics

Agent tools

24 Tools

Hold time reduction

3.55s → 0.05s

Throughput

~290 req/s

AI providers

OpenAI-compatible, Groq, Gemini

Payment gateways

eSewa, Khalti, FonePay, ConnectIPS

Technologies

  • Python
  • FastAPI
  • LangGraph
  • LiteLLM
  • PostgreSQL
  • Upstash
  • Redis
  • FreeRADIUS
  • GenieACS
  • Docker
  • CI/CD

Want similar work? Get in touch.