ruby-crewai: The missing Ruby SDK for CrewAI's multi-agent AI API
CrewAI is one of the fastest-growing multi-agent AI frameworks right now, but it’s Python-only. There’s no official Ruby SDK, which means Rails developers have been left out.
ruby-crewai fills that gap.
A minimal, production-grade Ruby client for the CrewAI AMP REST API, the interface that lets you run, monitor, and control AI crews programmatically from Ruby.
```ruby client = CrewAI::Client.new
response = client.kickoff(inputs: { topic: “Ruby gems for AI integration” }) client.status(response[“kickoff_id”]) ```
What it covers:
-
inputs— discover what your crew needs before kickoff -
kickoff— start a crew run, returns akickoff_id -
status— poll an async run -
resume— continue a crew paused at a human-in-the-loop step
Error handling is typedL AuthenticationError, TimeoutError,
ServerError, NotFoundError, so you can rescue granularly in
production rather than catching a generic exception.
One runtime dependency (Faraday >= 2). Ruby 3.1+. MIT licensed.
Post a comment