12 | ├── .gitignore ├── artifacts ├── architecture │ ├── architecture-README.md │ ├── LoanRisk-Single-AI-Agent-Conceptual.png │ └── LoanRisk-Single-AI-Agent-Deployment.png ├── usage-examples │ ├── UsageExample1.png │ ├── UsageExample2.png │ ├── UsageExample3.png │ ├── UsageExample4.png │ └── usage-examples-README.md ├── data │ ├── Bank Loan Overall Risk Policy.pdf │ └── Bank Loan Interest Rate Policy.pdf ├── wxAssistantOrchestrate │ ├── wx-asst-agentic-ai-app.zip │ └── agentic-ai-app-custom-ext-openapi.json ├── deployment │ ├── Deploying-Loan-Risk-AI-Agent-on-Code-Engine.pdf │ ├── Deploying-Loan-Risk-AI-Agent-on-Code-Engine.docx │ └── deployment-README.md └── python-notebook │ └── NB-ai-agent-loan-risk-demo-v1.ipynb ├── public ├── images │ ├── input_sources.png │ ├── wxasst-header.png │ ├── wxasst-background.png │ ├── input_sources_blue.png │ ├── input_sources_pink.png │ └── LoanRisk-Single-AI-Agent-Conceptual.png ├── Bank Loan Overall Risk Policy.pdf ├── Bank Loan Interest Rate Policy.pdf ├── wx-template.html ├── wx-template2.html ├── usage-single-agent.html ├── stylesheets │ └── general.css └── index-single-agent.html ├── Dockerfile ├── tsconfig.json ├── DockerfileRH ├── package.json ├── README.md ├── LICENSE └── main.ts /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /artifacts/architecture/architecture-README.md: -------------------------------------------------------------------------------- 1 | tbd 2 | -------------------------------------------------------------------------------- /public/images/input_sources.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/images/input_sources.png -------------------------------------------------------------------------------- /public/images/wxasst-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/images/wxasst-header.png -------------------------------------------------------------------------------- /public/images/wxasst-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/images/wxasst-background.png -------------------------------------------------------------------------------- /public/images/input_sources_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/images/input_sources_blue.png -------------------------------------------------------------------------------- /public/images/input_sources_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/images/input_sources_pink.png -------------------------------------------------------------------------------- /public/Bank Loan Overall Risk Policy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/Bank Loan Overall Risk Policy.pdf -------------------------------------------------------------------------------- /artifacts/usage-examples/UsageExample1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/usage-examples/UsageExample1.png -------------------------------------------------------------------------------- /artifacts/usage-examples/UsageExample2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/usage-examples/UsageExample2.png -------------------------------------------------------------------------------- /artifacts/usage-examples/UsageExample3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/usage-examples/UsageExample3.png -------------------------------------------------------------------------------- /artifacts/usage-examples/UsageExample4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/usage-examples/UsageExample4.png -------------------------------------------------------------------------------- /public/Bank Loan Interest Rate Policy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/Bank Loan Interest Rate Policy.pdf -------------------------------------------------------------------------------- /artifacts/data/Bank Loan Overall Risk Policy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/data/Bank Loan Overall Risk Policy.pdf -------------------------------------------------------------------------------- /artifacts/data/Bank Loan Interest Rate Policy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/data/Bank Loan Interest Rate Policy.pdf -------------------------------------------------------------------------------- /public/images/LoanRisk-Single-AI-Agent-Conceptual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/public/images/LoanRisk-Single-AI-Agent-Conceptual.png -------------------------------------------------------------------------------- /artifacts/wxAssistantOrchestrate/wx-asst-agentic-ai-app.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/wxAssistantOrchestrate/wx-asst-agentic-ai-app.zip -------------------------------------------------------------------------------- /artifacts/architecture/LoanRisk-Single-AI-Agent-Conceptual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/architecture/LoanRisk-Single-AI-Agent-Conceptual.png -------------------------------------------------------------------------------- /artifacts/architecture/LoanRisk-Single-AI-Agent-Deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/architecture/LoanRisk-Single-AI-Agent-Deployment.png -------------------------------------------------------------------------------- /artifacts/deployment/Deploying-Loan-Risk-AI-Agent-on-Code-Engine.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/deployment/Deploying-Loan-Risk-AI-Agent-on-Code-Engine.pdf -------------------------------------------------------------------------------- /artifacts/deployment/Deploying-Loan-Risk-AI-Agent-on-Code-Engine.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ai-agent-for-loan-risk/main/artifacts/deployment/Deploying-Loan-Risk-AI-Agent-on-Code-Engine.docx -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:18-alpine 2 | 3 | ENV APPLICATION_HOME_DOCKER=/usr/src/app 4 | ENV APPLICATION_PORT=8080 5 | 6 | WORKDIR $APPLICATION_HOME_DOCKER 7 | 8 | COPY . . 9 | RUN npm install 10 | RUN npm run build 11 | 12 | EXPOSE $APPLICATION_PORT 13 | CMD ["npm","run", "start"] 14 | 15 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "nodenext", 4 | "esModuleInterop": true, 5 | "target": "esnext", 6 | "moduleResolution": "nodenext", 7 | "sourceMap": true, 8 | "outDir": "build", 9 | "strict": false, 10 | "noImplicitAny": false, 11 | "strictNullChecks": false, 12 | "strictFunctionTypes": false, 13 | "strictBindCallApply": false, 14 | "strictPropertyInitialization": false, 15 | "noImplicitThis": false, 16 | "alwaysStrict": false 17 | }, 18 | "lib": ["esnext"] 19 | } 20 | 21 | -------------------------------------------------------------------------------- /DockerfileRH: -------------------------------------------------------------------------------- 1 | FROM registry.redhat.io/rhel9/s2i-core:9.5@sha256:9bf05bcc1acc961f8dfe64752ab36be188a6fe3d219b0d3343d28ef7e00ffb62 2 | 3 | USER root 4 | RUN yum update -y && yum upgrade -y 5 | RUN npm -v 6 | 7 | ENV APPLICATION_HOME_DOCKER=/usr/src/app 8 | ENV APPLICATION_PORT=8080 9 | 10 | WORKDIR $APPLICATION_HOME_DOCKER 11 | 12 | COPY . . 13 | RUN npm install 14 | RUN npm run build 15 | 16 | RUN chown -R 1001:0 ${APPLICATION_HOME_DOCKER} && chmod -R u+rwx ${APPLICATION_HOME_DOCKER} && \ 17 | chmod -R g=u ${APPLICATION_HOME_DOCKER} 18 | 19 | USER 1001 20 | 21 | EXPOSE $APPLICATION_PORT 22 | CMD ["npm","run", "start"] 23 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bank-loan-risk-ai-agent", 3 | "version": "0.0.1", 4 | "main": "main.ts", 5 | "scripts": { 6 | "dev": "nodemon", 7 | "start": "node build/main.js", 8 | "build": "tsc --project ./" 9 | }, 10 | "keywords": [], 11 | "type": "module", 12 | "author": "Anuj Jain jainanuj@us.ibm.com", 13 | "license": "ISC", 14 | "dependencies": { 15 | "@ibm-cloud/watsonx-ai": "^1.4.0", 16 | "@langchain/anthropic": "^0.3.11", 17 | "@langchain/community": "^0.3.22", 18 | "@langchain/core": "^0.3.27", 19 | "@langchain/langgraph": "^0.2.39", 20 | "express": "^4.21.2", 21 | "json-server": "^0.16.3" 22 | }, 23 | "devDependencies": { 24 | "@types/express": "^5.0.0", 25 | "nodemon": "^3.1.9", 26 | "ts-node": "^10.9.2", 27 | "tsx": "^4.19.2", 28 | "typescript": "^5.7.3" 29 | }, 30 | "description": "" 31 | } 32 | -------------------------------------------------------------------------------- /public/wx-template.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
12 |
12 |
13 | This demo showcases agentic AI, an autonomous, adaptable system that can perform tasks independently and purposefully.
14 |
15 |
46 | Bank Loan Overall Risk Policy PDF.
49 |Bank Loan Interest Rate Policy PDF.
50 |
26 |