← Back to Discover

Ruby UTCP

Ruby UTCP is a Ruby gem with one client for discovering, searching and calling tools over their native protocols.

Libraries & SDKs

What it does

Ruby UTCP is a Ruby gem built on UTCP 1.1. Its UTCP::Client lets a Ruby application call tools directly over the protocols those tools already use, including HTTP, WebSocket, gRPC and a local command. The client loads a UTCP manual or an OpenAPI document. It finds the right tool with local search. It then calls the tool through one consistent Ruby interface. Getting started takes three steps. First, add the gem to your Gemfile. Second, point the client at a manual so it discovers the available tools. Third, make the call and get a result. The core needs Ruby 2.6 or newer. Optional backends have extra requirements.

Capabilities

  • The client supports twelve transports, plus a file transport for local manuals.
  • Protocol allow-lists, HTTPS by default and bounded responses are part of the client, from discovery to execution.
  • Tools can be loaded from a UTCP manual or from an OpenAPI document.
  • Local search helps find the right tool.
  • The gem is MIT licensed.

When to use it

  • Use it when your Ruby app needs to call tools over protocols such as HTTP, WebSocket, gRPC or a local command.
  • Use it when you want to load a UTCP manual or an OpenAPI document and discover the available tools.
  • Use it when you want to keep your existing APIs and infrastructure without building another integration layer.