Setting up SpecForge
The SpecForge suite consists of a few components:
- The SpecForge Server which is the backend server which the other components connect to. It can be run via Docker or as an executable.
- The SpecForge VSCode Extension which provides Lilo Language support in VSCode for editing and managing specifications, as well as rendering interactive visualizations.
- The SpecForge Python SDK which provides an API for interacting with the SpecForge server from Python code. This can be used to communicate and exchange specifications or data with the SpecForge server from Python scripts or Jupyter notebooks.
All necessary files can be obtained from the SpecForge releases page.
Quick Start
Follow these steps to get started quickly:
- Install dependencies
z3andrsvg-converter(see OS-specific instructions;rsvg-converteris optional) - Download and extract the SpecForge executable for your operating system
- Configure your license (place
license.jsonin the appropriate location for your OS) - (Optional) Configure LLM provider by setting environment variables (e.g.,
LLM_PROVIDER=openai,OPENAI_API_KEY=...) - see LLM Provider Configuration - Start the SpecForge server:
./specforge serve(or.\specforge.exe serveon Windows) - Install the VSCode Extension (see docs)
- Create a directory for your project and place your
.lilofiles directly in it - Open the directory in VSCode and start writing specifications
Note: The lilo.toml project configuration file is optional. For initial setup, you can skip it and place your specification and data files directly in the project root. See Project Configuration for details on when and how to use lilo.toml.
Detailed Setup Instructions
Choose your platform for detailed setup instructions: