Skip to content
@protectyr-labs

protectyr-labs

Protectyr Labs

Open-source tools extracted from Protectyr's production cybersecurity platform. Each package solves a real problem we encountered building multi-agent systems, MCP servers, and AI-powered SaaS products.

MCP Servers & Templates

Package Description Language
mcp-exec-team Multi-persona debate engine as MCP server TypeScript
mcp-audit-wrapper Transparent audit logging HOF for MCP tool calls TypeScript
mcp-starter Production-grade MCP server template TypeScript

LLM Infrastructure

Package Description Language
token-budget Smart token allocation for multi-layer LLM prompts TypeScript
attack-validator MITRE ATT&CK technique ID hallucination detection TypeScript
vector-dedup Semantic deduplication using vector embeddings TypeScript
file-preprocess Preprocess files into LLM-ready text TypeScript
prompt-shield Prompt injection detection for untrusted LLM inputs Python

Workflow & Orchestration

Package Description Language
webhook-resume Pause/resume for async workflows with human-in-the-loop gates TypeScript
funnel-state Typed state machine for customer funnel tracking TypeScript
tier-state Subscription tier resolution with trial state machine TypeScript
casl-consent CASL-compliant email consent with 2-year implied expiry TypeScript

Production Infrastructure

Package Description Language
sse-lock SSE streaming API routes with concurrency locking TypeScript
api-cache Rate-limited API client with sliding window + disk cache Python
streaming-json Process 100MB+ JSON files without loading into memory Python
html2docx HTML to Word converter with CSS variables + 2-pass bookmarks Python
halt-sentinel File-based circuit breaker for multi-agent systems Python
atomic-jsonwrite Crash-safe JSON persistence with fsync + atomic replace Python
pairs-scanner Statistical arbitrage: Engle-Granger + Hurst exponent Python

Origin

These tools were extracted from production systems processing real security assessments, incident response cases, and multi-agent workflows. Each one was battle-tested before being open-sourced.

MIT Licensed.

Popular repositories Loading

  1. atomic-jsonwrite atomic-jsonwrite Public

    Crash-safe JSON persistence with fsync + atomic replace. Works on Windows (NTFS) and POSIX.

    Python 1

  2. prompt-shield prompt-shield Public

    Prompt injection detection for untrusted LLM inputs. Regex-based, zero latency, zero cost.

    Python 1

  3. mcp-audit-wrapper mcp-audit-wrapper Public

    Transparent audit logging HOF for MCP tool calls. Storage-agnostic, zero dependencies.

    TypeScript 1

  4. token-budget token-budget Public

    Smart token allocation for multi-layer LLM prompts. Priority-based dropping with enrichment tracing.

    TypeScript 1

  5. vector-dedup vector-dedup Public

    Semantic deduplication using vector embeddings. Find and group similar text items.

    TypeScript 1

  6. mcp-exec-team mcp-exec-team Public

    Multi-persona debate engine as MCP server. Sequential roundtable with natural reactions and [PASS] rule.

    JavaScript 1

Repositories

Showing 10 of 20 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…