How kumarshivesh465-hue/sentinel-amex-codestreet works
Sentinel is a browser-based cardmember servicing platform backed by a dependency-free Python HTTP server. A cardmember submits a request through the web app; the server coordinates intent and risk assessment, policy-compliant resolution, decision explanation, and persistence. Low-confidence cases can be escalated to a human. Supervisors use the same application for session monitoring, audit review, and timeline replay. The source excerpts show the server’s orchestration role and key agent calls; several dashboard and API relationships are documented in the README rather than shown in the sampled implementation.
Main entry points: server.py HTTP Server · index.html Web App · agents.py Agent Layer · intent.py Intent Refinement
Components 15
Customer Experience
- Web App
frontend/index.html
Servicing Workflow
- HTTP Server
backend/server.py - Request Handling
backend/server.py
Decision Intelligence
- Agent Layer
backend/agents.py - Intent Refinement
backend/intent.py - Money Helpers
backend/money.py
Identity and Trust
- Authentication
backend/auth.py - Security Controls
backend/security.py - Configuration
backend/config.py - Structured Logging
backend/logging_setup.py
Servicing Data
- Servicing Store
backend/db.py
Other components
- Cardmember
- Supervisor
- Human Agent
- Gemini API
Connections 15
- Cardmember → Web App: submits request
README.md - Supervisor → Web App: monitors cases
README.md - Web App → HTTP Server: uses APIs
README.md - HTTP Server → Request Handling: routes requests
backend/server.py - HTTP Server → Agent Layer: coordinates agents
README.md - HTTP Server → Intent Refinement: requests refinement
backend/server.py - Intent Refinement → Gemini API: classifies optionally
backend/intent.py - HTTP Server → Authentication: handles auth
backend/server.py - HTTP Server → Security Controls: applies controls
backend/server.py - HTTP Server → Configuration: reads settings
backend/server.py - HTTP Server → Structured Logging: records events
backend/server.py - HTTP Server → Servicing Store: persists cases
backend/server.py - Agent Layer → Money Helpers: converts amounts
backend/agents.py - HTTP Server → Human Agent: escalates cases
README.md - Web App → HTTP Server: requests timeline
README.md