Aller au contenu

Forra CLI

The Forra CLI (forracli) is the primary command-line tool for extending Forra with custom capabilities. It streamlines the development, packaging, and deployment of Skills (Functions) and Applications.

What is Forra CLI?

Forra CLI provides commands to:

  • Initialize projects - Generate scaffolding for Assistants, Skills and Applications with templates
  • Deploy capabilities - Upload and activate them
  • List - Show currently deployed Assistants and Skills

Installation

Forra CLI is installed as part of the Forra SDK:

pip install forrasdk

Verify the installation:

forracli --version

The legacy scoutcli entry point still works as an alias of forracli.

See the Python SDK Getting Started guide for detailed installation instructions.

Configuration

API Authentication

Most commands require Forra API credentials. Configure these in your project's forra_context.json:

{
    "FORRA_API_URL": "https://your-forra-instance.com",
    "FORRA_API_ACCESS_TOKEN": "your-api-token"
}

You can also set these via environment variables: - FORRA_API_URL - FORRA_API_ACCESS_TOKEN