Expand description
Tools for Pawan agent
This module provides all the tools that Pawan can use to interact with the filesystem, execute commands, and perform coding operations.
Native tools (rg, fd, sd, erd, mise) are thin wrappers over CLI binaries that provide structured JSON output and auto-install hints.
Modules§
- agent
- Sub-agent spawning tool
- ares_
bridge - Bridge ares tools into pawan’s ToolRegistry
- bash
- Bash command execution tool with safety validation
- deagle
- Deagle code intelligence tools — graph-backed symbol search.
- edit
- Edit tool for precise string replacement with write safety
- file
- File read/write tools with safety validation
- git
- Git operation tools
- lsp_
tool - ast-grep and LSP (rust-analyzer) tool wrappers.
- mise
- mise and zoxide tool wrappers.
- native
- Native CLI tool wrappers — thin re-export shim.
- native_
search - Native CLI search tool wrappers — rg, fd, sd, erd.
- search
- Search tools (glob and grep)
Structs§
- Tool
Definition - Tool definition — re-exported from
thulp_coreso pawan and the rest of the dirmacs stack share a single source of truth for tool metadata. - Tool
Registry - Registry for managing tools with tiered visibility.
Enums§
- Tool
Tier - Tool tier — controls which tools are sent to the LLM in the prompt. All tools remain executable regardless of tier; tier only affects which tool definitions appear in the LLM system prompt.
Traits§
- Tool
- Trait for implementing tools