awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
teamchong avatar

teamchong/pxpipe

0
View on GitHub↗

Pxpipe

pxpipe is a local proxy that sits between coding agents and model APIs and cuts input token cost by rewriting bulky request context into dense PNG images. System prompts, tool documentation and older conversation history are rendered as images, while recent turns stay as plain text and the streamed output is left unchanged. It handles Anthropic, OpenAI, Google and Cloudflare requests, and can run as a local Node process or as a Cloudflare Worker.

What sets it apart is how it applies compression selectively. Blocks that carry exact identifiers, hashes, secrets or precise numbers stay as text, and compression is enabled only for models measured to read dense renders reliably, with per-model profiles for image geometry, factsheets and history retention. A cost check transforms a request only when imaging is cheaper than text, and the rewrite keeps provider prompt-cache prefixes stable across turns. Agents can be launched through a transparent wrapper or a CONNECT-based route that works even when a CLI ignores base-URL settings, and requests can be routed to different upstream providers with Anthropic calls bridged to chat-completion backends.

The repository also includes tooling for judging whether compression pays off. A live dashboard, request telemetry and an offline summary report token savings against an uncompressed baseline. A benchmark suite measures how accurately models read image-rendered text, covering exact-string recall, gist recall, state tracking and confabulation on unstated facts. Paired task-resolution runs on SWE-bench Lite compare outcomes with compression on and off. The rendering pipeline is also available as a JavaScript library and a command-line exporter that turns text, files or diffs into image pages.

Project housekeeping includes a hardened container setup with a read-only filesystem and loopback-only port, plus dependency safeguards that delay newly published packages and force patched transitive versions.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Compression Proxies - Runs a local proxy between coding agents and model APIs that rewrites bulky request context into images so the model receives fewer input tokens.
  • Token Reduction Pipelines - Cuts the input token cost of long coding-agent sessions by rendering bulky context into compact images while keeping the work done.
  • Model Request Proxies - Runs a local proxy that intercepts coding-agent requests to several providers, rewrites bulk into images, and forwards native requests without altering streamed output.
  • Context Compression - Renders older conversation history, system prompts, and tool output as dense PNG images while recent turns stay text, cutting input tokens substantially.
  • Text-to-Image Context Compressors - Renders system prompts, tool docs and older history as dense PNG pages that vision models read for far fewer tokens than plain text.
  • Token Cost Optimizations - Renders system prompts, tool docs and older history into compact images so the model reads the same content with far fewer tokens.
  • Image-Rendered Context Benchmarks - Ships a benchmark suite measuring how accurately models read image-rendered text versus plain text across arithmetic, gist recall, state tracking, unstated-fact guards and hex strings.
  • Conversation History Compression - Packs completed tool-call rounds and long Gemini and OpenAI history into dense images while keeping open calls and recent turns as native text.
  • Exact String Preservation - Adds identifier rows and a text factsheet alongside rendered images, and keeps recent protocol state as text, to reduce errors on exact strings.
  • Image Context Compatibility Tiers - Classifies which models read compressed image context at full fidelity, gist-only or not at all, using benchmark recall scores.
  • Model-Gated Image Compression - Enables image compression only for models measured to read dense renders reliably, leaving other models as explicit opt-ins.
  • Model-Specific Render Profiles - Chooses image font size, column count and maximum height automatically from the model id so each model reads renders at a suitable geometry.
  • Multi-Provider LLM Gateways - Routes model ids to different upstream providers, bridging Anthropic requests to chat-completion backends while preserving streaming behaviour behind one client interface.
  • Per-Model Compression Profiles - Applies model-specific profiles for image geometry, factsheets, history retention, and profitability so sparse prose stays text and dense content becomes images.
  • Prompt Caching - Keeps provider prompt-cache prefixes stable across turns while rewriting context, so compressed sessions avoid cache flips and cold restarts.
  • Prefix Caching - Rewrites only bulky stable content into images and moves the cache marker to the last image block so provider prefix caching still works.
  • Provider-Specific Routing Policies - Sends requests for specific model ids to different upstream providers such as OpenAI, Google, Cloudflare and Novita using reversible aliases and provider-aware token accounting.
  • Verbatim-Critical Block Preservation - Leaves blocks carrying exact identifiers, hashes, secrets, or precise numbers as text because imaged content can be silently misread.
  • Transparent Agent Wrappers - Launches a coding agent under a diverting wrapper that routes provider traffic through the proxy without overriding base URLs, keeping OAuth and first-party features working.
  • Image Token Cost Predictors - Checks whether imaging a request is cheaper than text using the renderer's own resolved profile, so overrides never leave stale cost estimates.
  • Text Rendering - Turns text or message bodies into PNG pages through library functions, with options to pin blocks as text and recover originals of imaged blocks.
  • Text-to-Image Page Exporters - Converts text, files, stdin, or git diffs into PNG pages plus a factsheet, manifest, and prompt, usable without running the proxy.
  • Agent Traffic Diverters - Launches coding agents behind a transparent wrapper or CONNECT route so their traffic reaches the compressor even when the CLI ignores base-URL settings.
  • CONNECT Proxy Agent Routing - Launches coding agents behind a CONNECT proxy matching routes by host and port so agents ignoring base-URL settings still pass through the compressor.
  • Token Savings Trackers - Logs per-request savings against a counterfactual token count and summarizes them on a live dashboard and offline with compression ratios and cache-hit rates.
  • Cost and Token Trackers - Reports API calls, input, cache and output token totals plus estimated dollar cost per run to compare compressed runs against an uncompressed baseline.
  • Pre-Request Cost Estimation - Compares estimated image token cost against text cost, including cache-write penalties, and rewrites a request only when imaging is cheaper.
  • Image-Rendered Context Evaluations - Measures how accurately models read image-rendered text versus plain text, with exact-string recall, confabulation checks and paired SWE-bench task-resolution runs.
  • Paired Agent Task Resolution Tests - Runs paired compression-on and compression-off agent sessions on SWE-bench Lite graded by the official Docker harness to compare resolution and cost.
  • Context Recall Evaluators - Measures how accurately a model answers arithmetic, gist, state-tracking, never-stated and exact hex recall questions from image-rendered context.
  • Vision-Context Recall Benchmarks - Ships a benchmark suite scoring exact-string recall, gist recall, state tracking and confabulation when models read text rendered as images.
  • Bitmap Font Rendering - Draws long text context as dense bitmap images with a fixed-width pixel font and column and height limits.
7,583 stars·654 forks·TypeScript·MIT·8 views

Star history

Star history chart for teamchong/pxpipeStar history chart for teamchong/pxpipe

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Pxpipe

These projects share indexed features with Pxpipe. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • chopratejas/headroomchopratejas avatar

    chopratejas/headroom

    79,078View on GitHub↗

    Headroom is an AI gateway proxy and token optimizer designed to reduce the cost and latency of large language model interactions. It functions as an intermediary that intercepts traffic between clients and providers to apply context compression, request routing, and format translation. The system differentiates itself through a Model Context Protocol server implementation that delivers compression and retrieval tools to compatible AI hosts. It employs a content-aware compression pipeline and tiered importance scoring to trim redundant data from logs and tool outputs while preserving essential

    Pythonagentaianthropic
    View on GitHub↗79,078
  • ombharatiya/ai-system-design-guideombharatiya avatar

    ombharatiya/ai-system-design-guide

    4,200View on GitHub↗

    This is a written reference for designing, building and operating production AI systems, aimed at engineers who work with large language models. It is organized as chapters, worked case studies and interview-preparation material rather than as installable software. The central topics are tool-using LLM agents, retrieval-augmented generation, cost and model selection, evaluation and observability, and security and compliance, with explicit trade-offs among latency, cost, accuracy and safety. The agent material covers control loops such as ReAct and plan-and-execute, graph-based orchestration,

    agentic-aiagentic-workflowai
    View on GitHub↗4,200
  • helicone/heliconeHelicone avatar

    Helicone/helicone

    6,273View on GitHub↗

    Helicone is an AI gateway and observability platform designed to intercept, manage, and monitor interactions with large language models. By acting as a reverse-proxy, it provides a centralized layer for routing requests across multiple AI providers, allowing developers to maintain consistent application logic while gaining deep visibility into model performance, usage, and costs. The platform distinguishes itself through a robust suite of traffic management and prompt engineering tools. It enables policy-driven control, including automatic failover between providers, rate limiting, and edge-b

    TypeScript
    View on GitHub↗6,273
  • mervinpraison/praisonaiMervinPraison avatar

    MervinPraison/PraisonAI

    9,325View on GitHub↗

    PraisonAI is an autonomous AI agent platform that coordinates multiple LLM-powered agents for research, planning, and execution of complex workflows. It functions as a multi-agent orchestration framework, a workflow builder, and a Model Context Protocol server, while also providing retrieval-augmented generation through vector knowledge bases. Agents can interact via CLI, web, or standardized protocols with sandboxed code execution. The platform distinguishes itself with a rich set of agent communication protocols, including A2A, REST, WebSocket, voice and telephony integration, and MCP, allo

    Pythonagentsaiai-agent-framework
    View on GitHub↗9,325
Compare all 30 related projects→

Frequently asked questions

What does teamchong/pxpipe do?

pxpipe is a local proxy that sits between coding agents and model APIs and cuts input token cost by rewriting bulky request context into dense PNG images. System prompts, tool documentation and older conversation history are rendered as images, while recent turns stay as plain text and the streamed output is left unchanged. It handles Anthropic, OpenAI, Google and Cloudflare requests, and can run as a local Node process or as a Cloudflare Worker.

What are the main features of teamchong/pxpipe?

The main features of teamchong/pxpipe are: Compression Proxies, Token Reduction Pipelines, Model Request Proxies, Context Compression, Text-to-Image Context Compressors, Token Cost Optimizations, Image-Rendered Context Benchmarks, Conversation History Compression.

Which projects share features with teamchong/pxpipe?

Projects with overlapping indexed features include: chopratejas/headroom — Headroom is an AI gateway proxy and token optimizer designed to reduce the cost and latency of large language model… ombharatiya/ai-system-design-guide — This is a written reference for designing, building and operating production AI systems, aimed at engineers who work… helicone/helicone — Helicone is an AI gateway and observability platform designed to intercept, manage, and monitor interactions with… mervinpraison/praisonai — PraisonAI is an autonomous AI agent platform that coordinates multiple LLM-powered agents for research, planning, and… tinyhumansai/openhuman — OpenHuman is an AI application framework for building private intelligence systems and personal AI layers. It provides… getagentseal/codeburn — CodeBurn is a local-first tracker, analyzer, and optimizer for AI coding spend. It reads the session files that coding…