Expand description
§nenjo-tools
Tool trait, types, and built-in tool implementations for the Nenjo agent platform.
This crate provides:
- The
Tooltrait for defining agent capabilities - Supporting types: [
SecurityPolicy], [RuntimeAdapter], [AgentMemory] - Built-in tool implementations (shell, file I/O, git, search, web, memory, etc.)
Re-exports§
pub use browser::BrowserTool;pub use browser::ComputerUseConfig;pub use browser_open::BrowserOpenTool;pub use content_search::ContentSearchTool;pub use file_edit::FileEditTool;pub use file_read::FileReadTool;pub use file_write::FileWriteTool;pub use git_operations::GitOperationsTool;pub use glob_search::GlobSearchTool;pub use http_request::HttpRequestTool;pub use memory_forget::MemoryForgetTool;pub use memory_recall::MemoryRecallTool;pub use memory_store::MemoryStoreTool;pub use screenshot::ScreenshotTool;pub use shell::ShellTool;pub use web_fetch::WebFetchTool;pub use web_search_tool::WebSearchTool;
Modules§
- browser
- Browser automation tool with pluggable backends.
- browser_
open - Open URLs in Brave Browser with domain allowlisting.
- content_
search - Regex-based content search across workspace files using ripgrep with grep fallback.
- file_
edit - Precise find-and-replace file editing with single-match enforcement.
- file_
read - Read file contents with path sandboxing and symlink-escape protection.
- file_
write - Write file contents with path sandboxing and auto-created parent directories.
- git_
operations - Structured git operations (status, diff, log, branch, commit, etc.) with parsed JSON output.
- glob_
search - File discovery by glob pattern within the workspace directory.
- http_
request - General-purpose HTTP request tool for API interactions with domain allowlisting.
- memory
- memory_
forget - Delete or prune memory items by ID, search query, or age threshold.
- memory_
recall - Search the agent’s long-term memory across project, core, and shared scopes.
- memory_
store - Store facts, preferences, and insights in the agent’s long-term memory.
- runtime
- screenshot
- Screenshot capture using platform-native commands (macOS screencapture, Linux scrot).
- security
- shell
- Shell command execution tool with sandboxing, rate limiting, and environment isolation.
- web_
fetch - Fetch web pages and convert HTML to clean plain text for LLM consumption.
- web_
search_ tool - Web search tool supporting DuckDuckGo (free) and Brave (API key) providers.
Structs§
- Tool
Result - Result of a tool execution.
- Tool
Spec - Full specification of a tool for LLM registration.
Enums§
- Tool
Category - Classifies a tool’s side-effect profile for filtering.
Traits§
- Tool
- Core tool trait — implement for any agent capability.