How kulkarniparth30/toolbot works
Toolbot is a set of Streamlit chat applications backed by LangGraph assistants. The main application supports per-conversation PDF indexing and retrieval, streamed answers, web/stock/MCP tools, and persisted conversation state; the process subdirectory contains simpler chat and tool-enabled variants. The excerpts show frontend-to-backend calls and several backend implementations, but the README is empty and the main backend excerpt omits parts of graph construction, so some internal links are omitted rather than inferred.
Main entry points: Main_Backend.py Tool-enabled agent · chatbot_backend.py Basic assistant · Main_Frontend.py Main chat UI · langgraph_mcp_backend.py MCP assistant
Components 19
PDF assistant
- Main chat UI
Toolbot/Main_Frontend.py - Main assistant
Toolbot/Main_Backend.py - PDF ingestion
Toolbot/Main_Backend.py - PDF retrieval
Toolbot/Main_Backend.py
Chat variants
- Basic chat UI
Toolbot process/chatbot_frontend.py - Basic assistant
Toolbot process/chatbot_backend.py - Tool chat UI
Toolbot process/langgraph_database_frontend.py - Search assistant
Toolbot process/langgraph_database_backend.py - MCP chat UI
Toolbot process/langgraph_mcp_frontend.py - MCP assistant
Toolbot process/langgraph_mcp_backend.py - Threaded chat UI
Toolbot process/streaming_frontend_threading.py
Assistant runtime
- Tool-enabled agent
Toolbot/Main_Backend.py
State and integrations
- Conversation checkpoints
Toolbot/Main_Backend.py - Thread PDF index
Toolbot/Main_Backend.py - MCP tool servers
- Search and stock APIs
- Tool chat checkpoints
Toolbot process/langgraph_database_backend.py - MCP chat checkpoints
Toolbot process/langgraph_mcp_backend.py
Other components
- Chat user
Connections 22
- Chat user → Main chat UI: sends prompts
Toolbot/Main_Frontend.py - Main chat UI → Main assistant: streams turns
Toolbot/Main_Frontend.py - Main chat UI → PDF ingestion: uploads PDFs
Toolbot/Main_Frontend.py - Main assistant → Tool-enabled agent: runs assistant
Toolbot/Main_Backend.py - Main assistant → Conversation checkpoints: checkpoints state
Toolbot/Main_Backend.py - PDF ingestion → Thread PDF index: builds index
Toolbot/Main_Backend.py - PDF retrieval → Thread PDF index: searches index
Toolbot/Main_Backend.py - Tool-enabled agent → PDF retrieval: invokes retrieval
Toolbot/Main_Backend.py - Tool-enabled agent → MCP tool servers: loads tools
Toolbot/Main_Backend.py - Tool-enabled agent → Search and stock APIs: binds tools
Toolbot/Main_Backend.py - Chat user → Basic chat UI: sends prompts
Toolbot process/chatbot_frontend.py - Basic chat UI → Basic assistant: invokes turns
Toolbot process/chatbot_frontend.py - Basic assistant → Basic assistant: stores in memory
Toolbot process/chatbot_backend.py - Chat user → Tool chat UI: sends prompts
Toolbot process/langgraph_database_frontend.py - Tool chat UI → Search assistant: streams turns
Toolbot process/langgraph_database_frontend.py - Search assistant → Tool chat checkpoints: checkpoints state
Toolbot process/langgraph_database_backend.py - Chat user → MCP chat UI: sends prompts
Toolbot process/langgraph_mcp_frontend.py - MCP chat UI → MCP assistant: streams turns
Toolbot process/langgraph_mcp_frontend.py - MCP assistant → MCP chat checkpoints: checkpoints state
Toolbot process/langgraph_mcp_backend.py - MCP assistant → MCP tool servers: loads tools
Toolbot process/langgraph_mcp_backend.py - Chat user → Threaded chat UI: sends prompts
Toolbot process/streaming_frontend_threading.py - Threaded chat UI → Basic assistant: streams turns
Toolbot process/streaming_frontend_threading.py