Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ruby-agents

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby-agents

  • 0.2.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 12 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc