Skip to main content
Glama
README.md
<p align="center">
  <img src="docs/assets/qorx-readme-hero.jpg" width="100%" alt="You don't code too much. Your AI reads too much. In our test on a public project, the whole file was 6,535 tokens and Qorx sent 975.">
</p>

<h1 align="center">qorx</h1>

<p align="center"><b>your AI doesn't need to read the whole file.<br>qorx finds the right lines first.</b></p>

i kept hitting my limit on Claude Code and Codex. i'd paste one error and it would read the whole file again, when the answer was 3 lines.

so i built qorx. it maps your project on your PC and hands your AI the lines that answer the question, with the file name and line number so you can open them and check.

**In our test on the public Express repo, one question took 6,535 tokens with the whole file. Qorx sent 975.**

Free and open source. Windows, macOS and Linux. Works with Claude Code, Codex, OpenCode and Antigravity (beta).

## Install

**Windows**, with [Scoop](https://scoop.sh):

```powershell
scoop bucket add qorx https://github.com/bbrainfuckk/scoop-qorx
scoop install qorx/qorx
```

**macOS**, Apple silicon:

```sh
curl -fsSL https://github.com/bbrainfuckk/qorx/releases/download/v1.0.7/qorx-v1.0.7-macos-arm64.tar.gz | tar xz -C /tmp
sudo mkdir -p /usr/local/bin && sudo mv /tmp/qorx /usr/local/bin/
```

On an Intel Mac use `macos-x64` instead of `macos-arm64`. On **Linux** use `linux-x64` or `linux-arm64`. Every download is on the [1.0.7 release](https://github.com/bbrainfuckk/qorx/releases/tag/v1.0.7).

## Connect it to your AI

```sh
qorx install -p claude        # Claude Code
qorx install -p codex         # Codex
qorx install -p opencode      # OpenCode
qorx install -p antigravity   # Antigravity (beta)
```

Then map your project once:

```sh
cd your-project
qorx index .
```

Restart your AI tool and ask it something about your code, like "where is this error coming from?". It can now ask Qorx for the lines instead of reading whole files.

**Claude Desktop:** download [qorx-1.0.7.mcpb](https://github.com/bbrainfuckk/qorx/releases/download/v1.0.7/qorx-1.0.7.mcpb) and open it to install Qorx in one click (Windows x64, macOS on Apple silicon, Linux x64).

## Rather not use the terminal?

**Qorx Void** is the Windows app. It sets everything up for you, keeps your project map current as you work, and shares notes and skills between your AI tools. 1-day free trial, then $15 a month plus tax.

<a href="https://apps.microsoft.com/detail/9NDC66CH9VL8?mode=direct&cid=qorx_github_readme">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://get.microsoft.com/images/en-us%20light.svg">
    <img src="https://get.microsoft.com/images/en-us%20dark.svg" width="200" alt="Download Qorx Void from the Microsoft Store">
  </picture>
</a>

---

## Under the hood: the Qorx language

**An evidence-first, quantum-inspired programming language for humans and AI
agents.**

Born from the study of classical and quantum information, quantum chaos,
combinatorial optimization, proof-carrying semantics, cryptographic
provenance, and retrieval-augmented memory, Qorx transforms vast context into
compact, traceable evidence—helping intelligent systems use fewer tokens, cite
their sources, and refuse unsupported claims.

> **Local-first. Provider-agnostic. Built for the 21st century.**

AI tools repeatedly receive the same repositories, notes, logs, policies, and
project rules. Qorx keeps that repeated context local, sends a small carrier,
and retrieves exact cited lines only when a task needs them. Plain `.qorx`
source compiles to checked bytecode with explicit evidence budgets and refusal
when the available material cannot support an answer.

Qorx 1.0.7 runs deterministic classical algorithms on ordinary computers.
Quantum information, quantum-inspired optimization, and quantum chaos are
research influences; Qorx does not require quantum hardware.

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19875352.svg)](https://doi.org/10.5281/zenodo.19875352)
[![Preprint DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19953308.svg)](https://doi.org/10.5281/zenodo.19953308)
[![Software Heritage](https://img.shields.io/badge/Software%20Heritage-archived-ff6600)](https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://github.com/bbrainfuckk/qorx)
[![License: AGPL-3.0-only](https://img.shields.io/github/license/bbrainfuckk/qorx?color=blue)](LICENSE)
[![Rust stable](https://img.shields.io/badge/rust-stable-orange?logo=rust)](https://www.rust-lang.org/)

## More ways to install, and every command

Download a ready-made build for Windows, Linux or macOS (x64 and ARM64) from the
[1.0.7 release](https://github.com/bbrainfuckk/qorx/releases/tag/v1.0.7), or install from the source tag:

```sh
cargo install --git https://github.com/bbrainfuckk/qorx --tag v1.0.7 --locked qorx
qorx --version
```

Then index a workspace and ask for grounded local evidence:

```sh
qorx doctor
qorx daemon start
qorx index .
qorx map "which files control authentication?"
qorx strict-answer "which files control authentication?"
qorx eco --local-tokens 13200000 --sent-tokens 8
```

New in 1.0.7: share skills between Claude Code, Codex, Antigravity and OpenCode on
your computer with `qorx skills share` (see the [1.0.7 notes](docs/releases/v1.0.7.md)).

The local monitor listens at `http://127.0.0.1:47187/monitor` by default. See
the [installation guide](docs/INSTALL.md) for release binaries and package
recipes across Windows, Linux, macOS, x64, and ARM64. If a registry package is
not yet live at version 1.0.7, use the source install above.

### Connect an MCP client

The open-source Qorx CLI includes a [Model Context Protocol server](src/mcp.rs).
Configure your client's stdio transport with `qorx` as the command and `["mcp"]`
as its arguments. The client launches `qorx mcp` and exchanges messages over
standard input and output. For example, in a client that uses `mcpServers`:

```json
{
  "mcpServers": {
    "qorx": { "command": "qorx", "args": ["mcp"] }
  }
}
```

To check the protocol from a source checkout, run
`cargo test --locked --test mcp_stdio`. The [integration test](tests/mcp_stdio.rs)
starts the CLI, sends `initialize`, and requests `tools/list`.

## What Qorx changes

```text
repo + notes + rules + logs
            |
            v
      Qorx stays local
            |
            v
 small carrier + exact cited lines
            |
            v
     human or AI agent
```

## Measured proof

Two public proof surfaces are kept separate so the large product run is not
confused with the reproducible repository run.

| Proof | Result | Boundary |
| --- | ---: | --- |
| AMD MI300X product run | **13,199,246.07x** average carrier reduction; **0.8974 ms** average local-core latency | 184,789,445 indexed tokens, 14.0-token average carrier, GPT-OSS 120b-ROCm7, 192 GB VRAM. Local core only—not model inference or a universal quality claim. |
| Qorx 1.0.6 repository run | **5,904.23x** session; **993.64x** pack; **909.36x** squeeze | 407,392 local `ceil(chars / 4)` estimated tokens; generated by the committed benchmark script with zero provider calls. |
| DataCamp + OpenAI `gpt-4o-mini` | **80.90x** fewer provider-reported input tokens; **3/3** correct with full and Qorx context | 65,850 full-context input tokens versus 814 with Qorx across three synthetic questions. Median local pack time 11.82 ms. Small sequential check; not a universal cost, latency, or quality claim. |
| DataCamp + Anthropic `claude-sonnet-4-6` | **80.43x** fewer provider-reported input tokens; **3/3** correct with full and Qorx context | 77,458 full-context input tokens versus 963 with Qorx across the same three questions. Median local pack time 14.03 ms. Small sequential check; not a universal cost, latency, or quality claim. |
| AMD ACT II agent score | **Rank 106**, **78.9% accuracy**, **9,382 tokens** | Public event leaderboard result, separate from the context-reduction benchmarks. |

The 1.0.6 repository run passed both strict checks: supported local evidence was
returned and an unsupported question was refused. Inspect the
[human-readable report](docs/benchmarks/live.md), [machine-readable proof](docs/benchmarks/live.json),
[exact runner](scripts/run-benchmark.py), and [scoped comparison board](docs/void/benchmarks.md#comparison-board).

The provider check used the same corpus, questions, evidence budget, refusal
rule, and deterministic scoring for both conditions. Inspect its
[methodology and caveats](docs/benchmarks/datacamp-provider-comparison-2026-07-22.md),
[normalized raw capture](docs/benchmarks/datacamp-provider-comparison-2026-07-22.json),
and [reproduction notebook](notebooks/Qorx_1_0_6_DataCamp_Providers.ipynb).

The separate [compact-kernel contract](docs/KERNEL_1_0_6.md) records six native
x64/ARM64 CI artifacts from 0.21 to 0.39 MiB. Those are compact offline-kernel
artifacts, not the full Windows x64 CLI; the local 1.0.6 release build of that
CLI measured 4.65 MiB.

The AMD result is the largest published numeric factor among the ten closest
public reduction references reviewed for the comparison board. It is not a
matched comparison win: the systems used different corpora, hardware, tasks,
outputs, and quality gates. See
[how to read the claim](docs/void/benchmarks.md#how-to-read-the-board).

## Published benchmark comparison

This is the scoped ten-system comparison behind that statement. The entries
report each project's own published measurement; they are not reruns on a
shared corpus or hardware stack.

| Closest reference | Published reference metric | Why the comparison is limited |
| --- | --- | --- |
| [LLMLingua](https://www.microsoft.com/en-us/research/project/llmlingua/) | Up to 20x prompt compression with minimal performance loss. | Learned prompt compression is not local carrier resolution. |
| [LongLLMLingua](https://arxiv.org/abs/2310.06839) | 4x compression, a reported 17.1% performance gain, and 1.4x–3.8x latency speedup. | The paper evaluates long-context prompting, not a persistent local index. |
| [LLMLingua-2](https://arxiv.org/abs/2403.12968) | Evaluated at 2x–5x compression and reported 3x–6x faster compression than earlier methods. | Its compression and latency boundaries differ from Qorx's local core path. |
| [Active Context Compression](https://arxiv.org/abs/2601.07190) | 22.7% token reduction on a five-task SWE-bench Lite experiment while retaining the same 3/5 resolution count. | Small-sample agent pruning, not a carrier-to-index ratio. |
| [Gist Tokens](https://arxiv.org/abs/2304.08467) | Up to 26x prompt compression, up to 40% FLOPs reduction, and 4.2% wall-clock reduction. | Learned soft tokens require model support; Qorx emits inspectable local evidence. |
| [Context Mode](https://context-mode.com/) | Up to 98% context reduction; its 50-turn example reports 30x fewer tokens. | Product examples are not a matched Qorx benchmark corpus. |
| [LeanCTX](https://leanctx.com/how-it-works/) | Illustrates about 100K tokens becoming a roughly 5K map, reports 60%–90% less context noise, and roughly 13-token re-reads. | Repository maps and cached re-reads are different output objects from a Qorx carrier. |
| [sqz](https://github.com/ojuschugh1/sqz) | Reports 24.7% average savings over 3,003 compressions, up to 92% on repeated file reads, and 13-token references. | Tool-output caching and compression are not the same operation as local evidence resolution. |
| [indxr](https://docs.rs/crate/indxr/latest) | Reports about 5x fewer tokens than full-file reads and sub-20 ms indexing for most projects. | Indexing time is not comparable to Qorx's measured query-side local core latency. |
| [Codebase-Memory](https://arxiv.org/abs/2603.27277) | Reports ten times fewer tokens and 83% answer quality versus 92% for its file-exploration agent across 31 repositories. | It measures graph-assisted code exploration; Qorx reports a different carrier and scorecard. |

Within the disclosed AMD carrier measurement, Qorx's **13,199,246.07x** factor
is numerically larger than the published factors above. That is the narrow
claim: it is not a head-to-head win and does not establish better answer
quality. The full [comparison board](docs/void/benchmarks.md#comparison-board)
and [60-item landscape](docs/void/benchmarks.md#reviewed-reference-landscape-60-items)
preserve the wider methodology and scope.

## Research lineage and inspirations

Qorx is independently authored. The works below are the public intellectual,
engineering, evaluation, and comparison lineage—not contributors, bundled
code, affiliations, or endorsements.

| Area | Works and systems reviewed |
| --- | --- |
| Foundations | [Shannon, *A Mathematical Theory of Communication*](https://doi.org/10.1002/j.1538-7305.1948.tb00917.x); [Necula, *Proof-Carrying Code*](https://doi.org/10.1145/263699.263712); [Lewis et al., *Retrieval-Augmented Generation*](https://papers.neurips.cc/paper/2020/file/6b493230205f780e1bc26945df7481e5-Paper.pdf); [ReAct](https://arxiv.org/abs/2210.03629); [MemGPT](https://arxiv.org/abs/2310.08560); [*Lost in the Middle*](https://arxiv.org/abs/2307.03172); [Farhi, Goldstone, and Gutmann, QAOA](https://arxiv.org/abs/1411.4028); [Bohigas–Giannoni–Schmit quantum-chaos work](https://doi.org/10.1103/PhysRevLett.52.1); [Lorenz, *Deterministic Nonperiodic Flow*](https://doi.org/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2); [NIST FIPS 180-4](https://csrc.nist.gov/pubs/fips/180-4/upd1/final); [NIST FIPS 204](https://csrc.nist.gov/pubs/fips/204/final). |
| Languages, compilers, and formats | [Rust](https://github.com/rust-lang/rust); [Zig](https://github.com/ziglang/zig); [TempleOS/HolyC](https://github.com/cia-foundation/TempleOS); [ZealOS](https://github.com/Zeal-Operating-System/ZealOS); [TinyCC](https://github.com/TinyCC/tinycc); [QBE](https://c9x.me/compile/); [LLVM/Clang](https://github.com/llvm/llvm-project); [Wasmtime/Cranelift](https://github.com/bytecodealliance/wasmtime/tree/main/cranelift); [GNU Mes](https://www.gnu.org/software/mes/); [bootstrap-seeds](https://github.com/oriansj/bootstrap-seeds); [WebAssembly core specification](https://webassembly.github.io/spec/core/); [Tree-sitter](https://github.com/tree-sitter/tree-sitter); [Language Server Protocol](https://github.com/microsoft/language-server-protocol); [Protocol Buffers](https://github.com/protocolbuffers/protobuf); [C2PA](https://github.com/contentauth/c2pa-rs). |
| Context reduction and local indexing | [LLMLingua](https://www.microsoft.com/en-us/research/project/llmlingua/); [LongLLMLingua](https://arxiv.org/abs/2310.06839); [LLMLingua-2](https://arxiv.org/abs/2403.12968); [Active Context Compression](https://arxiv.org/abs/2601.07190); [CodePromptZip](https://arxiv.org/abs/2502.14925); [Gist Tokens](https://arxiv.org/abs/2304.08467); [Context Mode](https://context-mode.com/); [LeanCTX](https://leanctx.com/how-it-works/); [sqz](https://github.com/ojuschugh1/sqz); [indxr](https://docs.rs/crate/indxr/latest); [Aider repository map](https://aider.chat/docs/repomap.html); [Repomix](https://repomix.com/guide/configuration); [gitingest](https://github.com/cyclotruc/gitingest); [MInference](https://arxiv.org/abs/2407.02490); [QVCache](https://arxiv.org/abs/2602.02057). |
| Memory, retrieval, and caching | [Kortex by Arjay](https://github.com/H4D3ZS/kortex); [ReACC](https://aclanthology.org/2022.acl-long.431/); [GraphCoder](https://arxiv.org/abs/2406.07003); [GraphRAG survey](https://arxiv.org/abs/2501.00309); [GraphRAG-R1](https://arxiv.org/abs/2507.23581); [MMGraphRAG](https://arxiv.org/abs/2507.20804); [MegaRAG](https://arxiv.org/abs/2512.20626); [M³KG-RAG](https://arxiv.org/abs/2512.20136); [Codebase-Memory](https://arxiv.org/abs/2603.27277); [AtomMem](https://arxiv.org/abs/2601.08323); [AgeMem](https://arxiv.org/abs/2601.01885); [Titans](https://arxiv.org/abs/2501.00663); [TokMem](https://arxiv.org/abs/2510.00444); [Structural Memory](https://arxiv.org/abs/2412.15266); [H-MEM](https://arxiv.org/abs/2507.22925); [HiMem](https://arxiv.org/abs/2601.06377); [TierMem](https://arxiv.org/abs/2602.17913); [GAM](https://arxiv.org/abs/2604.12285); [RAGCache](https://arxiv.org/abs/2404.12457); [Cache-Craft](https://arxiv.org/abs/2502.15734); [Preble](https://arxiv.org/abs/2407.00023); [similarity caching for language models](https://arxiv.org/abs/1912.03888); [TurboQuant](https://arxiv.org/abs/2504.19874). |
| Evaluation | [BEIR](https://github.com/beir-cellar/beir); [MTEB](https://github.com/embeddings-benchmark/mteb); [RULER](https://github.com/NVIDIA/RULER); [LongBench](https://github.com/THUDM/LongBench); [SWE-bench](https://github.com/SWE-bench/SWE-bench); [SWE-agent](https://github.com/SWE-agent/SWE-agent); [CodeSearchNet](https://github.com/github/CodeSearchNet); [Terminal-Bench](https://github.com/laude-institute/terminal-bench); [OSWorld](https://github.com/xlang-ai/OSWorld); [GDPval](https://openai.com/index/gdpval/); [FEVER](https://fever.ai/); [SQuAD 2.0](https://rajpurkar.github.io/SQuAD-explorer/); [HotpotQA](https://hotpotqa.github.io/); [Needle In A Haystack](https://github.com/gkamradt/LLMTest_NeedleInAHaystack); [RAGChecker](https://arxiv.org/abs/2408.08067). |
| Protocols, tools, and infrastructure | [Model Context Protocol](https://modelcontextprotocol.io/); [Claude Code memory](https://docs.anthropic.com/en/docs/claude-code/memory); [Gemini CLI `GEMINI.md`](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/gemini-md.md); [Cursor codebase indexing](https://docs.cursor.com/context/codebase-indexing); [LlamaIndex](https://docs.llamaindex.ai/); [Haystack](https://docs.haystack.deepset.ai/); [LangGraph](https://langchain-ai.github.io/langgraph/); [Pinecone](https://docs.pinecone.io/); [Qdrant](https://qdrant.tech/documentation/); [Weaviate](https://docs.weaviate.io/); [OpenAI prompt caching](https://platform.openai.com/docs/guides/prompt-caching); [Anthropic prompt caching](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching); [Gemini context caching](https://ai.google.dev/gemini-api/docs/caching/). |
| Environmental accounting | [IEA, *Energy and AI*](https://www.iea.org/reports/energy-and-ai/executive-summary); [Lawrence Berkeley National Laboratory, *2024 United States Data Center Energy Usage Report*](https://eta-publications.lbl.gov/sites/default/files/2024-12/us_data_center_energy_usage_report_lbnl-2001637_0.pdf); [*SweetSpot*](https://arxiv.org/abs/2602.05695); [*Towards Green AI*](https://arxiv.org/abs/2602.05712). |

Every item is linked and scoped in the [reference-source map](docs/REFERENCE_PAPERS.md),
[research and compiler map](docs/research.md), or the
[60-item audited landscape](docs/void/benchmarks.md#reviewed-reference-landscape-60-items).
Those pages explain what influenced Qorx, what is merely adjacent, and what can
be compared numerically.

## Why Qorx exists

> I built Qorx after reading thousands of papers across information theory,
> retrieval, compilers, formal methods, cryptography, agent memory, optimization,
> quantum information, nonlinear dynamics, and energy-aware computing. The goal
> was practical: make useful AI cheaper and accessible to more people without
> making every request reprocess the same material.
>
> — Marvin Sarreal Villanueva

Qorx turns that research into ordinary local software. Its engineering draws
directly from classical information theory, information retrieval, programming
languages, proof-carrying systems, authenticated provenance, and local runtime
design. Quantum information, quantum-inspired optimization, and quantum chaos
are conceptual influences on its vocabulary and design questions. Qorx 1.0.7
runs deterministic classical algorithms on ordinary computers; it does not run
a quantum algorithm or require quantum hardware.

| Research area | Public Qorx connection |
| --- | --- |
| Classical information theory | Select useful evidence under a visible token budget. |
| Certified compilation and proof-carrying semantics | Check source, bytecode integrity, citations, and evidence boundaries. |
| Quantum-inspired combinatorial optimization and operations research | Treat local evidence selection as a constrained portfolio problem. |
| Retrieval-augmented agent memory | Reuse indexed local knowledge and retrieve only what the task needs. |
| Cryptographic provenance and local runtime architecture | Bind local records to hashes, receipts, and explicit ownership boundaries. |
| Nonlinear dynamics and quantum chaos | A research lens for stability and sensitivity, not an implemented physics model. |
| Energy-aware computing | Avoid unnecessary repeated model-bound input and calculate impact scenarios from user-supplied factors. |

The physics words are operational names, not claims about particles. A **quark**
is a bounded, hashed evidence chunk. A **carrier** or **photon** is the small
model-visible object selected from local state. **Hot**, **penumbra**, and
**abyss** name resident, semi-active, and cold local storage layers. **Prism** is
the planning term for splitting one objective into agent-ready packs. Hot and
cold are storage metaphors, not quark flavours or temperature measurements.

See the [research map](docs/research.md), [reference sources](docs/REFERENCE_PAPERS.md),
and [science and mathematics boundary](docs/SCIENCE_AND_MATH.md).

## The product family

| Name | What it is |
| --- | --- |
| **Qorx** | The open language, compiler, portable bytecode runtime, and local evidence tools in this repository. |
| **Qorx Void** | The private local project-memory product. This repository publishes [Void documentation](docs/void/README.md), not Void source or proprietary internals. |
| **Qorx Zero** | Four clean-room hackathon applications that demonstrate bounded local evidence, memory, and routing without using private Qorx Void code. |

## The language

Qorx source is meant to be readable by a person and deterministic enough for an
agent to generate, check, compile, and inspect.

```qorx
QORX 1
use std.evidence
use std.branch as br

let question = "which files define the release boundary?"
let fallback = "local evidence does not support this answer"

pack evidence from question budget 700
cache evidence key question ttl 3600
strict answer from evidence limit 2
if supported(answer) then emit answer else emit fallback
```

```sh
qorx qorx-check goal.qorx
qorx qorx-compile goal.qorx --out goal.qorxb
qorx qorx goal.qorxb
qorx qorx-inspect goal.qorxb
```

The implementation path is explicit:

1. The parser and semantic checker validate `.qorx` source.
2. The compiler lowers the source through an AST and QIR.
3. The compiler emits integrity-checked `.qorxb` bytecode.
4. The local runtime executes supported instructions and resolves cited evidence.
5. Unsupported claims can be refused instead of filled with invented context.

The 1.0.7 compiler is bootstrapped in Rust. Qorx is not described as
self-hosted until the stage-1 and stage-2 reproducibility gate passes. See
[Self-hosting](docs/SELF_HOSTING.md).

## Qorx Void

Qorx Void keeps project memory beside the work. Repositories, notes,
instructions, logs, policies, and prior decisions remain available locally;
the current task receives a compact proof-shaped frame and can request narrower
source lines when needed.

**Qorx Void for Windows is in the [Microsoft Store](https://apps.microsoft.com/detail/9NDC66CH9VL8?mode=direct).** It connects Codex, Claude Code and OpenCode to one local map of your project, so your AI gets the few lines that answer its question instead of whole files. New in version 1.0.35.0 (21 November 2026):

- **Shared notes:** Codex, Claude Code and OpenCode can save notes and decisions about a project and recall them later. Notes stay on your PC, each kept to its own project.
- **Shared skills:** a skill folder added to one AI tool is copied to the others on your PC. Qorx marks its copies and never changes your own skills; edit a copy and it becomes yours.
- **A simpler window:** whether Qorx is working, your projects and your saved notes.

Free 24-hour trial, then $15 a month plus tax. Watch the [three-minute film](https://youtu.be/FZGEr7GXuTI).

The public handbook documents:

- the user-visible workflow and local security boundary;
- all public CLI and MCP tools used by Void operators;
- supported agent integrations;
- the measured AMD MI300X results and comparison board;
- exactly what is and is not published in this repository.

It does **not** publish Qorx Void source, private algorithms, prompts, signing
operations, account infrastructure, release procedures, or proprietary
implementation details.

Start with the [Qorx Void handbook](docs/void/README.md), then see the
[complete tool surface](docs/void/tools.md) and [benchmark evidence](docs/void/benchmarks.md).

## Qorx Zero at four hackathons

Each Qorx Zero edition is an independently runnable clean-room application. It
demonstrates some combination of local records, capped proof frames, expiry and
forgetting, inspectable source hashes, and deterministic local-first routing.

Qorx is a one-man team led by its creator, **Marvin Sarreal Villanueva**.

| Hackathon edition | What it demonstrated | Links |
| --- | --- | --- |
| **NamasteDev Hackathon** | Device-local IndexedDB memory, bounded recall, and an OpenAI Responses API adapter. | [Repository](https://github.com/bbrainfuckk/qorx-zero-namaste) · [Live demo](https://bbrainfuckk.github.io/qorx-zero-namaste/) · [Video](https://youtu.be/NjWIGFTAFok) |
| **Qwen Cloud Global AI Hackathon, Track 1: MemoryAgent** | Persistent local memory, TTL and forgetting, proof-supported learning, and a Qwen Cloud adapter through Alibaba Cloud Model Studio. | [Repository](https://github.com/bbrainfuckk/qorx-zero-qwen-memory) |
| **OpenAI Build Week** | Local proof frames, visible recall scores, Codex build evidence, and a GPT-5.6 Terra Responses API adapter. | [Repository](https://github.com/bbrainfuckk/qorx-zero-build-week) · [Live demo](https://qorx-zero-build-week.omniscius.workers.dev) · [Video](https://youtu.be/GBPWgpuye-Q) |
| **AMD Developer Hackathon: ACT II, T1 General-Purpose AI Agent** | Ranked **106** on the AMD automated scoring leaderboard with **78.9% accuracy** and **9,382 tokens**. Submitted July 13, 2026 at 04:57 GMT+8 and scored at 11:44 GMT+8. The event recorded 20,728 participants across 4,892 teams and was marked as judging in progress when this result was documented. | [Submission](https://lablab.ai/submissions/d043jqk70ns3skwd28sjpyt4) · [Leaderboard](https://lablab.ai/ai-hackathons/amd-developer-hackathon-act-ii/live) · [Event](https://lablab.ai/ai-hackathons/amd-developer-hackathon-act-ii) |

The Qorx Zero repositories do not contain or depend on private Qorx Void
source, compiler internals, binaries, or private datasets.

## Environmental accounting

One reason to keep repeated context local is to avoid unnecessary model-bound
input. Transformer inference has a prefill phase that processes input context,
and recent measurements show that energy behaviour depends on input length,
output length, model, hardware, and serving conditions. Reducing repeated input
can therefore reduce work in some deployments, but it does not produce a
universal energy, CO2e, or water conversion.

`qorx eco` reports supplied token counts and reduction arithmetic locally. It
only calculates energy, CO2e, or water scenarios when you provide factors for
the hardware, workload, electricity source, cooling system, and reporting
boundary.

```sh
qorx eco --local-tokens 13200000 --sent-tokens 8
```

The command makes no network call and does not invent a universal
tokens-to-impact conversion. Its stable output contract is
[`qorx.eco.v1`](schemas/qorx.eco.v1.schema.json). The method and primary
environmental references are in [Environmental accounting](docs/benchmarks.md#environmental-accounting).

## Build and verify

```sh
cargo fmt --check
cargo test --locked
cargo clippy --all-targets -- -D warnings
cargo build --release --locked
```

Useful proof commands:

```sh
qorx doctor --json
qorx index .
qorx session
qorx context verify
qorx security attest
qorx ground "release proof" --answer "Qorx is on 1.0.7."
```

## Documentation

| Area | Start here |
| --- | --- |
| Language and compiler | [Language handbook](docs/handbook/language.md) · [Self-hosting boundary](docs/SELF_HOSTING.md) |
| Qorx Void | [Void handbook](docs/void/README.md) · [Tools](docs/void/tools.md) · [Benchmarks](docs/void/benchmarks.md) |
| Installation and commands | [Install](docs/INSTALL.md) · [Command guide](docs/COMMANDS.md) · [Manual](docs/MANUAL.md) |
| Metrics and science | [Metrics](docs/METRICS.md) · [Science](docs/SCIENCE.md) · [SAFE-R](docs/SAFE-R.md) · [Technical credibility](docs/TECHNICAL_CREDIBILITY.md) |
| Security and production | [Security](SECURITY.md) · [Production status](docs/PRODUCTION.md) · [Void release boundary](docs/void/release-boundary.md) |
| Release | [Qorx 1.0.7 notes](docs/releases/v1.0.7.md) · [1.0.6](docs/releases/v1.0.6.md) · [Distribution](docs/DISTRIBUTION.md) |

## Credits and acknowledgements

Qorx was created and is maintained by **Marvin Sarreal Villanueva** as a
one-man team. If you use or cite it, see [CITATION.cff](CITATION.cff) and the
[Qorx Local Context Resolution preprint](https://doi.org/10.5281/zenodo.19953308).

Research authors, projects, standards, and comparison systems are cited where
their work is discussed in the [research map](docs/research.md),
[reference-source map](docs/REFERENCE_PAPERS.md), and
[audited comparison landscape](docs/void/benchmarks.md#reviewed-reference-landscape-60-items).
They are citations, not Qorx contributors, affiliations, or endorsements.

Thanks also to AMD and ROCm, Lablab.ai, Fireworks AI, OpenAI Build Week, Qwen
Cloud and Alibaba Cloud, Devpost, and NamasteDev for the hardware, tools, or
event settings used in the published hackathon work. No endorsement is implied.

The cover combines the Qorx identity with Jan Matejko's 1873 painting
[*Astronomer Copernicus, or Conversations with God*](https://commons.wikimedia.org/wiki/File:Jan_Matejko-Astronomer_Copernicus-Conversation_with_God.jpg),
a public-domain work.

Copyright (c) 2026 Marvin Sarreal Villanueva. Code and operational
documentation are licensed under [AGPL-3.0-only](LICENSE). See
[CONTRIBUTING](CONTRIBUTING.md), [GOVERNANCE](GOVERNANCE.md), and
[TRADEMARKS](TRADEMARKS.md).