How Remote uses LangChain and LangGraph to onboard thousands of customers with AI
Blog post from LangChain
Remote, a rapidly expanding startup, has developed an innovative system to automate the migration of HR and payroll data for its global clientele, addressing the challenges of handling diverse and complex datasets. To streamline this crucial onboarding process, Remote engineered a Code Execution Agent that leverages large language models (LLMs) for reasoning and Python code execution for data transformation, effectively separating cognitive tasks from data processing. This system, built using LangChain and LangGraph, minimizes the risk of LLM hallucinations by keeping intermediate data processing outside the model's context window, ensuring scalable and reliable data handling. The agent ingests customer data, utilizes LangChain's tool-calling interface to map it into Remote’s schema, and employs Python libraries like Pandas for efficient execution in a sandbox environment. This approach not only speeds up the onboarding process but also enhances its reliability, making it repeatable and auditable while freeing Remote's teams from writing custom scripts. As part of its AI platform, Remote plans to further develop reusable agents for common tasks and contribute improvements back to the open-source community, demonstrating its commitment to advancing AI infrastructure for global employment solutions.