Commit d750e34
committed
feat: add langchain deepagents backend integration
Adds langchain-agent-sandbox package that implements the DeepAgents
BackendProtocol by wrapping a SandboxClient.
Features:
- Execute commands in sandbox
- Read/write/edit files with path virtualization under /app
- Grep and glob operations
- File upload/download
- Async variants of all operations
- Path traversal protection
The package is self-contained in clients/python/langchain-agent-sandbox/
with its own tests and mypy configuration.1 parent 1e1c435 commit d750e34
File tree
7 files changed
+922
-0
lines changed- clients/python/langchain-agent-sandbox
- langchain_agent_sandbox
- tests
- test/e2e
- clients/python
7 files changed
+922
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments