| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
╱|、
(˚ˎ 。7
|、˜〵
じしˍ,)ノ
██████╗ ███╗ ███╗ █████╗ ██╗ ██╗
██╔═══██╗████╗ ████║██╔══██╗╚██╗██╔╝
██║ ██║██╔████╔██║███████║ ╚███╔╝
██║▄▄ ██║██║╚██╔╝██║██╔══██║ ██╔██╗
╚██████╔╝██║ ╚═╝ ██║██║ ██║██╔╝ ██╗
╚══▀▀═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
c o d e
AI-powered terminal coding and QA agent. Named after Max, the real cat who inspired it all.
qmax-code can work as a standalone local repository agent with no QualityMax account, or connect to QualityMax for hosted QA workflows. In connected mode it can manage projects and test cases, crawl sites, generate and run tests, review repositories, heal scripts, and prepare CI. It calls the QualityMax API directly, so the separate qmax CLI is optional.
Use the built-in agent with Anthropic, Cerebras, or Ollama, or use orchestration mode to run Claude Code, Codex, or OpenCode with the same qmax QA tools through MCP.
qmax-code is the terminal agent that drives a QA session. It sits alongside free-qa-skills (read-only audits inside a coding agent), qmax-mcp (scan a page, generate a repro, run it locally), 9lives (heal broken selectors), and qmax-local-agent (let the cloud reach a private network). Only hosted QualityMax needs an account.
License: Source-available under the Functional Source License (FSL-1.1-ALv2), created by Sentry. It is free for non-competing use, including internal use, modification, contribution, education, research, and professional services. Each release converts to Apache 2.0 after two years.
qmax-code is the QA terminal next to the repo, not an editor and not a faster Claude. Cursor owns the file buffer. Claude Code and Codex own general coding in a terminal. qmax-code owns crawls, tests, review, healing, and receipts — and can host those other agents through /orch when the job is coding.
Go makes the binary install once. Cerebras makes tokens fast (today: GPT-OSS 120B, GLM 4.7, Gemma 4 at ~1000–2000+ tok/s; Qwen 3.8 coming soon). Claude Code and Codex are the careful path for hard design. Switch in /orch; do not run two CLIs and two configs.
| Job | Pick |
|---|---|
| Tests, crawls, coverage, QualityMax projects | qmax-code connected (or --local for workspace-only) |
| Fast loops, bulk generation, cheap iteration | /orch → Cerebras |
| Hard design, tricky refactors | /orch → Claude Code or Codex |
| GLM on a coding plan | /providers → Z.AI, then OpenCode in /orch |
| Air-gapped / local weights | Ollama |
Day-to-day: the editor for typing, qmax-code for the agent. Default /orch to Cerebras or Claude Code depending on whether the next hour is “generate and run a lot” or “think hard.”
Some advanced surfaces—k6, QTML, framework export/trigger operations, and background-job health—remain experimental and are only exposed when QMAX_EXPERIMENTAL=1.
See CHANGELOG.md for the complete release history.
curl -sL https://qualitymax.io/static/install-qmax-code.txt | bashTo build from source instead:
git clone https://github.com/Quality-Max/qmax-code.git
cd qmax-code
go build -o qmax-code .
./qmax-code --versionGo 1.24 or newer is required for source builds.
qmax-code is a compiled Go program, not a Node or Python app. That is why it installs like a Unix tool.
Go does not make the model smarter, and qmax-code is not faster than Claude at thinking. Token speed is the inference backend (Cerebras today; Qwen 3.8 on Cerebras soon). Claude Code, Codex, and OpenCode remain separate tools that qmax-code can host through /orch. Go makes qmax-code itself install once and run like curl, git, or rg.
Run qmax-code without a QualityMax account:
# Use an already authenticated coding-agent CLI:
qmax-code --local --backend codex
qmax-code --local --backend cc
# Or use the built-in agent with your selected inference provider:
qmax-code --localThe built-in path still needs an inference backend: an Anthropic or Cerebras key, or a configured Ollama endpoint. --local means no QualityMax login, project, or cloud request; it does not mean that a third-party model provider is offline. Use Ollama on a local endpoint when you also want inference to stay on your machine.
To make standalone mode the default:
qmax-code config set local_only true
qmax-code
# Return to QualityMax-connected startup:
qmax-code config set local_only falseStandalone qmax tools are deliberately limited to read_file, edit_file, write_file, run_command, and the built-in agent's update_plan. QualityMax projects, hosted tests, crawls, imports, cloud sessions, live feeds, and the cloud-backed run_local_test workflow are unavailable. CLI backends may also have their own native coding tools, governed by their permission settings.
Log in for cloud-backed tools:
qmax-code loginThe browser flow is the default. You can instead use an API key from QualityMax Settings:
qmax-code login --api-key qm-YOUR-API-KEYThen start qmax-code and choose an inference backend:
qmax-code
# Inside the REPL:
> /orchFor the direct Anthropic backend, set a session-only key before launch:
export ANTHROPIC_API_KEY=YOUR_KEY
qmax-codeYou can also provide a prompt directly:
qmax-code "crawl staging.myapp.com and generate e2e tests"
qmax-code -p "run all tests for project 42"
qmax-code --backend codex -p "review this repository's test strategy"/orch is qmax-code's unified backend, model, and effort picker. It is not a separate model and it does not create several agents. It selects which inference engine handles the conversation while keeping qmax-code as the host for terminal UX, QualityMax context, and tools.
For CLI backends, qmax-code launches the selected agent as a subprocess and serves qmax tools through its embedded MCP server. On first activation you choose one of two permission levels:
Claude Code and Codex also offer an optional global MCP installation. Accepting it adds qmax to their user-level configuration so qmax QA tools are available when those CLIs are launched outside qmax-code. Declining keeps the integration scoped to qmax-code sessions. OpenCode uses a qmax-managed overlay config rather than modifying the user's main OpenCode configuration.
Read Orchestration mode for backend requirements, provider setup, permission behavior, installed files, switching, and troubleshooting.
qmax-code orchestration is separate from Conductor's parallel-workspace orchestration. Conductor can run multiple isolated qmax-code development workspaces; /orch chooses the inference backend inside one qmax-code session.
| Backend | Select with | Authentication | Notes |
|---|---|---|---|
| Anthropic API | /api or /orch | ANTHROPIC_API_KEY or OS keychain | Built-in agent loop; tool set follows connected vs. standalone mode. |
| Claude Code | /cc or /orch | Local Claude Code login | CLI subprocess; qmax tools arrive through MCP. Agent SDK usage may be separately metered by Anthropic. |
| Codex | /codex or /orch | Local Codex login | CLI subprocess using the user's OpenAI access; qmax tools arrive through MCP. |
| Cerebras | /gemma, /orch, or --backend cerebras | CEREBRAS_API_KEY or OS keychain | Built-in native function calling. Fast inference (~1000–2000+ tok/s): GPT-OSS 120B, GLM 4.7, Gemma 4 (vision + effort). Qwen 3.8 coming soon. |
| OpenCode | /opencode or /orch | Per-provider key in OS keychain | CLI subprocess for opt-in Z.AI, Groq, and OpenRouter providers. |
| Ollama | /ollama or /orch | Configured Ollama endpoint | Self-hosted inference; configure the URL and model first. |
QualityMax authentication is independent of model-provider authentication. You can run any backend with --local and no QualityMax login. Without --local, qmax-code starts the QualityMax onboarding flow when no supported QualityMax connection is available. Cloud projects, crawls, hosted test runs, imports, and repository analysis always require connected mode.
qmax-code ships 27 agent skills:
Use these commands from the REPL:
/skills Show every skill and its Claude Code/Codex/OpenCode status
/skills install Refresh the catalog in all supported CLI backends
Browser/runtime skills also require a Playwright MCP server in the consuming agent. qmax-code declares that dependency in the Codex skill metadata.
/orch Pick backend, model, and effort
/providers List opt-in OpenCode providers
/providers enable groq Store a provider key and enable its models
/skills Show managed QA skills and install status
/live on Stream eligible test/crawl browser runs in the terminal
/feed Reopen the latest live browser feed
/sessions Pick a saved session to resume
/queue <prompt> Add follow-up work; typing during a turn also queues it
/theme Preview and select a terminal theme
/cost Show token usage and estimated cost
/plan Show coding-plan usage window (5h limit + reset time)
/config Show session configuration
/help Show the full in-app command reference
See Command reference for subcommands, flags, REPL commands, configuration keys, and keyboard shortcuts.
Interactive sessions auto-save by default. For a one-shot command, use --save-session on the built-in backends if you want it available through --resume last:
qmax-code --save-session -p "review the current diff"
qmax-code --resume last
qmax-code --list-sessionsClaude Code, Codex, and OpenCode manage their own native CLI session and resume state. qmax-code mirrors successful interactive turns into its in-memory history, but --save-session does not replace a CLI backend's native resume mechanism.
Cloud session sync is opt-in:
/cloudsync
/set cloud_sync true
/set cloud_sync false
Cloud session sync is unavailable in standalone local-only mode. Local session save/resume and prompt queues continue to work.
Turn on /live to request QualityMax Cloud Sandbox execution for eligible browser tests and AI crawls. qmax-code displays the stream in the terminal and keeps the latest feed available through /feed.
/live, /feed, and /browserfeed are connected-mode commands and are unavailable in standalone local-only mode.
Use /screenshot to capture a screen and /paste to attach clipboard text or an image. Image attachments are supported by the built-in multimodal path (including Gemma 4 on Cerebras); CLI subprocess backends currently receive text only.
When a session makes outbound requests, qmax-code writes a signed manifest under ~/.qmax-code/receipts/. The receipt records LLM and cloud-API egress without storing prompt bodies, file contents, model responses, shell output, or credential values.
qmax-code receipt list
qmax-code receipt show latest
qmax-code receipt verify latestOffline verification proves that the receipt was produced by this agent's local signing key; it is provenance evidence, not proof that every possible network path was disclosed. Cross-check receipts against your own egress logs when that assurance matters.
qmax-code is a trusted local terminal agent. Local file and command tools run with your user permissions in the current workspace; they are not a sandbox. CLI orchestration in unattended mode is broader still and can edit files, run arbitrary commands, and push commits.
Standalone mode prevents qmax-code from loading QualityMax credentials or exposing QualityMax tools. It does not sandbox the selected inference backend or suppress that backend's own network traffic.
Read SECURITY.md before using local execution or unattended orchestration in an unfamiliar repository.
qmax-code does not send telemetry off-machine by default. Crash and error reporting requires both:
export QMAX_CODE_TELEMETRY=1
export QMAX_CODE_TELEMETRY_DSN=YOUR_SENTRY_COMPATIBLE_DSNWhen enabled, reporting is limited to structural metadata such as backend, status code, model identifier, input length, and image count. Prompt content, file contents, LLM responses, credentials, and shell output are not included. Unset either variable to disable reporting.
| Path | Purpose |
|---|---|
| main.go | Process entry, flags, subcommands, login, backend startup, and one-shot mode |
| internal/repl/repl.go | Interactive REPL, slash commands, backend switching, queue, and live feed |
| internal/agent/agent.go | Built-in streaming agent loop, tool use, routing, and history compression |
| internal/agent/tools.go | Tool schemas, safety gates, dispatch, local execution, and healing |
| internal/agent/{cc,codex,opencode}_agent.go | CLI orchestration backends |
| internal/agent/{cerebras,ollama}_agent.go | Built-in alternative inference backends |
| internal/api/ | QualityMax client, auth, provider registry, models, and persistent config |
| internal/mcp/server.go | Embedded stdio MCP server for CLI backends |
| internal/setup/orch.go | MCP registration and QA-skill installation |
| internal/skills/ | Backend-neutral 27-skill catalog and materialization |
| internal/session/ | Local/cloud sessions and prompt queue |
| internal/tui/ | Terminal rendering, input, themes, media, and model pickers |
| internal/httpx/ and receipt.go | Guarded outbound HTTP and Exposure Receipt integration |
go build -o qmax-code .
go test ./...
go vet ./...See CONTRIBUTING.md for architecture, development workflow, testing, security-sensitive areas, and pull-request expectations.
Max is a curious explorer, playful bug hunter, and proud test presenter. Use --professional or /set professional true when you prefer a direct, personality-free response style.
/\_/\
( o.o ) "knocks bugs off the table"
> ^ < "nine lives, zero regressions"
/| |\ "if it fits I sits, if it breaks I test it"
(_| |_) meow.
Source-available CLI for the QualityMax platform. Licensed under FSL-1.1-ALv2, free for non-competing use and converting to Apache 2.0 after two years.
| Back | FazBrowse Home | New Git URL |