FloTorch LangChain Plugin Overview
Overview
Section titled “Overview”The FloTorch LangChain Plugin integrates FloTorch-configured agents, memory, and sessions with LangChain. It supports custom tools and dual-memory setups.
Exports:
FlotorchLangChainAgent– builds a LangChain agent from Console configFlotorchLangChainLLM– LangChainBaseChatModelbacked by FloTorchFlotorchLangChainSession– short-term session memoryFlotorchLangChainMemory– long-term memory
Installation
Section titled “Installation”pip install flotorch[langchain]Configuration
Section titled “Configuration”export FLOTORCH_API_KEY="<your_api_key>"export FLOTORCH_BASE_URL="https://gateway.flotorch.cloud"Next Steps
Section titled “Next Steps”- See Agent, LLM, Memory, and Session pages