npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@intutic/proxy

v1.10.1

Published

Native high-performance AI agent governance proxy binary

Readme

intutic-proxy

High-performance AI agent proxy with WebAssembly-based governance policies.

Overview

intutic-proxy is a high-performance AI agent proxy written in Rust (edition 2021) that intercepts agent-to-LLM traffic and enforces governance policies through a pluggable WASM sandbox. It is the local enforcement engine for the Intutic governance control plane.

Features

WASM Plugin Sandbox

  • Runtime: wasmtime v29 with pre-compiled module caching
  • Memory limit: 16 MB per plugin invocation
  • Fuel limit: 1,000,000 units per plugin invocation
  • Execution timeout: 5 ms hard wall-clock cutoff
  • Isolation: Each plugin runs in a dedicated WASM store

Plugin Chain

The proxy processes every request through an ordered plugin chain:

| Plugin | Purpose | |--------|---------| | Budget Gate | Enforce per-ticket and per-team token budgets | | DLP Gate | Block or redact sensitive data (secrets, PII, credentials) | | PCAS Gate | Prior Consent and Autonomy Scope enforcement | | Semantic Cache | Deduplicate semantically similar prompts via Valkey | | SOP Prompt Injector | Inject workspace governance SOPs into system prompts |

Model Selection

  • Thompson Sampling bandit: selects a model per task cell from observed availability and latency.

    Two corrections to what this said before. It claimed selection was based on "historical cost, latency, and quality signals". RewardSignals (src/routing/reward.rs:32) carries upstream_ok, latency_ms, token_anomaly, raw_cost_usd and actual_cost_usd — and the cost pair does not move the reward: cheaper_routed_model_earns_no_bonus asserts a cheaper route earns nothing, deliberately. There is no quality signal at all: a cheap model returning a confidently wrong answer, quickly, scores a perfect 1.0.

    So the router today optimises for responding, not for responding well or cheaply. Do not describe it as saving money or preserving quality until there is a measurement behind either word.

Network Enforcement

  • TLS MITM: Transparent interception for Windsurf and other harnesses
  • OS-level firewall rules: Generates platform-native rules to redirect agent traffic through the proxy
    • macOS: pf (Packet Filter)
    • Linux: iptables / nftables
    • Windows: netsh

Security & Observability

  • DLP scanner: Pattern-based and entropy-based secret detection
  • Code skeleton extraction: Uses tree-sitter and syn for AST-level code analysis
  • Token counting: Accurate pre-flight token estimation via tiktoken-rs
  • Telemetry: OpenTelemetry OTLP export for traces and metrics — a SpanExporter and SdkMeterProvider ship in src/main.rs, with the exported instrument set declared in src/metrics.rs (snip compaction histograms, egress counters, policy refusals). Still no logs pipeline (TD-161's resolution covers the metrics half only)

Dependencies

| Crate | Purpose | |-------|---------| | axum | HTTP server framework | | wasmtime | WASM runtime | | reqwest | Upstream LLM HTTP client | | redis | Valkey / Redis connection | | tree-sitter | Source code parsing | | tiktoken-rs | Token counting | | rcgen | TLS certificate generation |

Development

# Build
cargo build

# Run tests
cargo test

# Run benchmarks
cargo bench

Binary

The crate produces a single binary:

intutic-proxy

Part of Intutic

This package is part of the Intutic monorepo — an open-core AI governance control plane for developer teams.

License

MIT — see LICENSE for details.