> This page is for NeMo Fabric, version v0.7.0.
> For other versions, use one of these documentation indexes:
> - Latest (v0.7.0) (default): https://docs.nvidia.com/nemo/fabric/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/fabric/dev/llms.txt
> - v0.7.0: https://docs.nvidia.com/nemo/fabric/v0.7.0/llms.txt
> - v0.6.1: https://docs.nvidia.com/nemo/fabric/v0.6.1/llms.txt
> - v0.6.0: https://docs.nvidia.com/nemo/fabric/v0.6.0/llms.txt
> - v0.5.0: https://docs.nvidia.com/nemo/fabric/v0.5.0/llms.txt
> - v0.4.0: https://docs.nvidia.com/nemo/fabric/v0.4.0/llms.txt
> - v0.3.0: https://docs.nvidia.com/nemo/fabric/v0.3.0/llms.txt
> - v0.2.0: https://docs.nvidia.com/nemo/fabric/v0.2.0/llms.txt
> - v0.1.1: https://docs.nvidia.com/nemo/fabric/v0.1.1/llms.txt
> - v0.1.0: https://docs.nvidia.com/nemo/fabric/v0.1.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/fabric/llms.txt.

# Scaffold an Application

> Generate and run Python or Rust applications from maintained CLI examples.

These commands require the separately installed [experimental CLI](/nemo/fabric/experimentation/install).

## Scaffold Examples

Generate ordinary application code when you want to customize an example. The
default `scripted` variant is credential-free:

```bash
nemo-fabric example init code-review my-agent --language python
nemo-fabric example init code-review my-agent-rs --language rust
```

Add a selector such as `--variant hermes` to scaffold a non-default variant. A
non-default variant requires its adapter package and credentials.

### Run a Python Scaffold

Create and activate a virtual environment, install the generated application,
and run its launcher:

```bash
cd my-agent
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
python main.py "Review the workspace"
```

The Python scaffold constructs `FabricConfig` and calls the Python SDK
directly.

### Run a Rust Scaffold

Build and run the generated Rust application:

```bash
cd my-agent-rs
cargo run -- "Review the workspace"
```

The Rust scaffold constructs `FabricConfig` and calls `fabric-core` directly.
When the CLI is built from a source checkout, the generated manifest uses an
absolute path to that checkout's `crates/fabric-core`. Keep the checkout
available, or replace the path dependency with a compatible published version
before moving the scaffold. Neither scaffold is loaded back into the central
CLI.