Skip to content

jeffmcfadden/agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A library for building and managing AI agents within your application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages