0.0
No release in over a year
Setup and organize requests between multiple AI agents.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.9.5
 Project Readme

agents

A ruby library for building and managing AI agents within your application.

Getting Started

Gemfile:

gem 'ruby-agents'

bundle install

OR

$ gem install ruby-agents
require 'agents'

Usage

  require 'agents'

Built-in Agents

Building Your Own Agents

Using a Dispatcher

Running Actions

Prompt Injection

At this time there is no built-in protection from prompt injection/jailbreak/etc.

Testing

Use tldr to run the tests.

$ bundle install
$ tldr --watch

By 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