Toolnexus: A Cross-Language Tool-Calling Layer

muthuishere2101 · reddit · 2026-07-12

The author shared toolnexus, a vendor-agnostic tool-calling library and client loop that ensures consistent behavior across JavaScript, Python, Go, Java, and C#.

It unifies MCP servers, agent skills, standard functions, HTTP endpoints, built-in shell/file tools, and remote A2A agents into a single Tool interface. The client features a comprehensive calling loop that supports parallel/chained tool calls, streaming output, pre/post hooks, retries, memory, and metrics. The author specifically highlighted that human-in-the-loop is a first-class capability: if a tool requires human approval, login, or decision-making, the run can "suspend" and resume from the exact same spot after the human responds.

Additionally, it can expose assembled toolsets externally as an MCP server or A2A agent. The author provided a concise 3-line code example and stated that the examples/ across all five language versions are guaranteed to be perfectly consistent via CI.

Related event: Toolnexus: Cross-Language Tool-Calling Layer for LLMs(2 posts)→

Original post →

More from coding & agent

coding & agent channel →