OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Rasp

Rasp is a Python library implementing Restricted Access Sequence Processing (RASP), a language for expressing sequence transformations that could be learned by transformers. It provides selection, aggregation, and selector-width operations, alongside example sequence tasks and neural primitives.

Independent OpenViST project profile, based on linked sources.

Rasp — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Rasp when you want to describe a discrete sequence task in RASP and investigate its relationship to transformer computations.

Who it is for

  • Python developers exploring transformer-related sequence-processing programs.
  • Researchers and learners who want to express or study tasks such as reversal, sorting, token counting, or Dyck-prefix classification.

Documented uses

  • Express a sequence transformation using RASP operations.
  • Prototype examples such as reversal, histograms, sorting, and frequency-based token ordering.
  • Explore how a transformer might be trained to mimic a RASP solution.
Before you choose

Requirements & limits

The repository lists an MIT license and documents installation through pip from GitHub.

  • The core interface is a Python implementation of RASP, not a general-purpose conversational AI service.
  • The README marks its reversal example as work in progress.
  • The repository lists neural primitives and tests, while its examples cover several discrete sequence tasks.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install the RASP library from GitHub

Install the Python RASP library using the installation method shown in its README.

Before you start

  • Python environment with pip available.

Steps

  1. Run the command below.

    Documented command
    pip install git+https://github.com/yashbonde/rasp
  2. Import RaspModule from rasp when following the README's example.

Expected outcome

The README provides an installation route and shows the library imported as `from rasp import RaspModule`.

Guide limitations

  • The README does not specify Python or operating-system compatibility details.
  • The reverse example is marked WIP; installation alone does not establish that the example runs successfully.
Source-based practical guide

Run the repository test suite

Invoke the test suite described by the repository README.

Before you start

  • The repository code and its test dependencies must be available in the working environment.

Steps

  1. Obtain the repository code.

  2. Run pytest -v from the repository context, as stated in the README.

Expected outcome

The README identifies `pytest -v` as the command for running the tests in `test/`.

Guide limitations

  • This command is documented, but successful test execution is not verified here.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
yashbonde/rasp · Official homepage title · retained in its source language