Skip to main content

Ϙ qor harness

Strap In!

Version 0.2.6 · 2026-11-27. Run qor --version to identify your installed build.

qor harness (pronounced “core harness”) is a keyboard-first agent harness for working with projects from your terminal. It connects to an OpenAI-compatible endpoint, Google Gemini or your ChatGPT account and gives the model tools to read and edit files and run commands.

Use the interactive terminal interface for a conversation, or run a single prompt from the command line. qor can also work in chat-only mode without workspace tools.

New in 0.2.6

  • Native Windows 11 support (PowerShell pwsh tool with Win32 Job Object cleanup, LockFileEx session locks, reparse-point guards, AppData defaults, and clip clipboard copy) and macOS portability fixes.
  • Optional websearch plugin (/plugins → websearch, /plugins edit websearch settings modal) supporting zero-config DuckDuckGo, self-hosted SearXNG JSON, and Brave Search (api_key_env), returning up to 25 results so the model can selectively fetch pages. Removed the redundant webfetch plugin.
  • Cross-platform clipboard image paste (/paste, Ctrl+V / Alt+V) attaching screenshots or copied images directly to your prompt with climage previews.
  • Automatic masking of oldest image tool results before hitting the 8-image / 32K-token cap, optional user_agent on fetch, and non-blocking TUI image previews.
  • jobs is now enabled by default, /providers add and /providers edit support custom auth headers under Advanced, and explicit llama.cpp profiles probe reverse-proxied HTTPS /props with auth.

New in 0.2.5

  • The default fetch tool ingests local files and URLs, including static images for image-capable models. It also downloads original bytes to a new file (or an existing one with overwrite=true) without ingesting them. webfetch remains an optional plugin.
  • Ingested images use private snapshots and ordinary step IDs for recall. Human-only colored climage previews use half the screen width without entering model context. Set image_previews = false to hide them without disabling image input.
  • OpenRouter, ChatGPT, Ollama and llama.cpp discovery learn image support, and idle server checks learn unknown image support for loaded dialect models. In /model edit, Advanced → Image input offers Auto, Enabled and Disabled.
  • Antigravity plan login (/login google, qor login google) uses Google AI Pro models via the official agy CLI with grouped /thinking levels, warm multi-turn sessions, and live coding text streaming. /providers refresh handles all providers uniformly.
  • Replies render Markdown and highlighted code fences while streaming, /help renders Markdown with the footer usage legend, and Bash commands get syntax coloring without hiding control characters in approvals.
  • Dragging across the transcript copies text (including over SSH in tmux) without toggling cards, and collapsed tool/thinking cards lazy-load their bodies on expand.
  • Search adds context=N and files_only=true; Up/Down browse prompt history at the first/last visual composer row; mask and recall resolve unambiguous step numbers within the current session.
  • Long-line edit previews focus on the changed portion, including after inserted or deleted lines. Job completion notices include exit codes when available.

New in 0.2.4

  • Optional Adaptive Context Management (ACM) lets the model choose completed steps to file with notes. Two heads-ups offer that choice before DCM makes room automatically. DCM stays the default. Enable ACM in /model edit or /providers edit.
  • The optional jobs plugin runs Bash commands in the background. Completion sends the model a short notice as steering when busy, or starts a turn when idle. An idle notice can incur a model charge. Enable it in /plugins; use /jobs to inspect or stop work. Jobs stop when the session ends.
  • /model filters lists longer than 12 models. Short lists shrink to fit. Enter switches models; Ctrl+S also saves the selection as your default.
  • OpenRouter has reported costs and credit information in /stats. The footer keeps partial cache and cost figures visible instead of hiding them when earlier replies lack usage data.
  • /resume restores the thinking level you chose for each model in a session. Session search returns as many ranked hits as fit its budget, with step numbers and recall IDs.

Requirements

  • Python 3.12 or newer.
  • An accessible OpenAI-compatible streaming chat endpoint and model, a Google AI Studio key for Gemini, or a ChatGPT account with access to its agent preview. qor does not download models or install a model server.
  • A terminal for interactive setup and the terminal interface.

Install

Install uv with pip (Linux / Bash)

uv can download Python 3.14 and install qor in an isolated environment. You do not need to replace your system Python, use sudo, or run an installer script from curl.

Using your existing Python and pip, install uv into your user account:

python3 -m pip install --user uv
export PATH="$HOME/.local/bin:$PATH"
uv --version

Add the export PATH line to ~/.bashrc if that directory is not already on your PATH. This makes both uv and qor available in new Bash terminals.

If pip reports an externally managed environment, use a user-owned virtual environment instead. Do not use sudo pip or --break-system-packages:

python3 -m venv "$HOME/.local/share/uv-venv"
"$HOME/.local/share/uv-venv/bin/python" -m pip install uv
export PATH="$HOME/.local/share/uv-venv/bin:$HOME/.local/bin:$PATH"
uv --version

For this alternative, add its export PATH line to ~/.bashrc. If your system Python lacks pip or venv support, ask your administrator to install those components through your OS package manager.

Install qor with Python 3.14

First, let uv download Python:

uv python install 3.14

Then choose one installation source.

From PyPI (the latest published release):

uv tool install --python 3.14 qor-harness

From a local wheel (for example, a build someone shared with you):

uv tool install --python 3.14 /path/to/qor_harness-VERSION-py3-none-any.whl

Replace the example path and VERSION with your wheel's actual filename. Extract the wheel first if it arrived inside a ZIP file. To replace an existing qor installation with the wheel, add --force to the install command. A shared development wheel may be newer than the release on PyPI.

Check the installation and start qor:

qor --version
qor

These commands leave your system Python unchanged. Downloads must be allowed by your network policy: uv needs a Python distribution, and even a local-wheel install normally downloads qor's dependencies. A wheel alone is not an offline installation bundle.

Other installation options

To try qor without installing it, run it with uvx:

uvx --python 3.14 --from qor-harness qor

uv keeps qor in its cache, so nothing lands on your PATH. The package and the command have different names, so uvx needs --from. Add ==0.2.5 after qor-harness to pick a version.

From an unpacked source distribution, run uv tool install --python 3.14 .. If you already have Python 3.12 or newer, you can use pipx (pipx install qor-harness) or install into an active virtual environment with pip install qor-harness. The executable is qor.

Get started

Start in the project directory:

qor

If no model is configured, qor guides you through registering models from an endpoint and choosing a default. To use your ChatGPT account, run qor login first; to use a Google AI Pro plan via agy, run qor login google. Plan access and Platform API keys have separate credentials and billing. For Gemini via an API key, pick Google AI Studio (Gemini API) and paste your key. See models and providers.

To use an already installed Ollama model without guided setup, for example:

qor --model gpt-oss:20b

Replace the model name with one available on your server. The default API root is http://127.0.0.1:11434/v1; use --base-url to choose another endpoint. Run qor models to list registered models, or qor models add to discover models from an endpoint. qor does not automatically import another tool's settings or credentials.

By default, the workspace is the directory where you start qor. Use --workspace /path/to/project to choose another directory. In coding mode, qor loads the workspace-root AGENTS.md, if present, as project guidance.

Tools and safety

Trusted mode is the default. The model can read and edit files and run shell commands without routine approval. Commands run with your OS permissions; Bash is not sandboxed. Run qor only with models, endpoints and projects you trust.

  • Start with qor --review to review edits and commands before they run in the terminal interface.
  • Start with qor --chat for chat-only mode without workspace tools.
  • Use /chat and /coding while idle to switch modes without losing the conversation.

The opening titles play the first time each new version runs. Any key skips them. Run qor --intro to see them again.

Review mode does not approve operations in headless runs: operations that need approval are denied instead.

In the terminal

Type a message and press Enter. Use Alt+Enter or Ctrl+J for a newline. Multiline drafts grow up to a third of the terminal height, then scroll. Sending returns the input to one line. Type / to see local commands. A few useful ones:

Command Action
/help Show keys, commands and footer usage details.
/chat, /coding Switch between chat-only planning and workspace tools.
/thinking [LEVEL] Pick or set reasoning effort.
/model Choose a registered model (/model edit, /model status).
/providers Manage providers, refresh metadata and discover models.
/plugins Turn optional tools and status plugins on or off.
/login, /logout Sign in or out (openai ChatGPT or google via agy).
/search WORDS Search this session, including saved tool output.
/recall ID Open a saved result.
/stats [SESSION] Show session usage and context-management activity.
/jobs List, tail or stop background commands.
/new Start a new session.
/resume Continue a saved session for this workspace, with the model it last used.
/compact Summarise older conversation history.
/mouse off Let your terminal select and copy text, in tmux too. /mouse on takes the mouse back.
/quit Exit qor.

Use Ctrl+C to cancel a run. During a run, you can send another message to steer the next response after the current tool batch.

Run one prompt

Configure a model first using the terminal interface or qor models add. Then:

qor --chat run "Explain this project"
qor --workspace /path/to/project run --jsonl "Inspect the failing test"

Without --jsonl, a headless run prints the final reply. With it, qor streams runtime events as JSON lines. Put shared options such as --chat, --review and --workspace before run; put --jsonl after it. Run qor --help and qor run --help for the available options. The source distribution also includes model setup and headless guides in release/docs/.

Sessions and context

qor stores settings and model registrations under ${XDG_CONFIG_HOME:-$HOME/.config}/qor/ and session journals under ${XDG_STATE_HOME:-$HOME/.local/state}/qor/sessions/. Original journal entries remain when older conversation history is compacted. Set an accurate model context window with /model edit to use automatic compaction effectively. To let the model pick which steps to file away first, turn on adaptive context management there, or for a whole provider in /providers edit (this can miss the prompt cache more often than default DCM).

A resumed session restores finished runs, and the finished steps of a run that was cancelled, failed or crashed. Nothing reruns by itself; a call that was still pending is marked as one that may or may not have run. Chat or coding mode is not saved with a session.

Known limits

  • ChatGPT access depends on your account's agent-preview access. It is separate from OpenAI Platform API-key billing.
  • When no context limit is known, qor assumes 64K for masking but does not automatically summarize. Set an accurate limit in /model edit when discovery cannot supply one.
  • Free-tier Gemini keys hit per-minute limits, and busy Gemini models can answer HTTP 503 or nothing at all. See models and providers.
  • The terminal interface is primarily tested on Linux. Dragging across the transcript copies via OSC 52, tmux load-buffer -w, and desktop clipboard tools when available, though clipboard forwarding depends on your terminal and tmux set-clipboard configuration; /mouse off lets your terminal select directly if needed.

License

Apache License 2.0.

Copyright © 2026 Gunnar Leffler.

Metadata

Release files for qor-harness 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qor-harness 0.2.6
File Size Uploaded Provenance Actions
qor_harness-0.2.6.tar.gz 315.3 kB Without provenance Details for qor_harness-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qor-harness 0.2.6
File Interpreter ABI Platform Actions
qor_harness-0.2.6-py3-none-any.whl Python 3 none any Details for qor_harness-0.2.6-py3-none-any.whl

Total release size: 683.0 kB

Release files / qor_harness-0.2.6.tar.gz

Download URL qor_harness-0.2.6.tar.gz
Size 315.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ffd97614736d7f8bf50415f873f65fa8cc32836e249be952839b66063a43a2dc
BLAKE2b-256 checksum
How to use checksums
2ee4ef2372b573f4b49a47a03c632c4324673558e8bf05f80fbe1b1e49d1e64d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / qor_harness-0.2.6-py3-none-any.whl

Download URL qor_harness-0.2.6-py3-none-any.whl
Size 367.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57d399c5dd082810a2507cbf35b1707647e5f39b0f3539609dc4ac2f29f82cc8
BLAKE2b-256 checksum
How to use checksums
2d1c970c13a17efa1206747674327a01cb849d49dfc888323a0ab4620e6c01db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for qor-harness 0.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page