SuperAPIAI Directory

open-max

github.com · AI coding

Open Max is a terminal coding agent framework written in Rust, running as a single binary and supporting any OpenAI-compatible, Anthropic, or local model. It has a built-in agent loop, seven tools, and a streaming terminal interface, emphasizing minimalism, high speed, token efficiency, and self-extension capability. Users can extend the built-in prompt through AGENTS.md, skills, memory, and custom tools, and the agent can also write new tool or skill files itself and invoke them in the next step. It supports switching model endpoints within a session, saving learned content as files for loading in subsequent sessions, and provides /context to view context costs and /memory to view memory usage. In addition, it provides an example script run-task for running tasks in a repository and verifying results based on a user-specified check command, and also supports offline replay of every step. Open Max has no telemetry and only performs a once-daily version check (which can be disabled), making it suitable for coding assistance and automation tasks in terminal environments.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Open Max is a terminal-oriented Rust coding agent harness, provided as a single binary. Its design goals are minimalism, extreme speed, token efficiency, and self-extension, and it can work with any model.

Purpose: Open Max is intended to serve as a runtime environment for a coding agent in the terminal, helping users use existing models (including paid or locally running models) to perform coding-related tasks. It keeps the core small and extends new tools and skills through files.

Main capabilities:

  • Supports any OpenAI-compatible, Anthropic, or local model; endpoints can be switched within a session via /model.
  • Built-in agent loop, seven tools, and a streaming terminal interface that shows each step in real time.
  • Self-extension: the agent can write new tool or skill files and invoke them immediately in the next step.
  • Users can extend the built-in prompt through AGENTS.md, skills, memory, and tools; /context shows the context cost of each item.
  • Memory is saved as files under .openmax/memory/ and automatically loaded in the next session; /memory shows each memory and its last-used time; openmax --recall "<query>" can search past sessions.
  • Process management: within 100 milliseconds after kill -9, processes in its tool process group are cleaned up; however, independent session processes started via setsid are not controlled, and named tmux sessions can be used to intentionally keep work running.
  • Provides an examples/run-task script that can run a single task in a repository and, when a user-specified command fails, refuse to end the turn and return the output to the model; after three refusals, the turn ends in an unverified state. After Open Max exits, the script runs the user command again and outputs a JSON result containing the states before and after the check, the patch, and commands that can replay each step byte-for-byte offline (except progress lines of running commands).
  • The installation script adds openmax to the PATH of new shells; you can open a new shell or run source ~/.openmax/bin/env.
  • During first-time setup, API login saves the selected model as the default; after browser login, you need to use /model to select a model.
  • Confirmation is requested before working in a new project; shell commands, tools, and hooks run with user permissions.
  • No telemetry; except for model endpoints and OpenAI login service (for ChatGPT accounts), at most once per day a version check is made from the installed version's interactive session to api.github.com, which can be disabled via OPENMAX_NO_UPDATE_CHECK=1.

Usage: After installation, run openmax from a terminal to start. On first setup, you can choose API login or browser login, and select a model. After that, just describe the task. You can use /model to switch models, /context to view context cost, and /memory to view memory. For scripts and CI, refer to the "unattended runs" documentation. If using a coding agent for setup, you can point it to useopenmax.dev/setup.md.

Use cases: Suitable for coding assistance in terminal environments, automated task execution, scenarios requiring self-extending tools, and users who want to leverage existing model endpoints (including local models) for agent work. Also suitable for scenarios that need to verify task results via scripts and replay offline.

Limitations:

  • Standalone session processes started via setsid cannot be cleaned up.
  • Version checks occur at most once per day and can be disabled.
  • Other specific limitations (such as platform support and model compatibility details) are not yet provided.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools