How singhsidhukuldeep/axiomcart-ai-assistant works
AxiomCart is a voice-optional shopping and customer-support assistant. A user submits text or speech through the CLI; the assistant invokes a checkpointed LangGraph workflow that classifies the request, dispatches product and/or support agents, and returns a synthesized answer. Product discovery uses catalog-backed semantic search; support can look up orders, request missing details through HITL, or escalate. The README documents parallel dispatch, memory, and optional email; email delivery is shown as optional but not active in the sampled tool excerpt.
Main entry points: graph.py Workflow Graph · tools.py Human Escalation · main.py Assistant Interface · nodes.py Support Agent
Components 23
User Interaction
- Assistant Interface
src/main.py - Voice I/O
src/voice.py
Agent Workflow
- Workflow Graph
src/graph.py - Conversation State
src/state.py - Request Orchestrator
src/nodes.py - Product Agent
src/nodes.py - Product Model Loop
src/nodes.py - Support Agent
src/nodes.py - Support Model Loop
src/nodes.py - Response Synthesizer
src/nodes.py
Commerce Services
- Catalog Search Tool
src/tools.py - Product Vector Store
src/rag.py - Product Catalog
src/data.py - Order Lookup
src/tools.py - Order Records
src/data.py - Human Escalation
src/tools.py - Escalation Queue
src/data.py - Support Policies
src/data.py
AI and State
- OpenAI Services
- Memory Checkpointer
src/graph.py
Other components
- Customer
- Human Support
- Resend Email
Connections 33
- Customer → Assistant Interface: submits query
README.md - Assistant Interface → Voice I/O: records or speaks
src/main.py - Voice I/O → OpenAI Services: transcribes and synthesizes
src/voice.py - Assistant Interface → Workflow Graph: invokes and resumes
src/main.py - Workflow Graph → Request Orchestrator: registers node
src/graph.py - Workflow Graph → Product Agent: registers node
src/graph.py - Workflow Graph → Support Agent: registers node
src/graph.py - Workflow Graph → Response Synthesizer: registers node
src/graph.py - Workflow Graph → Conversation State: uses state schema
src/graph.py - Workflow Graph → Memory Checkpointer: checkpoints state
src/graph.py - Request Orchestrator → OpenAI Services: classifies query
src/nodes.py - Request Orchestrator → Product Agent: dispatches tasks
src/nodes.py - Request Orchestrator → Support Agent: dispatches tasks
src/nodes.py - Product Agent → Product Model Loop: invokes subgraph
src/nodes.py - Support Agent → Support Model Loop: invokes subgraph
src/nodes.py - Product Model Loop → OpenAI Services: calls model
src/nodes.py - Support Model Loop → OpenAI Services: calls model
src/nodes.py - Product Model Loop → Catalog Search Tool: executes tool calls
src/nodes.py - Support Model Loop → Order Lookup: executes tool calls
src/nodes.py - Support Model Loop → Human Escalation: executes tool calls
src/nodes.py - Product Agent → Response Synthesizer: sends result
src/nodes.py - Support Agent → Response Synthesizer: sends result
src/nodes.py - Response Synthesizer → OpenAI Services: merges answers
src/nodes.py - Response Synthesizer → Assistant Interface: returns final answer
README.md - Catalog Search Tool → Product Vector Store: similarity searches
src/tools.py - Product Vector Store → Product Catalog: indexes catalog
src/rag.py - Order Lookup → Order Records: reads order records
src/tools.py - Human Escalation → Order Records: reads customer details
src/tools.py - Human Escalation → Escalation Queue: appends ticket
src/tools.py - Support Agent → Support Policies: uses policy prompt
src/nodes.py - Assistant Interface → Customer: asks and receives HITL
src/main.py - Human Escalation → Human Support: creates follow-up
README.md - Human Escalation → Resend Email: may notify
README.md