Process
Which model, at which effort, does this delegated task?
Your session model stays the Orchestrator. Delegated work goes to an Executor ladder and an Advisor ladder, and each rung is earned from independently assessed results.
Optimax stays thin and leaves your Orchestrator model in charge. It manages the three resources of an agent session: process, context and memory.
An exokernel does resource management and nothing else. Policy stays with the application above it, and the whole stack runs on the agent host you already use.
The session model you chose. It plans, delegates and decides, and Optimax never replaces it.
One thin layer with three managers: process, context and memory. It is instructions plus a deterministic controller.
Models and effort through the Executor and Advisor ladders. The context window through RTK, Context Mode and LeanCTX. Memory across sessions through Graphify and agentmemory.
The base everything stands on. It runs your Orchestrator session and loads Optimax as a plugin.
An operating system kernel answers three questions about scarce resources. An agent session has the same three, and before Optimax each one was answered ad hoc.
Process
Your session model stays the Orchestrator. Delegated work goes to an Executor ladder and an Advisor ladder, and each rung is earned from independently assessed results.
Context
Shell output, file reads, searches and web pages each have exactly one tool responsible for shrinking them. Nothing is compressed twice.
Memory
A graph of the repository to orient in before reading files, and a store of decisions that the next session can recall.
Every delegated result is assessed independently on a 0 to 5 rubric. Five eligible runs decide whether the next task of that kind goes to a stronger rung, a cheaper one, or the same one.
Stronger at the top
Last five assessed runs
Record a score
Record five scores to see the controller decide.
An Advisor is consulted before any plan or design is finalized. The Orchestrator checks the advice and owns the decision. The Advisor ladder follows the same five-run rule.
Also bundled: a staged, independent review-and-repair sweep that takes a bounded scope through every rung of the Executor ladder. /optimax:review-ladder
The context and memory managers are the Silver Bullet five-tool stack. The bundled Context Stack skill installs, wires, verifies and repairs it on both hosts.
| Owner | Job | Manager |
|---|---|---|
| Graphify | Graph and structure, orient first | Memory |
| agentmemory | Memory across sessions | Memory |
| RTK | Shell output | Context |
| Context Mode | Sandbox, grep, slice, web fetch | Context |
| LeanCTX | Read, AST, path jail, injection guard | Context |
Claude Code/optimax:context-stackCodex$context-stack
stack.py plan shows every file diff and command before anything runs. Consent is recorded per user and never read from a repository.
stack.py verify exits nonzero on any failed check, so it works in scripts as well as by eye.
Both read and write the vendor-neutral five-tool-stack/v1 manifest. When Silver Bullet is installed it owns the wiring, and Optimax only verifies.
Added in 0.6.0. Cloud sessions start from a clean checkout, and parallel threads each learn something. A repository can opt in to syncing the score ledger through git so none of it is lost.
{"schema":1,"sync":"on"}
OPTIMAX_SYNC=0 is a personal opt-outInstalling enables nothing. Optimax applies only after you turn it on, for a session or as a standing default.
/plugin marketplace add alo-labs/agent-plugins/plugin install optimax@alo-labs/optimax:optimax oncodex plugin marketplace add alo-labs/agent-pluginscodex plugin add optimax@alo-labs-codex$optimax onFull instructions, including cloud sessions, are in INSTALL.md.
Optimax is a set of instructions plus a deterministic controller. That is a deliberate design, and it has edges.
The controller computes the right rung. The host model still has to act on it.
The ladders name models and efforts. Whether your host and plan offer them is outside its control.
Where a host does not reveal a worker’s model or effort, Optimax cannot confirm what actually ran.
Version 0.6.1 is published for early use. Expect changes between versions.