GPUIX provides React and TypeScript bindings for GPUI, a GPU-accelerated framework for building native desktop interfaces. Developers use it to create memory-efficient desktop applications whose React components render through Metal, DirectX, or Vulkan without Electron or web views.
Borrowing it
Nothing to install: this file belongs to remorses/gpuix. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/remorses/gpuix/main/AGENTS.mdgit clone --depth 1 https://github.com/remorses/gpuixWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/remorses/gpuix/agents-md)<a href="https://agentmods.dev/instructions/remorses/gpuix/agents-md"><img src="https://agentmods.dev/badge/instructions/remorses/gpuix/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/remorses/gpuix/agents-md"><img src="https://agentmods.dev/badge/instructions/remorses/gpuix/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.18310 | $0.18310 |
| Opus 5.5 | $0.07324 | $0.07324 |
| Sonnet 5.5 | $0.03662 | $0.03662 |
| Haiku 4.5 | $0.01831 | $0.01831 |
Grade A, and why
gpuix AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 1,541 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - GPUIX Codebase Guide
Read README.md first to understand what GPUIX is, the architecture, mutation API, event flow, supported elements/events/styles, and the test renderer.
Unless you are remorses or monotykamary, do not open a pull request. Open an issue. See External contributors.
README is the public API contract
Document every user-facing feature, element, prop, event, renderer option,
public method, and behavior change in README.md in the same change. A
changeset does not replace API documentation.
GPUIX is a thin layer on GPUI
Read the GPUI docs and the GPUI source before you write native code. zed/crates/gpui
is checked out in this repository. gpui::ListState, gpui::div, gpui::Window and the
rest are the real API; GPUIX only translates a React tree into calls on them.
Do not invent behaviour on top of GPUI. If a GPUIX element needs something GPUI does not do, the order is:
- Find the GPUI API that already does it. Search
zed/crates/gpuifor the symbol - Search
zed-industries/zedissues and PRs. Someone may have shipped it already - Fix it in the
remorses/zedfork as a normal GPUI change, and bump the submodule - Only then, add GPUIX code
Never paper over GPUI in packages/native. A workaround that re-applies state after
GPUI computed it, patches a value GPUI owns, or reaches around a GPUI invariant will break
on the next submodule bump and is very hard to debug. When such a change is unavoidable,
it must state in a comment what GPUI does, why that is not what GPUIX needs, and which
GPUI call makes it safe.
Prefer the smallest translation. Fewer moving parts is more important than matching any other framework's behaviour.
No hooks unless the value is reactive
Do not add a hook to @gpuix/react or a primitive to @gpuix/solid unless the
value changes over time and the component must re-render when it does
(useWindowSize, useWindowInsets). A value that is fixed once the window
opens is a plain exported function, like isTerminal(). Apps and examples
follow the same rule: no useState, useMemo, or custom hook for a value that
a plain call or constant gives.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed · +14 lines · +201 tokens per session fc2ab1f33a50
- 5d ago Changed · +41 lines · +471 tokens per session 30b7fc804111
- 17d ago Changed · +24 lines · +340 tokens per session 93833f34e822
- 21d ago Changed · +4 lines · +64 tokens per session 95df6d304cd1
- 26d ago Changed · +3 lines · +67 tokens per session acd77b849af3
- 1mo ago Changed · +6 lines · +107 tokens per session 7296fae411a7
- 1mo ago Changed · +12 lines · +201 tokens per session dd7433621171
- 1mo ago Changed · +43 lines · +493 tokens per session 5ee8481bd2ee
- 1mo ago Changed · +11 lines · +121 tokens per session a3209a63902a
- 2mo ago First seen · 1,383 lines · 16,245 tokens per session scan A d4f4e86a528e
gpuix AGENTS.md is an instructions file published in the GitHub repository remorses/gpuix (2,875 stars, last pushed 5d ago), licensed Apache-2.0. It adds 18,310 tokens to every session, about $0.0732 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gpuix AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gpuix AGENTS.mdremorses/gpuix | Instructions file | 2.9k | 5d ago | Apache-2.0 | A | 18,310 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |