How mani-aitrainer/agentic_ai_training works
This repository is a collection of independent AI workflow examples, not one application. Its major products cover dispute resolution, support chat, PDF-based graph RAG, and collaborative research reports, alongside a loan-approval demo. The graphs below emphasize each example’s user-to-result path and documented internal stages. Several connections rely on the SOURCE INDEX rather than full excerpts; unsampled implementations and wiring are not inferred where evidence is insufficient.
Main entry points: team.py Collaborative Team · state.py Shared Case State · fraud_investigator.py Fraud Investigator · graph.py Conversation Graph
Components 31
Dispute Resolution
- Dispute CLI
dispute_resolution/src/dispute_agent/cli.py - Workflow Graph
dispute_resolution/src/dispute_agent/graph.py - Workflow Nodes
dispute_resolution/src/dispute_agent/nodes.py - Branch Routers
dispute_resolution/src/dispute_agent/routers.py - Specialist Agents
dispute_resolution/src/dispute_agent/agents/specialists.py - Fraud Investigator
dispute_resolution/src/dispute_agent/agents/fraud_investigator.py - Shared Case State
dispute_resolution/src/dispute_agent/state.py - Policy Settings
dispute_resolution/src/dispute_agent/config.py - Agent Prompts
dispute_resolution/src/dispute_agent/prompts.py - Agent Scratchpad
dispute_resolution/src/dispute_agent/scratchpad.py
Support Agent
- Support API
docker/app/src/support_agent/api.py - Conversation Graph
docker/app/src/support_agent/graph.py - LLM Factory
docker/app/src/support_agent/llm.py - Support Tools
docker/app/src/support_agent/tools.py - Conversation Store
docker/app/src/support_agent/state_store.py
Graph RAG
- PDF Extraction Pipeline
graph_rag/pipeline.py - Organization Graph
graph_rag/graph_rag.py - Graph Retrieval & Answering
graph_rag/graph_rag.py
Research Teams
- Research CLI
research_system/research_report_team/cli.py - Report Runner
research_system/research_report_team/src/research_team/runner.py - Collaborative Team
research_system/research_report_team/src/research_team/team.py - Researcher Writer Critic
research_system/research_report_team/src/research_team/agents.py - Search Tools
research_system/research_report_team/src/research_team/tools.py - Model Clients
research_system/research_report_team/src/research_team/model_client.py
Loan Approval
- Loan Approval Demo
Section2/HandsOn/loan_approval.py
Other components
- Dispute User
- Support User
- PDF Input
- Questioner
- Report Requester
- Loan Applicant
Connections 26
- Dispute User → Dispute CLI: submits case
- Dispute CLI → Workflow Graph: starts workflow
- Workflow Nodes → Shared Case State: reads and writes
dispute_resolution/src/dispute_agent/state.py - Branch Routers → Shared Case State: routes from state
dispute_resolution/src/dispute_agent/routers.py - Specialist Agents → Shared Case State: coordinates through
dispute_resolution/src/dispute_agent/state.py - Fraud Investigator → Shared Case State: updates case state
dispute_resolution/src/dispute_agent/state.py - Workflow Nodes → Policy Settings: uses settings
dispute_resolution/src/dispute_agent/nodes.py - Fraud Investigator → Agent Prompts: uses prompts
dispute_resolution/src/dispute_agent/agents/fraud_investigator.py - Fraud Investigator → Agent Scratchpad: uses scratchpad
dispute_resolution/src/dispute_agent/agents/fraud_investigator.py - Support User → Support API: sends request
- Support API → Conversation Graph: dispatches chat
- Conversation Graph → LLM Factory: uses model factory
docker/app/src/support_agent/graph.py - Conversation Graph → Support Tools: uses tools
docker/app/src/support_agent/graph.py - LLM Factory → Support Tools: binds tools
docker/app/src/support_agent/llm.py - PDF Input → PDF Extraction Pipeline: provides document
graph_rag/pipeline.py - PDF Extraction Pipeline → Organization Graph: builds graph
graph_rag/pipeline.py - PDF Extraction Pipeline → Graph Retrieval & Answering: supplies extraction stages
graph_rag/graph_rag.py - Organization Graph → Graph Retrieval & Answering: retrieves graph facts
graph_rag/graph_rag.py - Questioner → Graph Retrieval & Answering: asks question
- Report Requester → Research CLI: requests report
- Research CLI → Report Runner: invokes runner
research_system/research_report_team/cli.py - Report Runner → Collaborative Team: runs team
research_system/research_report_team/src/research_team/runner.py - Collaborative Team → Researcher Writer Critic: assembles agents
research_system/research_report_team/src/research_team/team.py - Collaborative Team → Search Tools: selects search tool
research_system/research_report_team/src/research_team/team.py - Collaborative Team → Model Clients: builds model clients
research_system/research_report_team/src/research_team/team.py - Loan Applicant → Loan Approval Demo: provides application