Skip to main content

Usage

DeepAgent provides an isolated virtual filesystem. Files persist across the task execution and can be stored in memory (ephemeral) or persistent storage.

Filesystem Tools

ls

List directory contents.

read_file

Read file content with pagination.

write_file

Create or overwrite a file.

edit_file

Perform exact string replacement.
Important: You must read a file before editing it.

glob

Find files matching a pattern.
Pattern Examples:
  • "*.txt" - All text files in root
  • "/docs/**/*.md" - All markdown files under /docs/
  • "/**/*.py" - All Python files recursively

grep

Search for text within files.

Example

Advanced Example