{"id":27477113,"url":"https://github.com/anthropics/anthropic-sdk-ruby","last_synced_at":"2026-05-05T18:01:44.088Z","repository":{"id":287097116,"uuid":"944225883","full_name":"anthropics/anthropic-sdk-ruby","owner":"anthropics","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-30T17:30:46.000Z","size":5690,"stargazers_count":328,"open_issues_count":13,"forks_count":53,"subscribers_count":15,"default_branch":"main","last_synced_at":"2026-05-01T03:05:24.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthropics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T01:48:22.000Z","updated_at":"2026-04-30T08:42:34.000Z","dependencies_parsed_at":"2026-01-06T08:01:28.522Z","dependency_job_id":null,"html_url":"https://github.com/anthropics/anthropic-sdk-ruby","commit_stats":null,"previous_names":["anthropics/anthropic-sdk-ruby"],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/anthropics/anthropic-sdk-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthropics","download_url":"https://codeload.github.com/anthropics/anthropic-sdk-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fanthropic-sdk-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32661193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-16T08:04:12.274Z","updated_at":"2026-05-05T18:01:44.083Z","avatar_url":"https://github.com/anthropics.png","language":"Ruby","funding_links":[],"categories":["Ruby","🏢 Official Anthropic Resources","AI and LLMs"],"sub_categories":["🔧 SDKs \u0026 Development Tools"],"readme":"# Claude SDK for Ruby\n\n[![Gem Version](https://img.shields.io/gem/v/anthropic.svg)](https://rubygems.org/gems/anthropic)\n\nThe Claude SDK for Ruby provides access to the [Claude API](https://docs.anthropic.com/en/api/) from Ruby applications.\n\n## Documentation\n\nFull documentation is available at **[platform.claude.com/docs/en/api/sdks/ruby](https://platform.claude.com/docs/en/api/sdks/ruby)**.\n\n## Installation\n\nAdd to your application's Gemfile:\n\n\u003c!-- x-release-please-start-version --\u003e\n\n```ruby\ngem \"anthropic\", \"~\u003e 1.38.0\"\n```\n\n\u003c!-- x-release-please-end --\u003e\n\n## Getting started\n\n```ruby\nrequire \"bundler/setup\"\nrequire \"anthropic\"\n\nanthropic = Anthropic::Client.new(\n  api_key: ENV[\"ANTHROPIC_API_KEY\"] # This is the default and can be omitted\n)\n\nmessage = anthropic.messages.create(\n  max_tokens: 1024,\n  messages: [{role: \"user\", content: \"Hello, Claude\"}],\n  model: \"claude-opus-4-6\"\n)\n\nputs(message.content)\n```\n\n## Requirements\n\nRuby 3.2.0+\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\nThank you [@alexrudall](https://github.com/alexrudall) for giving feedback, donating the anthropic Ruby Gem name, and paving the way by building the first Anthropic Ruby SDK.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthropics%2Fanthropic-sdk-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthropics%2Fanthropic-sdk-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthropics%2Fanthropic-sdk-ruby/lists"}