Skip to content

Quick start ​

This guide gets a local ReliaForge instance running on your machine, calls the two built-in example plugins, and generates a working plugin from the scaffold. If you only want to browse the interface first, open the hosted demo.

Prerequisites ​

  • Python 3.11+
  • Git
  • Node.js 20+ and npm 10+ (only needed if you run the React console from source or build custom UI bundles)

1. Start the backend ​

Clone reliaforge-backend, create a virtual environment, and start the development server:

bash
git clone https://github.com/ReliaForge/reliaforge-backend.git
cd reliaforge-backend
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
cp .env.example .env
reliaforge

On Windows PowerShell, activate the environment with .venv\Scripts\Activate.ps1.

By default the development server binds to 127.0.0.1:8000.

2. Verify loaded plugins ​

Keep the backend running and query its status and bundled examples from a second terminal:

bash
curl http://127.0.0.1:8000/api/v1/status
curl http://127.0.0.1:8000/api/v1/plugins
curl http://127.0.0.1:8000/api/v1/plugins/demo/greeting
curl http://127.0.0.1:8000/api/v1/plugins/runbook/preview

All four commands should return HTTP 200. demo returns a greeting string, and runbook reads that string through demo's shared Python service to demonstrate inter-plugin dependencies without touching external systems.

3. Generate and load your first plugin ​

Stop the backend with Ctrl+C, scaffold sample_tool, and point RELIAFORGE_PLUGIN_PATHS at the parent directory:

bash
reliaforge-scaffold sample_tool --destination ./local-plugins
RELIAFORGE_PLUGIN_PATHS=./local-plugins reliaforge

On Windows PowerShell:

powershell
$env:RELIAFORGE_PLUGIN_PATHS = "./local-plugins"
reliaforge

Call the generated endpoint from your second terminal:

bash
curl --fail http://127.0.0.1:8000/api/v1/plugins/sample_tool/message

Expected response:

json
{"message": "Generated plugin is running", "plugin_id": "sample_tool"}

If curl returns 404, check that RELIAFORGE_PLUGIN_PATHS points to ./local-plugins (the parent folder), not ./local-plugins/sample_tool.

4. Run the web console locally ​

In a separate terminal beside reliaforge-backend:

bash
git clone https://github.com/ReliaForge/reliaforge-frontend.git
cd reliaforge-frontend
cp .env.example .env
npm ci
npm run dev

Open http://127.0.0.1:5530. The console automatically picks up your browser language (en or zh) and system light/dark theme.

Next steps ​

Released under the MIT License.