Skip to main content
The Ruby Agent SDK is a minimal local runtime for AI Stats Gateway. Use it when you want:
  • a lightweight bounded tool loop
  • gateway-backed responses requests
  • app-owned control over persistence and orchestration

What it ships

  • AIStatsAgentSdk.create_agent(...)
  • AIStatsAgentSdk.define_tool(...)
  • AIStatsAgentSdk.create_gateway_agent_client(...)
  • a bounded tool loop over the AI Stats responses API

Next

Last modified on May 19, 2026