Skip to content
reaatechREAATECH

reaatech/agent-mesh

0Last commit: May 11, 2026GitHub →

These packages provide a modular orchestrator for routing user requests to multiple AI agents using the Model Context Protocol. You would use them to build a resilient gateway that handles intent classification, session persistence, and circuit breaking across a distributed set of agents. The system is designed as a collection of decoupled services that share a common set of Zod-validated types and rely on Firestore for cross-instance state management.

Packages

10 packages

@reaatech/agent-mesh
v1.0.0
Provides a shared library of TypeScript types, Zod validation schemas, and environment configuration constants for the agent-mesh multi-agent orchestration ecosystem. It serves as the single source of truth for protocol shapes, requiring only Zod as a runtime dependency.
published 2 days agoView →
@reaatech/agent-mesh-classifier
v1.0.0
Classifies user input against an agent registry using Gemini Flash, returning a structured object containing the target agent ID, confidence score, and intent summary. It provides a singleton service that automatically handles prompt construction, language detection, and fallback to a keyword-based mock classifier.
published 2 days agoView →
@reaatech/agent-mesh-confidence
v1.0.0
Evaluates routing decisions for an agent-mesh orchestrator using a deterministic decision tree that compares classifier confidence against agent-specific thresholds. It provides a function to execute this logic and a secondary utility to generate localized clarification questions, backed by an LRU cache.
published 2 days agoView →
@reaatech/agent-mesh-gateway
v1.0.0
Provides an Express-compatible request orchestration pipeline for the agent-mesh ecosystem, including authentication, rate limiting, and agent dispatch. It exports a set of middleware and handler functions to manage the `/v1/request` lifecycle, health checks, and internal programmatic invocations.
published 2 days agoView →
@reaatech/agent-mesh-mcp-server
v1.0.0
Exposes an agent-mesh orchestrator as an MCP-compliant server by providing Express middleware and handlers for JSON-RPC 2.0 routing and SSE transport. It registers tools to route messages, query session status, and list agents within an existing Express application.
published 2 days agoView →
@reaatech/agent-mesh-observability
v1.0.0
Provides a Winston-based logging utility with automatic PII redaction, OpenTelemetry instrumentation for traces and metrics, and structured audit event logging for the `agent-mesh` orchestrator. It exports a pre-configured logger instance, a child logger factory, and specific metric recording functions.
published 2 days agoView →
@reaatech/agent-mesh-registry
v1.0.0
Manages a thread-safe registry of validated YAML agent configurations, providing atomic-swap updates and SIGHUP-triggered hot-reloading. It exposes a singleton state object for lookups and includes Zod-based validation with built-in SSRF protection for agent URLs.
published 2 days agoView →
@reaatech/agent-mesh-router
v1.0.0
Dispatches requests to agents using the Model Context Protocol (MCP) over HTTP, providing connection pooling, circuit breaking, and Zod-based response validation. It exports a `dispatchToAgent` function that manages the full lifecycle of a request, including retries, timeouts, and state tracking.
published 2 days agoView →
@reaatech/agent-mesh-session
v1.0.0
Manages multi-turn conversation state and workflow context using Firestore as a persistence layer. It provides a set of asynchronous functions for session lifecycle management, transactional turn history updates, and Pub/Sub event publishing.
published 2 days agoView →
@reaatech/agent-mesh-utils
v1.0.0
Provides a three-state circuit breaker for managing agent health, featuring Firestore-backed persistence and leader election for cross-instance state synchronization. It exposes a singleton `circuitBreaker` object for traffic control and lifecycle functions to manage distributed state across Cloud Run instances.
published 2 days agoView →