Design
Open Max keeps one agent loop, seven built-in tools, a terminal UI, and trust decisions in a small Rust core. Additional capabilities live in files and native processes that you can inspect and change.
Extend through files
The built-in tools are list_dir, read_file, write_file, edit_file, glob, grep, and bash. The agent can write a TOML tool and call it on its next step. Skills provide instructions on demand, prompt templates provide reusable commands, and hooks run checks at defined points in a session.
| Need | Use |
|---|---|
| Call an external service | A CLI-backed TOML tool and an on-demand skill |
| Reuse a workflow | A SKILL.md package or prompt template |
| Delegate a task | A child openmax process, optionally in a Git worktree |
| Keep durable knowledge | Files in .openmax/memory/ |
| Enforce project checks | Process hooks and permission rules |
| Build another interface | The stdio protocol |
See Extensions for the file formats and stdio protocol for custom frontends.
Keep context inspectable
The system prompt and tool definitions stay unchanged within a session until a reload. Changes to extensions are reported in the conversation. Compaction keeps an archive of removed context, and openmax --recall searches saved sessions, archives, and memories.
Trust, permissions, and approvals remain the core's responsibility. Read Trust and permissions and Native execution and privacy before running extensions.
The design reference explains the architecture and extension boundaries in detail.