A ruby library for building and managing AI agents within your application.
Gemfile:
gem 'ruby-agents'bundle install
$ gem install ruby-agentsrequire 'agents' require 'agents'At this time there is no built-in protection from prompt injection/jailbreak/etc.
Use tldr to run the tests.
$ bundle install
$ tldr --watchBy default, no network calls are made while testing. If you want to test the full path into OpenAI, you can run that with:
$ OPENAI_ACCESS_TOKEN="sk-123YourToken" bundle exec ruby test/test_openai.rb