Here is a collection of links to RiveScript interpreters built in various
programming languages. If the language you want to see an interpreter for isn't
listed, why not create it? Head to Developers
for more information.
quirks and differences in their support of RiveScript. All of them currently
support everything in the Working Draft, but some go above and beyond in
certain areas. See my comparison of implementations
for a (hopefully) up-to-date listing of specific features.
If you would like to contribute any code changes (bug fixes or feature
additions), please see the contributing information.
First Party Libraries
These are RiveScript interpreters written by Noah Petherbridge. For the most
part, all of these libraries will be kept in sync with new features. These
are the "official" RiveScript libraries, written by the author of RiveScript!
Choose your programming language...
A RiveScript interpreter for the Go programming language.
- Object macros may be defined in Go, but they must be compiled into
your program (not dynamically loaded in RiveScript source code).
Install with go get
You can install the source code into your Go path:
$ go get github.com/aichaos/rivescript-go
Afterward, you can install the stand-alone RiveScript interpreter executable
$ go install github.com/aichaos/rivescript-go/cmd/rivescript
Documentation for RiveScript-Go is available on Godoc:
You can download the latest bleeding-edge version of RiveScript-Go at GitHub:
A RiveScript interpreter for the Java programming language.
- Since Java isn't a dynamic language, there is no default language
handlers for RiveScript objects. However, there is some code
included to allow you to use Perl objects.
You can download the latest bleeding-edge version of RiveScript-Java at GitHub:
- This library can be used both on the web (using jQuery, with ajax requests
to load RiveScript documents), or as a module for node.js
You can run a RiveScript.js demo in your browser!
Install with npm
You can install RiveScript as a Node Packaged Module (npm):
$ npm install rivescript
See also: npm package page
Embed from CDN
To embed RiveScript on your web page using a CDN link:
You can check out the progress of rivescript-js on GitHub:
The original RiveScript interpreter! This is RiveScript for the Perl 5
- This supports Perl objects in RiveScript code by default.
- This distribution comes with the
line utility that lets you interactively test your RiveScript
bot. It can also be used in "JSON Mode" so a third-party program
can interact with it.
Install with cpan
You can use
install this module:
$ cpanm RiveScript
You can download the latest bleeding-edge version of RiveScript-Perl at GitHub:
A RiveScript interpreter for the Python programming language.
- This works for both Python 2 & Python 3.
- This supports Python objects in RiveScript code by default.
- The package
rivescript can also be executed directly,
and it will behave the same as the
line utility from RiveScript-Perl: you can interactively test your
RiveScript bot with it. Also, it supports "JSON Mode", so that a third
party program can communicate with your bot using JSON.
Install with pip
You can install RiveScript from the Python Package Index (PyPI):
$ pip install rivescript
$ easy_install rivescript
You can download the latest bleeding-edge version of RiveScript-Python at GitHub:
Documentation for RiveScript-Python is hosted through PyPI:
Third Party Libraries
These are RiveScript interpreters written by other authors. Some of them may
still be in active development and not ready or usable yet for the general
A RiveScript interpreter for the C# programming language.
This implementation was written by Fábio Ávila
and used the Java version as reference. It's a feature-complete implementation.
Check its GitHub repository for the source code and current development status.
You can check out the progress of RiveScript-C# at GitHub:
A RiveScript interpreter for the PHP programming language.
This implementation is being developed by Shea Lewis
Check its GitHub repository for its current development status.
You can check out the progress of RiveScript-PHP at GitHub:
Web design and content copyright © 2018 Noah Petherbridge.