TReg Zero-Config Tool Registry & Schema Bridge

TReg Zero-Config Tool Registry & Schema Bridge

@superdesigndev/treg·v1.0.5·tools

A zero-config distributed tool registry and schema gateway for DeepSeek Harness. Features automated RPC binding, JSON Schema reflection, namespace conflict resolution, and circuit breakers.

Tool-Registry · Microservices · Schema-Reflection · Circuit-Breaker

GitHubNPM
Installation & Integration
bash
manager:
$ pnpm add @superdesigndev/treg

Architecture

TReg Tool Registry turns heterogeneous microservice fleets into typed agent tools with zero manual boilerplate. In enterprise architectures, engineering teams build services across diverse languages; manually maintaining JSON Schema definitions per endpoint is fragile and unscalable. This plugin implements automated service reflection atop Cordis. Remote gRPC, REST, and GraphQL endpoints announce their signatures to the central registry. TReg compiles parameter signatures into compliant tool schemas, applies namespace routing, and guards downstream services with adaptive rate limiting and circuit breakers.

Core Features

01

Zero-Config Schema Reflection: Compiles TypeScript interfaces or proto files into tool schemas

02

Polyglot Microservice Support: Effortlessly bridges Go, Java, Python, and Rust backends

03

Tool-Level Circuit Breakers: Configures isolated rate limits and concurrency caps per method

04

Multi-Environment Routing: Dynamically routes invocations to local, staging, or production nodes

Core Workflow

01

Endpoint Self-Registration

Microservices announce exported function signatures and auth headers via heartbeat.

02

Schema Reflection & Compile

Reflects typed parameter schemas into compliant LLM tool calling definitions.

03

Namespace Arbitration

Applies team and service prefixes to resolve collisions across sprawling fleets.

04

Proxy Dispatch & Circuit Breaker

Proxies RPC calls with retry policies, tripping circuit breakers on upstream failures.

Configuration Parameters Reference (YAML / JSON)

ParameterTypeDefaultDescription
registryPortnumber9090Tool registry listening port
defaultQPSLimitnumber20Default QPS cap per tool method
strictTypeCheckbooleantrueValidate arguments strictly with Zod