Real tools
read, search, edit, write,
fetch and bash, or pwsh on Windows. fetch
reads web pages as Markdown and shows images right in the transcript.
pipx install qor-harness
Core strength for your agents. Your tests. Your models.
qor harness puts a coding agent where you already work: in the terminal, with your project in front of it. It's pronounced “core”.
Linux, macOS and Windows 11 · Python 3.12 or newer ·
or uv tool install qor-harness
http://127.0.0.1:11434/v1, choose a default model and start.Not another pile of code to copy out of a chat window. qor gives the model tools to try the change, and a test suite that doesn't care how confident the answer sounds. Read the code. Make the change. Run the tests. Keep moving.
$ pipx install qor-harness
$ cd /path/to/your/project
$ qor
The first launch walks you through connecting a model and choosing a default. Bring a model server you already run, or an account you already have. qor never downloads a model or installs a server behind your back.
Then give it a real job:
Find out why this test is failing. Read the relevant code, make the smallest fix, and run the test again. Tell me what changed and what you checked.
qor starts in your project directory and reads its AGENTS.md. When a
test fails again, the failure goes straight back to the model for the next try, and you see
the command and its output as it happens.
read, search, edit, write,
fetch and bash, or pwsh on Windows. fetch
reads web pages as Markdown and shows images right in the transcript.
If a two-line fix starts turning into a refactor, type a follow-up. It reaches the model after the current step. Esc or Ctrl+C stops the run.
Long builds and test suites run in the background without holding up the conversation.
qor tells the model when they finish. /jobs shows the log.
Every session is saved as it goes. /resume brings one back, including the
finished steps of a run you cancelled.
qor run "Explain how to run this project's tests." prints the final reply.
Add --jsonl to stream every event to a script.
Turn on web search (DuckDuckGo, SearXNG or Brave) in /plugins, or write
your own tools and status lines in plain Python.
You know the story. Your local model is close to a solution, and then: compaction time. See you in a few minutes, and the model has forgotten what it just learned.
Coding sessions collect baggage: test output, file listings, the same file read three times. It's useful when it arrives and dead weight in every request after. The usual fix asks the model to summarize the conversation. That costs a request, and the summary can drop the one error message you need later. qor files the old output away instead.
DCM turns older tool output into a one-line note with a recall ID. A 400-line test run
becomes a stub, and the full text stays in the session journal, one recall
away. Filing costs no model request, and your messages and the model's replies never
change.
ACM lets the model choose. As context fills, qor gives it a heads-up to pick what to file
away. The model's own note and the recall ID stay in view. If that isn't enough, DCM clears
more space. Turn it on per model in /model edit.
Three models, an in-depth task and a small context. Each fixed two bugs in a sample inventory app, added features to a spec and wrote tests. The last prompt asked for a report from the session: the original test failures word for word, the numbers, and every changed file.
| Model | Mode | Requests | Uncached input + output | Time | Report correct |
|---|---|---|---|---|---|
| Qwen 3.8 27B IQ3 | Traditional compaction | 77 | 681K | 1h 16m | 0/1 |
| Qwen 3.8 27B IQ3 | DCM | 60 −22% | 220K −68% | 23m 15s −69% | 1/1 pass |
| Qwen 3.8 27B IQ3 | ACM | 49 −36% | 230K −66% | 25m 58s −66% | 1/1 pass |
| Particle-1 | Traditional compaction | 77 | 240K | 4m 26s | 2/3 |
| Particle-1 | DCM | 65 −16% | 203K −15% | 3m 38s −18% | 3/3 +33 pp |
| Particle-1 | ACM | 65 −16% | 158K −34% | 3m 54s −12% | 3/3 +33 pp |
| GPT-6.1 Terra | Traditional compaction | 45 | 132K | 4m 46s | 3/3 |
| GPT-6.1 Terra | DCM | 41 −9% | 73K −45% | 3m 13s −33% | 3/3 |
| GPT-6.1 Terra | ACM | 39 −13% | 86K −35% | 3m 20s −30% | 3/3 |
Traditional compaction burned 232K output tokens on 12 summaries for Qwen
and still lost both original test failures. DCM and ACM both got the report right.
/search finds anything in a session, even after it's filed, and /recall
opens the original.
qor isn't tied to one vendor. Pick a model on first launch, add more with
/providers add, and switch mid-conversation with /model.
127.0.0.1:11434. No key. qor finds your models and what they support.llama-server on 127.0.0.1:8080, or behind an HTTPS proxy or a router.OPENAI_API_KEY.GEMINI_API_KEY.OPENROUTER_API_KEY. /stats shows costs and credit left.qor login signs in with your ChatGPT account. Your subscription, not API billing.qor login google runs through the official agy CLI. No API key.qor runs with your user account's permissions. By default it edits files and runs commands without asking each time. For a more careful first run:
$ qor --review
Review mode shows the full diff or command before it runs, and you approve or deny it. It is
not a sandbox. qor --chat turns workspace tools off for planning.
With a hosted model, file excerpts and command output in the model's context go to that provider, and the local session journal keeps them too. Keep that in mind before you point qor at a project with secrets.
/model/thinking/resume/search/recall/stats/jobs/plugins/chat, /coding/pasteType / for the full menu, and /help for keys.
pipx install qor-harness
Already installed? pipx upgrade qor-harness. Want the opening titles
again? qor --intro.