← dropsdrops / 003-langgraph-multi-agent-bank
Multi-Agent Bank Support (Python + LangGraph)
A supervisor agent that routes each question to specialist agents, with a real tool call to check account balances.
pythonlanggraphgemini⧉ 19 uses
// bank-support-agents.zip · 3 files
bank-support-agents/
.env.example35 B
main.py6 KB
requirements.txt62 B
Run it
01Download and unzip. You get main.py, requirements.txt and a .env example.
02Add your key. Rename .env.example to .env and add a free Gemini API key from aistudio.google.com.
03Run it. Install and start it with the command below, then ask "What's the balance of account 123456789?"
main.py
1import os
2import warnings
3
4# 1. SUPPRESS WARNINGS (Must be done before other imports)
5warnings.filterwarnings("ignore")
6os.environ["PYTHONWARNINGS"] = "ignore"
7os.environ["GRPC_VERBOSITY"] = "NONE"
8
9from typing import TypedDict
10from dotenv import load_dotenv
11from langchain_google_genai import ChatGoogleGenerativeAI
12from langchain_core.prompts import ChatPromptTemplate
13from langchain_core.tools import tool
14from langgraph.graph import StateGraph, END
15from langgraph.prebuilt import create_react_agent
16
17# 2. LOAD ENVIRONMENT VARIABLES
18load_dotenv()
19api_key = os.getenv("GOOGLE_API_KEY")
20
21if not api_key:
22 print("ERROR: GOOGLE_API_KEY not found in .env file.")
23 exit()
24
Related drops
9:19template· #007
Self-Hosted WhatsApp AI Agent Stack
One docker-compose file that runs n8n, Evolution API, Postgres and Redis locally. No Ngrok, no paid tunnels.
n8n · evolution api · docker⧉ 21
most copied7:28prompt· #006
ATS Resume Enhancer Prompt
Paste your messy resume into Claude and get back a clean, ATS-safe Word document with impact-driven bullet points.
claude · chatgpt⧉ 40
3:11prompt· #005
AI Cold Email Optimizer (Claude Artifact)
One prompt that builds a working micro-app inside Claude, with a UI that rewrites bad sales emails using the Claude API.
claude