Skip to content

Tools Reference

Zenus exposes tools to the orchestrator through a typed registry. Each tool maps to a class with discrete action methods. The orchestrator selects tools based on the validated IntentIR plan — tools never execute without a validated plan.

Privilege tiers:

  • STANDARD — safe for all environments (default)
  • PRIVILEGED — requires explicit allow_privileged in config or --allow-privileged flag

FileOps

File system operations — read, write, move, copy, delete, search.

ActionDescriptionRisk
read_fileRead file contents0
write_fileWrite or overwrite a file1
move_fileMove or rename a file1
copy_fileCopy a file1
delete_fileDelete a file (tracked, rollback-able)2
list_filesList directory contents0
search_filesFind files by name or content0
create_dirCreate directory tree1

SystemOps

Process management, disk usage, CPU/memory stats, service control.

ActionDescriptionRisk
get_cpu_usageCPU usage by process0
get_memory_usageMemory stats0
get_disk_usageDisk usage for paths0
list_processesRunning processes0
kill_processKill a process by PID or name2
start_serviceStart a systemd service2
stop_serviceStop a systemd service2
restart_serviceRestart a systemd service2
get_service_statusCheck service status0

GitOps

Git workflow — status, commit, branch, log, push, PR management.

ActionDescriptionRisk
git_statusWorking tree status0
git_diffShow changes0
git_logCommit history0
git_addStage files1
git_commitCreate a commit1
git_pushPush to remote2
git_pullPull from remote1
git_branchCreate/list/delete branches1
git_checkoutSwitch branches1
create_github_issueOpen a GitHub issue1

PackageOps

Package manager operations — install, remove, update (apt, dnf, pacman).

ActionDescriptionRisk
install_packageInstall a package2
remove_packageRemove a package2
update_packagesUpdate all packages2
list_installedList installed packages0
search_packageSearch for packages0

NetworkOps

HTTP requests, file downloads, connectivity checks.

ActionDescriptionRisk
pingCheck host reachability0
curlHTTP request (https:// and http:// only)1
wgetDownload a file1
check_portTest if a TCP port is open0

BrowserOps

Headless browser automation — screenshots, downloads, scraping.

ActionDescriptionRisk
screenshotTake a screenshot of a URL0
scrape_textExtract visible text from a page0
download_fileDownload a resource via browser1
fill_formFill and submit a web form2

TextOps

Text manipulation — search, replace, transform, extract.

ActionDescriptionRisk
grepSearch text in files0
replace_in_fileFind and replace within a file1
count_linesCount lines matching a pattern0
extract_jsonExtract JSON fields0

ShellExecutor (PRIVILEGED)

Arbitrary shell commands. Excluded by default — requires allow_privileged: true.

mcp:
  server:
    allow_privileged: true

Or via CLI: zenus mcp-server --allow-privileged


CodeExec (PRIVILEGED)

Execute Python and Bash scripts in a restricted sandbox. Excluded by default — requires allow_privileged: true.


WebSearch

Autonomous web search. Used internally by the orchestrator when IntentIR.search_provider == "web". Not typically invoked directly.

Sources: Brave Search (primary) → Wikipedia → HackerNews → GitHub → Reddit → arXiv → RSS feeds.