Code Agent SDK Ruby — Development skill for Claude Code
Autohand Code Agent SDK for Ruby: CLI-backed agent orchestration with streaming, run lifecycle, examples, JSON helpers, and Rails-friendly configuration.
How to install Code Agent SDK Ruby
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open autohandai/code-agent-sdk-ruby and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Code Agent SDK Ruby does
Autohand Code Agent SDK for Ruby: CLI-backed agent orchestration with streaming, run lifecycle, examples, JSON helpers, and Rails-friendly configuration.
Alternatives in Development
- Claude On Rails — A development framework for Ruby on Rails developers using Claude Code, inspired by SuperClaude 779 ★
- Anthropic SDK Ruby — Gem Version 366 ★
- Acp Go SDK — Go SDK for the Agent Client Protocol (ACP), offering typed requests, responses, and helpers so Go applications 226 ★
README
Code Agent SDK for Ruby
[](https://github.com/autohandai/code-agent-sdk-ruby/actions/workflows/ci.yml) [](https://www.ruby-lang.org/) [](LICENSE.txt)
Autohand Code Agent SDK for Ruby: a CLI-backed Ruby gem for controlling Autohand Code agents over JSON-RPC, with streaming events, run lifecycle helpers, permissions, skills, sessions, hooks, and Rails-friendly configuration.
**Beta:** this SDK is actively evolving while the Agent SDK APIs stabilize. Pin versions in production and review release notes before upgrading.
Overview
This SDK wraps the Autohand Code CLI in RPC mode and exposes a Ruby API for agentic coding workflows.
Ruby app -> autohand_sdk gem -> Autohand Code CLI subprocess -> Provider -> HTTP
The gem:
- Starts the Autohand Code CLI as a subprocess in JSON-RPC mode.
- Streams agent lifecycle, message, tool, permission, and file-change events.
- Provides
AutohandSDK::Clientfor low-level control andAutohandSDK::Agent/Runfor application code. - Exposes slash commands, persistent goals, and the replayable autoresearch ledger through exact JSON-RPC methods.
- Returns immutable typed values for skill-registry and MCP discovery APIs.
- Supports resumable step control with host predicates and persisted tool results.
- Keeps Rails optional through a Railtie that only loads when Rails is present.
- Uses Ruby stdlib for runtime behavior; development dependencies stay out of production installs.
Other Programming Languages (Beta)
The Agent SDK is available in multiple beta language packages. Use the same CLI-backed SDK model from another programming language:
- TypeScript -
Agent,Run, streaming, and JSON helpers for Node and B
Related Skills
Claude Launchpad
A clear, beginner-friendly guide to the Claude developer ecosystem — Claude API, Claude Desktop, Claude Code,
Claude Code Dual Boot Skill
A Claude Code skill to dual boot your Ruby application with Bundler and next_rails
Skill Orchestration System
Skill-first CLI for turning agent skills into reviewable, routing-friendly packs.
Claude Agent SDK
An Elixir SDK for Claude Code - provides programmatic access to Claude Code CLI with streaming message process
Claude Code Headless
Programmatically drive the real Claude Code CLI in a PTY — structured semantic/screen/committed events, live t
ClaudeAgentSdk.DotNet
Typed, AOT-compatible C# SDK for the Claude Code CLI. It is a port of the official Python SDK. It supports str
Related Agents
Karr Ref Worker
App::karr Git/ref storage worker — Git::Native and CLI fallback, refs-backed BoardStore persistence, CAS, lock
Lint Agent
Automatically corrects Ruby and Rails code style using RuboCop, ERB lint, and formatting tools. Use proactivel
Upgrade Auditor
Use this agent when a user describes an upgrade intent in natural language — e.g. "I need to upgrade Ruby to 3