Skip to content
View kingroyale537's full-sized avatar

Block or report kingroyale537

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
kingroyale537/README.md

Rishikesh Rai

Systems & AI Infrastructure Engineer · Model Context Protocol (MCP) · Agent Sandboxing

GitHub Followers TypeScript Python Docker Model Context Protocol Status

Building hardened runtime infrastructure, low-latency execution proxies, and sandbox isolation layers for autonomous AI agents.
Obsessed with high-agency shipping, sub-millisecond systems performance, and zero-trust security boundaries.

Featured Systems • Open Source (YC Contributions) • Engineering Principles • Tech Stack • Get in Touch


⚡ Founder & Recruiter TL;DR

If you are a YC founder, CTO, or AI Lab Engineering Lead looking for an engineer who operates with extreme ownership:

  • High-Agency Velocity: Zero ramp-up friction. Hand me an open technical challenge or RFC, and I ship tested, benchmarked, production-ready architecture in days.
  • Deep Systems Rigor: Experienced in POSIX process isolation, containerization, WebSocket protocol multiplexing, and Model Context Protocol (MCP) gateways.
  • Production-Grade Craftsmanship: 100% test coverage on critical paths, path-traversal prevention, automated credential scrubbing, and sub-millisecond execution budgets.
  • Consistent Builder: Proven multi-year shipping history across distributed systems, agent backends, and developer platforms.

🛡️ Featured Systems

High-performance security proxy, capability enforcement engine, and ephemeral sandbox for Model Context Protocol (MCP) agents.

┌─────────────────┐       ┌────────────────────────────────────────────────────────┐       ┌──────────────────────┐
│  AI Host/Client │       │                   MCP-SHIELD GATEWAY                   │       │   Upstream Server    │
│ (Claude/Cursor) │ ◄───► │  [Capability Policy] ──► [HITL Approval] ──► [Sandbox]  │ ◄───► │ (FS / Shell / APIs)  │
└─────────────────┘       └─────────────────────────┬──────────────────────────────┘       └──────────────────────┘
                                                    │ Telemetry (WS)
                                                    ▼
                                       ┌──────────────────────────┐
                                       │ Real-Time Dark Dashboard │
                                       └──────────────────────────┘
  • Sub-Millisecond Overhead: Benchmarked routing and capability validation overhead < 1.0 ms per tool call.
  • Capability Policy Engine: Fine-grained regex and path canonicalization preventing directory traversal (../../etc/shadow), unauthorized network access, and privilege escalation.
  • Multi-Driver Ephemeral Sandbox: Dual-mode execution engine supporting Docker containerization and isolated host child processes with automated secret scrubbing (AWS_*, OPENAI_*, GITHUB_*).
  • Human-in-the-Loop (HITL) Escalation: Interactive approval hooks for sensitive or mutating actions (e.g. system commands, write operations) with customizable timeouts.
  • Real-Time Observability: Built-in HTTP + WebSocket telemetry server streaming live security audits and invocation metrics to a dark-mode dashboard.
  • 100% Verified: 25/25 automated Vitest unit & integration test suite passing.
# Quickstart
git clone https://github.com/kingroyale537/mcb-shield-.git
pnpm install && pnpm test && pnpm demo

Full-stack backend infrastructure designed specifically for autonomous coding agents.

  • Supplies coding agents with instantaneous database provisioning, authentication, ephemeral compute, file storage, and unified AI gateway routing.
  • Eliminates context-switching for autonomous coding agents, enabling full-stack application deployment from natural language specifications.

Multi-agent autonomous intelligence pipeline for geospatial risk and property due diligence (Mireye Challenge).

  • Orchestrates specialized agents for satellite imagery inspection, zoning verification, and environmental risk assessment.
  • Implements deterministic tool scheduling, structured JSON validation, and automated PDF dossier generation.

🤝 Open Source & Ecosystem Contributions

E2B (YC S24) — Sandboxed Cloud Environments for AI

Contributed to core runtime and Model Context Protocol (MCP) SDK gateway architecture.

  • Issue Resolution (#1899): Identified and fixed camelCase vs snake_case parameter divergence (install_cmd/run_cmd vs installCmd/runCmd) between Python and TypeScript SDKs when passing custom server configs to mcp-gateway.
  • Cross-Language Test Harness: Authored comprehensive unit tests in Python (Pytest) and TypeScript (Vitest) validating runtime configuration parity inside microVM containers.

GLiNER — Zero-Shot Named Entity Recognition & Representation

High-throughput generalist bi-encoder NER for web-scale entity extraction.

  • Pull Request (#404): Resolved catastrophic 4–6 minute latency hang on short single-word inputs (Fixes #401). Diagnosed erratic language misdetection in StanzaWordsSplitter triggering unprompted background model downloads, and introduced an early-exit guard with regression test coverage.

Dedupe.io — Accurate & Scalable Entity Resolution

The standard Python library for entity resolution, record linkage, and company deduplication.

  • Pull Request (#1232): Implemented VectorType for dense semantic embeddings (Sentence-Transformers/OpenAI) with cosine/euclidean distance comparators and LSH sign bit predicates for candidate blocking, alongside a high-throughput blocking benchmark suite.

RankLLM — Neural Search Rerankers (UWaterloo IR)

Open-source toolkit for cross-encoder, listwise, and pointwise neural document reranking.

  • Pull Request (#475): Added CrossEncoderReranker supporting standard Hugging Face sequence classification models (bge-reranker, ms-marco-MiniLM) with multi-shape tensor handling and sigmoid score normalization; fixed Python 3.11+ module spec test mocks.

Ragas — Evaluation Framework for RAG & Retrieval Engines

Leading open-source framework for evaluating retrieval precision, recall, and agent tool execution.

  • Pull Request (#3076): Implemented deterministic, rank-aware IR metrics (ContextNDCG@K, ContextMRR@K, ContextMAP@K, ContextHitRate@K) to evaluate dense, sparse, and Reciprocal Rank Fusion (RRF) hybrid search retrievers without LLM-as-a-judge roundtrips.

🧠 Engineering Philosophy

Principle How I Practice It
Bias for Action I prioritize functioning prototypes over endless debate. Build $\to$ Measure $\to$ Iterate.
Zero-Trust by Default Never trust raw LLM output. Tool execution must always be sandboxed, bounded, and audited.
Type Safety & Ergonomics Strict TypeScript and Python type annotations. Clear APIs that fail at compile time, not in production.
Relentless Testing Edge-case fuzzing, traversal attack simulations, and end-to-end integration flows on every commit.
Deep Systems Empathy Understanding what happens beneath the abstraction layer—from POSIX signals and syscalls to WebSocket framing.

🛠️ Technical Arsenal

Domain Technologies & Frameworks
Languages TypeScript Python Rust Go C++ SQL Bash
AI & Agent Infra Model Context Protocol (MCP) Tool Interception Proxies Anthropic Claude API OpenAI Assistants LangChain LlamaIndex
Systems & Cloud Docker MicroVMs / E2B Linux / POSIX Internals WebSockets Node.js Async I/O HTTP/2 Redis PostgreSQL
Security & Isolation Path Canonicalization Secret Redaction Capability-Based Access Control (CBAC) Sandbox Hardening
DevOps & Testing Vitest Pytest GitHub Actions CI/CD pnpm / Turborepo Docker Compose

📬 Let's Build Together

I am actively speaking with YC founders, AI research labs, and early-stage infrastructure teams looking for high-velocity engineers who can own critical systems from day zero.

  • 📧 Direct Email: knhtheroyaldevelopers@gmail.com
  • 🐙 GitHub: github.com/kingroyale537
  • 📍 Availability: Open to Founding Engineer, Systems/AI Infrastructure roles (Full-time or High-impact Contract)
  • 🌍 Timezone: Adaptable with US Pacific / US Eastern / European engineering hours
Engineered with precision · Tested with rigor · Shipped with velocity

Pinned Loading

  1. mcb-shield- mcb-shield- Public

    Production-grade Model Context Protocol (MCP) security gateway with capability policy enforcement, multi-driver ephemeral sandboxing, and real-time inspector.

    TypeScript 1

  2. mireye-terrasentry-ai mireye-terrasentry-ai Public

    TerraSentry AI - Autonomous Physical Due Diligence Agent for Mireye Build Challenge

    Python

  3. InsForge InsForge Public

    Forked from InsForge/InsForge

    The all-in-one, open-source backend platform for agentic coding. InsForge gives your coding agent database, auth, storage, compute, hosting, and AI gateway to ship full-stack apps end-to-end.

    TypeScript