Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bd5ea78
feat(langchain_v1): Add Anthropic tools middleware with text editor, …
nfcampos Oct 9, 2025
89d0fff
Add subagents middleware
nhuang-lc Oct 9, 2025
544a755
Fix linting
nhuang-lc Oct 9, 2025
6b6057f
Resolve merge conflicts
nhuang-lc Oct 9, 2025
290e838
resolve merge conflicts
nhuang-lc Oct 9, 2025
203323d
Remove claude file
nhuang-lc Oct 9, 2025
7eedbf2
Merge remote-tracking branch 'origin/nc/9oct/file-tools-middleware' i…
nhuang-lc Oct 9, 2025
7340cb5
Share code between anthropic tools and filesystem, add deepagents
nhuang-lc Oct 10, 2025
9cab0be
Update imports
nhuang-lc Oct 10, 2025
c7a52e8
Fix formatting
nhuang-lc Oct 10, 2025
f682a9e
Fix and simplify filesystem substantially - add integration tests for…
nhuang-lc Oct 10, 2025
1713a14
Address comments
nhuang-lc Oct 10, 2025
206fa15
Add dependencies to tests
nhuang-lc Oct 10, 2025
bcbf2ff
Fix import in test
nhuang-lc Oct 10, 2025
918e2ee
Update default model
nhuang-lc Oct 10, 2025
ecbd43b
Change how namespace is built
nhuang-lc Oct 13, 2025
6eb8377
excluded keys
sydney-runkle Oct 14, 2025
9310832
remove anthropic stuff
sydney-runkle Oct 14, 2025
5e93774
Merge branch 'master' into sr/deepagents
sydney-runkle Oct 14, 2025
6677d57
HITL changes
sydney-runkle Oct 14, 2025
83e7c4e
linting, renaming
sydney-runkle Oct 14, 2025
086c6cc
Merge branch 'master' into sr/deepagents
sydney-runkle Oct 14, 2025
d642285
removing is_async
sydney-runkle Oct 14, 2025
24e2a95
more custom interface
sydney-runkle Oct 14, 2025
b642d8f
sub agent
sydney-runkle Oct 15, 2025
3757a8a
more improvements
sydney-runkle Oct 15, 2025
853a498
docstrings and general improvements
sydney-runkle Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
423 changes: 423 additions & 0 deletions libs/langchain_v1/langchain/agents/_internal/file_utils.py

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion libs/langchain_v1/langchain/agents/middleware/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
ClearToolUsesEdit,
ContextEditingMiddleware,
)
from .filesystem import FilesystemMiddleware
from .human_in_the_loop import (
HumanInTheLoopMiddleware,
InterruptOnConfig,
)
from .model_call_limit import ModelCallLimitMiddleware
from .model_fallback import ModelFallbackMiddleware
from .pii import PIIDetectionError, PIIMiddleware
from .subagents import SubAgentMiddleware
from .summarization import SummarizationMiddleware
from .todo import TodoListMiddleware
from .todo_list import TodoListMiddleware
from .tool_call_limit import ToolCallLimitMiddleware
from .tool_emulator import LLMToolEmulator
from .tool_selection import LLMToolSelectorMiddleware
Expand All @@ -36,6 +38,7 @@
"AgentState",
"ClearToolUsesEdit",
"ContextEditingMiddleware",
"FilesystemMiddleware",
"HumanInTheLoopMiddleware",
"InterruptOnConfig",
"LLMToolEmulator",
Expand All @@ -46,6 +49,7 @@
"ModelResponse",
"PIIDetectionError",
"PIIMiddleware",
"SubAgentMiddleware",
"SummarizationMiddleware",
"TodoListMiddleware",
"ToolCallLimitMiddleware",
Expand Down
Loading
Loading