How aggarwalakshay2509/teleassist works
TeleAssist is a telecom-support API whose main workflow accepts a customer chat message, routes it to one or more billing, network, or plans specialists, and returns a merged response. The API and manager lead into LangGraph orchestration; specialist agents use domain tools and services backed by repositories and SQLite. The graph also shows shared LLM integration and conversation state. The README documents the broad workflow and capabilities; source excerpts and the index support selected implementation links, while some internal dispatch details are not shown.
Main entry points: graph.py LangGraph workflow · manager.py Graph manager · routes.py Chat API · database.py SQLite database
Components 21
API and orchestration
- Chat API
src/api/routes.py - Graph manager
src/orchestrator/manager.py - LangGraph workflow
src/orchestrator/graph.py - Request router
src/orchestrator/router.py - Response merge
src/orchestrator/merge.py - Conversation state
src/orchestrator/state.py
Support specialists
- Billing agent
src/modules/billing/agent.py - Billing tools
src/modules/billing/tools.py - Billing service
src/modules/billing/service.py - Network agent
src/modules/network/agent.py - Network tools
src/modules/network/tools.py - Network service
src/modules/network/service.py - Plans agent
src/modules/plans/agent.py - Plans tools
src/modules/plans/tools.py - Plans service
src/modules/plans/service.py
Data access
- Billing repository
src/database/repositories/billing_repository.py - Network repository
src/database/repositories/network_repository.py - Plans repository
src/database/repositories/plans_repository.py - SQLite database
src/database/database.py
Shared integrations
- Azure OpenAI
src/integrations/llm.py
Other components
- Customer
Connections 26
- Customer → Chat API: sends chat
- Chat API → Graph manager: invokes
src/api/routes.py - Graph manager → LangGraph workflow: invokes
src/orchestrator/manager.py - LangGraph workflow → Request router: routes through
src/orchestrator/graph.py - LangGraph workflow → Billing agent: dispatches
- LangGraph workflow → Network agent: dispatches
- LangGraph workflow → Plans agent: dispatches
- Request router → Azure OpenAI: classifies with
src/orchestrator/router.py - Billing agent → Billing tools: uses
src/modules/billing/agent.py - Billing tools → Billing service: calls
src/modules/billing/tools.py - Billing service → Billing repository: queries
src/modules/billing/service.py - Billing repository → SQLite database: accesses
- Network agent → Network tools: uses
src/modules/network/agent.py - Network tools → Network service: calls
src/modules/network/tools.py - Network service → Network repository: queries
src/modules/network/service.py - Network repository → SQLite database: accesses
- Plans agent → Plans tools: uses
src/modules/plans/agent.py - Plans tools → Plans service: calls
src/modules/plans/tools.py - Plans service → Plans repository: queries
src/modules/plans/service.py - Plans repository → SQLite database: accesses
- LangGraph workflow → Response merge: merges outputs
src/orchestrator/graph.py - Response merge → Azure OpenAI: summarizes with
src/orchestrator/merge.py - LangGraph workflow → Conversation state: maintains
src/orchestrator/graph.py - Graph manager → Conversation state: initializes
src/orchestrator/manager.py - Graph manager → Chat API: returns response
src/api/routes.py - Chat API → Customer: returns response