Octoryn Ruby SDK
Governed model access for Ruby 3.2 and later.
Install the public gem from RubyGems.org:
gem install octoryn-sdk -v 0.1.1client = Octoryn::Client.new(api_key: ENV.fetch("OCTORYN_API_KEY"))
result = client.generate_text(
model: "policy/au-enterprise",
prompt: "Explain this routing decision."
)
puts result.octoryn.evidence_hashThe SDK supports synchronous and asynchronous text generation, replayable SSE streams, split tool calls, JSON Schema-validated Structured Outputs, normalized errors, cancellation, replaceable transports and Octoryn governance metadata.