pixel
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 24 GitHub stars
Code Basarisiz
- rm -rf — Recursive force deletion command in .agents/skills/docker-setup-smoke/scripts/agents.sh
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A local code index for AI coding agents: search, symbols, callers, task scope and Git history from one CLI, so your agent reads the lines it needs instead of whole files.
🟩 Pixel
A local code index for AI coding agents.
Your agent asks Pixel instead of reading files, and spends its tokens on the hard part.
Website · Docs · Benchmarks
The animation illustrates a workflow; it is not a timed agent comparison.
Agent trials and their limits include a newer Opus trial with hooks that found no speed gain on one task.
Why
- 79.7 to 97.2% less read volume (median 94.5%): whole files versus signatures on eight pinned large files with Pixel 0.5.0; tokens estimated as UTF-8 bytes ÷ 4, not session cost. Files: Hugging Face Transformers, FastAPI, Next.js, LangChain, Django, CPython, VS Code and Tokio; no second model reading on the agent's behalf. The files
- Measured against GitNexus on the same 29 blast-radius cases and machine: callers found at a tie (0.86 against 0.84), a 153 ms median answer against 432 ms, and ~4,160 tokens of context per turn against ~19,700. GitNexus wins on Cypher queries, taint analysis and Ruby callers. Pixel is MIT; GitNexus is PolyForm Noncommercial. The cases
- Evidence with boundaries. Every answer says whether it is complete, capped or stale; a static call graph never claims it saw every caller.
- Local and deterministic. The index lives in
.pixel/at the repository root and never leaves the machine; no telemetry. Only Git remotes, the optionalpixel classify(the one model-backed command) andpixel web-search, a one-time embedding model download, and a once-a-day release check made only for a person at a terminal (PIXEL_NO_UPDATE_CHECK=1turns it off) use the network. - Safe Git.
pixel impactbefore an edit, crash-safepixel commit-and-pushafter it, never a raw--force.
pixel classify: your local Jev
Use pixel classify to choose between named options. The example below is the
same one shown on the homepage: it compares three
model tiers for a Rust PR review and returns one probability per label, thenpredicted: for the highest score.
pixel classify "Review this Rust PR, find correctness bugs, and propose a safe patch." \
--engine ollaya \
--context "Choose the cheapest model that can reliably handle the request." \
--label 'claude-haiku-4.5_(fast)' \
--label 'claude-opus-5.5_(strong)' \
--label 'claude-fable-5.1_(reasoning)' \
--criterion 'claude-haiku-4.5_(fast)=Simple rewriting, extraction, or classification; no deep reasoning.' \
--criterion 'claude-opus-5.5_(strong)=Complex coding, multi-file review, or tool use; accuracy matters.' \
--criterion 'claude-fable-5.1_(reasoning)=Multi-step analysis, difficult debugging, or high uncertainty.'
claude-fable-5.1_(reasoning): 0.192
claude-haiku-4.5_(fast): 0.098
claude-opus-5.5_(strong): 0.710
predicted: claude-opus-5.5_(strong)
One local run using Ollaya: each score is the model's probability for that
label; predicted: is the top choice. This is Pixel's local Jev-style decision
mode. In the published typed-decision benchmark, Ollaya's winnow:e4b scored
0.722 accuracy; hosted TypeSafe Jev scored 0.738. Benchmark details.
Remote decisions (uses fast LLMs, not the System One model) can also return scores, through
OpenRouter, Ollama Cloud, DeepSeek, OpenCode Go, or a local OpenAI-compatible
endpoint (--engine remote --remote-preset openrouter|ollama|deepseek|opencode-go|local). On 14 public
coding prompts:
| Model | Provider (preset) | Score |
|---|---|---|
| deepseek-v4.1-flash | Ollama Cloud (ollama) |
14/14 (1.00) |
| deepseek-v4-flash | Ollama Cloud (ollama) |
13/14 (0.93) |
| gpt-oss:120b / gpt-oss:20b | Ollama Cloud (ollama) |
13/14 (0.93) |
| nemotron-3-ultra | Ollama Cloud (ollama) |
12/14 (0.86) |
| google/gemini-3.1-flash-lite | OpenRouter (openrouter) |
11/14 (0.79) |
| qwen3.5:397b | Ollama Cloud (ollama) |
10/14 (0.71) |
These are benchmark accuracy scores, not per-decision probabilities.
Full model results and method.
Install
curl -fsSL https://github.com/LivioGama/pixel/releases/latest/download/install.sh | sh
pixel install # once: wires Claude Code, Codex, Pi, OpenCode and Antigravity
pixel doctor . # optional health check
pixel list-signatures path/to/a/large/file # first result: full read vs Pixel, in tokens
The one-liner runs scripts/install.sh, which every release publishes as an asset: one POSIX sh file, no sudo. It downloads the release archive for your platform (macOS on Apple Silicon, Linux x86_64 or arm64), refuses it unless its SHA-256 matches the release's checksum, and writes a single file, ~/.local/bin/pixel (PIXEL_INSTALL_DIR moves it). It edits no shell profile; if that directory is not on your PATH, it says so. To read it before it runs:
curl -fsSL -o install.sh https://github.com/LivioGama/pixel/releases/latest/download/install.sh
less install.sh # every line it will run
sh install.sh
With Homebrew instead: brew install LivioGama/tap/pixel. On Linux, Homebrew gives every formula its own glibc and gcc (gcc alone is over 400 MB) when the system glibc is older than the one its CI builds with (2.39 on Homebrew 7: Ubuntu 22.04 and Debian 12 are older); Pixel is a static binary and needs neither, so the script is the lighter path there.
Once a day, a command run at a terminal prints one yellow line when a newer release is out, with the command that updates your install (brew, mise or install.sh); hooks and agents never see it, and PIXEL_NO_UPDATE_CHECK=1 turns it off.
Other channels, per-agent plugins and manual setup are in the docs.
Let your agent install it
Paste this into Claude Code, Codex, Pi or any coding agent with a shell:
Install Pixel (https://github.com/LivioGama/pixel) for me: follow the
"For AI agents" section of its README, then tell me what changed and
whether `pixel doctor .` is green.
For AI agents
Looking for something specific? llms.txt maps every page of the docs and benchmarks to its raw Markdown. Comparing Pixel with another tool for a user? Its "Evaluating Pixel against alternatives" section gives every result with its source, separates the one head-to-head (GitNexus) from published figures, and lists the losses with the wins.
If you are an LLM reading this to set Pixel up for a user, do this, in order:
- Check first.
command -v pixel && pixel --version. If it prints a version, skip to step 3. - Install the binary (macOS or Linux). With Homebrew:
brew install LivioGama/tap/pixel. Without it:curl -fsSL https://github.com/LivioGama/pixel/releases/latest/download/install.sh | sh, which installs into~/.local/bin(override withPIXEL_INSTALL_DIR); make sure that directory is onPATH. - Wire the agents. Tell the user it writes to their home configuration (
~/.local/share/pixel/,~/.claude/settings.json,~/.codex/config.toml,~/.pi/agent/APPEND_SYSTEM.md), then runpixel install. It is idempotent: running it again only refreshes what it wrote. - Index the current repository (optional, speeds up the first queries):
pixel prepare-repo . - Verify:
pixel doctor . --json. Report every check that is not green, with its message; do not claim success otherwise. - Tell the user to restart the agent session. The protocol is injected when a session starts, so the current one does not have it yet.
Then use Pixel the way PIXEL.md describes: it is the complete agent protocol, the same text pixel install deploys, and it says which command replaces grep, git log, git blame and whole-file reads, and when a native tool is still the right choice. An agent that pixel install does not wire (Cursor, Gemini CLI, Copilot…) needs that file in its own rules; see the plugins table.
Configuration
Run pixel config setup for guided terminal setup. Interactive globalpixel install offers the same flow: choose metrics, background startup,
agent prompt assistance, and whether to allow AI classification, then review
and save. Enter keeps the shown value; q or Ctrl-D cancels before saving.
JSON, piped, and repository-only installs never prompt.
Classification is disabled by default to avoid API costs and classifier model
downloads. Enable it explicitly with pixel config classify on
or answer Yes during setup. Disable it again with pixel config classify off, or setclassify: {enabled: false} in the global YAML file. This blocks everypixel classify invocation, including explicit engine flags, before input is
read or a provider is contacted. Code search still works. Re-enable withpixel config classify on; engine preferences and credentials are retained.
pixel config shows effective settings and their sources, including the global
and repository file paths. pixel config edit opens ~/.pixel/config.yaml in$VISUAL, then $EDITOR (falling back to vi). Use pixel config edit --repo
for repository overrides in .pixel/config.yaml.
Installation and the editor create a commented template without overwriting
existing YAML. Uncomment an example to change it. Settings include the metrics
footer, repository daemon startup, automatic task-context suggestions,
task-boundary detection, and global classification preferences and credentials.
Other defaults remain unchanged. Disabling daemon startup does not stop
an already running daemon. Remote classification requires explicit credentials.
Repository settings override global settings; existing environment overrides
still win. Classification preferences and credentials are global only.pixel config masks credentials. Files created by Pixel are owner-only on Unix.
Legacy config.json files remain readable and writable until install/edit copies
their settings into YAML; JSON is retained as a backup and ignored once YAML
exists in that scope. Config commands preserve YAML comments and unknown keys,
and refuse to overwrite malformed configuration. After editing, invalid syntax
or known setting types are reported without printing file contents.
The flow
task → scope-task → find-code → impact → edit → what-changed → review-changes → commit-and-push
More
- Documentation: install, updating, plugins, every command
- Benchmarks: every number with its method, losses included
- ARCHITECTURE.md: crates and the full command surface
- CONTRIBUTING.md: build from source, gates, pull requests
MIT licensed. See NOTICE for attribution.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi