0.0
The project is in a healthy, maintained state
Governed AI SDK for Octoryn Router
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

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.1
client = 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_hash

The 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.