Install any skill in seconds. Free to start, no credit card required.
Get Started Free →majiayu000/deepagents-filesystem
使用 FilesystemMiddleware 实现虚拟文件系统、后端(State、Store、Filesystem、Composite)和 Deep Agents 的上下文管理。
Passed 22 of 22 test cases with the skill, and 8 of 22 without it.
and 22 more in the full report
14 fixed8 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
What are the exact six built-in filesystem tools provided to an agent by the deepagents filesystem middleware?
| Checked | Without skill | With skill |
|---|---|---|
| The response lists ls, read_file, write_file, edit_file, glob, and grep. | Missed | Passed |
The instructions your model reads when the skill loads.
FilesystemMiddleware 通过可插拔后端系统提供文件操作,解决上下文工程挑战。工具包括:ls、read_file、write_file、edit_file、glob、grep。
在 agent 状态中的临时存储 - 仅在单个会话内持久化。
import { createDeepAgent } from "deepagents";
const agent = await createDeepAgent({});
// 默认 StateBackend - 文件仅存在于会话中
import { createDeepAgent, FilesystemBackend } from "deepagents";
const agent = await createDeepAgent({
backend: new FilesystemBackend({
rootDir: ".",
virtualMode: true // 安全性:限制路径
})
});
import { createDeepAgent, StoreBackend } from "deepagents";
import { InMemoryStore } from "@langchain/langgraph";
const store = new InMemoryStore();
const agent = await createDeepAgent({
backend: (config) => new StoreBackend(config),
store
test cases passed, vs 8 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.