OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Coding Tools

Parsel

Parsel is a Python natural-language framework that uses code language models to generate programs for a target language. It evaluates combinations of candidate function implementations against unit tests or other constraints, with documented uses in code synthesis, robotic planning and theorem proving.

Independent OpenViST project profile, based on linked sources.

Parsel — Constraint-guided search across multiple candidate function implementations
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Parsel when a programming task can be represented through candidate functions and checked against tests or other constraints, especially for algorithmic synthesis experiments.

Who it is for

  • Developers exploring constrained program synthesis from natural-language descriptions.
  • Researchers prototyping algorithmic reasoning workflows, including robotic-planning or theorem-proving tasks.

Documented uses

  • Generate candidate implementations for functions described in natural language.
  • Search combinations of candidates for programs satisfying unit tests or other constraints.
  • Use automatic test generation in workflows where tests are not supplied.
  • Configure Lean output for supported inputs.
Before you choose

Requirements & limits

The code repository is publicly accessible. The README specifies an OpenAI organization ID and API key file for using OpenAI models; no license is listed in the supplied metadata.

  • The search depends on unit tests or other constraints to identify candidate programs that pass.
  • Automatic test generation is documented as an option when tests are absent.
  • The documented setup installs the OpenAI Python package, and OpenAI model use requires a credential file.
  • Lean output requires changing the configured mode and having Lean installed.
  • A new target language requires adding a configuration file under consts/ and registering it in consts/__init__.py; this does not establish support for every language.

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

Set up Parsel for its documented OpenAI workflow

Prepare the repository and OpenAI package, and configure the credential file required by the README.

Before you start

  • Python and a command-line environment
  • An OpenAI organization ID and API key

Steps

  1. Clone https://github.com/ezelikman/parsel.git.

  2. Install the OpenAI Python package with the command below.

    Documented command
    pip install openai
  3. Create keys/codex_key.txt in the format organization_id:api_key.

Expected outcome

The documented repository and package setup is in place, with the credential file in the specified format.

Guide limitations

  • This setup recipe does not establish that a program has run successfully.
  • The README documents OpenAI model credentials; model access or terms are not specified here.
Source-based practical guide

Configure Parsel for Lean output

Set the documented Lean mode for an input program.

Before you start

  • A Parsel repository checkout
  • Lean installed

Steps

  1. Change the mode in consts/__init__.py to lean.

  2. Use the documented programs/and_commute.ss example as the input.

Expected outcome

The README describes generation of a Lean file in the same directory as the input file.

Guide limitations

  • The documented path is for a supported example program and requires a Lean installation.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 November 2026
Original website title
ezelikman/parsel · Official homepage title · retained in its source language