Expand description
§aegis-tools
Built-in tool implementations for the Aegis agent.
Provides the core tools that every Aegis agent has access to:
- ReadFileTool / WriteFileTool: filesystem operations
- SearchFilesTool: grep-based code search
- PatchTool: apply unified diffs
- TerminalTool: shell command execution (with security checks)
- SessionSearchTool: search past conversations
- MemorySearchTool: search agent memory by keyword
- RecordSearchTool: search conversation records
- BrowserTool: web browsing via bridge
- TodoTool: task list management
- SpawnTaskTool: create background tasks
Tools implement the Tool trait and register into ToolRegistry.
Re-exports§
pub use memory_search::MemorySearchTool;pub use record_search::RecordSearchTool;pub use crates_io::CratesTool;pub use skill::SkillTool;pub use remote::RemoteTool;pub use selfmod::SelfModTool;pub use session_tool::SessionTool;pub use control_tool::ControlTool;pub use control_tool::AgentControl;pub use control_tool::execute_agent_command;pub use control_tool::CMD_PREFIX;pub use widget::WidgetTool;pub use widget::load_widgets;pub use widget::render_widget_lines;
Modules§
- background
- batch
- control_
tool - crates_
io cratestool — read-only queries against the Rust package ecosystem.- delegation
- memory_
search - output_
buffer - peers
- A2A peer registry — other aegis instances this agent can delegate to.
- record_
search - remote
- Remote server access over SSH (stage 1 of multi-machine support).
- remotes
- Named remote-server credentials (“credential vault” by handle).
- selfmod
selfmodtool — unified entry point for aegis self-modification.- session_
tool - skill
skilltool — on-demand skill discovery for scale (M-S2b).- widget
Structs§
- Background
Tool - Run and supervise long-running processes without blocking the agent loop.
Output is redirected to a per-task log file (so the pipe never fills and
blocks), which the agent tails via the
logsaction. - Browser
Tool - Checkpoint
Manager - Clarify
Tool - Maigret
Tool - Patch
Tool - Read
File Tool - Search
Files Tool - Session
Search Tool - Spawn
Task Tool - Terminal
Tool - Todo
Tool - Tool
Context - Context passed to every tool execution.
- Tool
Registry - Registry of available tools.
- WebExtract
Tool - WebSearch
Tool - Write
File Tool
Enums§
- BgBackend
- Backend for the
backgroundtool.Autouses tmux when available (giving tasks an independent lifetime +tmux attachre-attachability), else falls back to a detached child process.
Traits§
- Tool
- A tool that the agent can invoke.
Functions§
- read_
todo_ progress - Summarize the session’s todo list as
(completed, total, current_item), wherecurrent_itemis the first not-yet-done task. ReturnsNonewhen there are no tasks. Used by the CLI to render a live progress bar. - todo_
path - Path to the session’s todo file (
~/.aegis/todos/<session>.txt).