diff --git a/python/langchain-floo-sandbox/README.md b/python/langchain-floo-sandbox/README.md index 5f2f8e9..833a576 100644 --- a/python/langchain-floo-sandbox/README.md +++ b/python/langchain-floo-sandbox/README.md @@ -29,6 +29,12 @@ finally: Pass the backend to `create_deep_agent(model=model, backend=backend)` while the sandbox is open. The caller chooses the model and closes the sandbox. +## Analyze a CSV in one workspace + +In a run of [LangChain’s sales analysis example](https://github.com/langchain-ai/docs/blob/e6d5a65d465d976551e20d41309540810e2736a3/src/oss/deepagents/data-analysis.mdx), the agent read the five rows in `sales.csv`, revised its plan, and wrote `analysis.py` before starting a project VM. Calling `backend.execute("cd /project && python3 analysis.py")` attached a micro-VM to that same workspace. The agent then read `results.json` and wrote its report. The script found 33 units sold and 840 in revenue. + +For the file steps, the agent used tools backed by `backend.download_files()` and `backend.upload_files()`. These methods handle small workspace files directly. Deep Agents’ built-in file tools can invoke shell commands, which attach a VM. + ## Run the tests From this directory, run: