Getting Started with NubiferAI
Getting Started
Installation
Standalone Installation
# Install from PyPI
pip install nubiferai
# Or install in a virtual environment
python3 -m venv ~/.local/nubiferai-venv
source ~/.local/nubiferai-venv/bin/activate
pip install nubiferai
NubiferOS Installation
If you're running NubiferOS, install NubiferAI as an add-on:
nubi addon install nubiferai
This automatically configures workspace integration, credentials, and safety classification.
System Requirements
- Python 3.11 or later
- GTK4 and libadwaita (for the GUI application)
- An AI provider (see Providers)
GTK4 Dependencies (Linux)
# Ubuntu/Debian
sudo apt install python3-gi gir1.2-gtk-4.0 gir1.2-adw-1 libadwaita-1-dev
# Fedora
sudo dnf install python3-gobject gtk4 libadwaita-devel
# Arch
sudo pacman -S python-gobject gtk4 libadwaita
First Launch
GUI Application
nubiferai-gtk
On first launch you'll see:
- Header bar — Workspace indicator, safety classification, provider/model selectors
- Status bar — Shows whether you're in standalone mode or connected to NubiferOS
- Prompt area — Where you describe what you want to do
- Quick Actions — Pre-configured buttons grouped by category (AWS, GCP, Azure, etc.)
If no API key is configured, you'll see a "Standalone Mode" banner with a link to Settings.
CLI
# Check your environment
nubiferai status
# List available seeds
nubiferai seed list
# Generate your first nucleation
nubiferai nucleate "Create an S3 bucket with versioning enabled"
Configuring a Provider
Before generating nucleations, you need at least one AI provider configured. The quickest options:
Free: Ollama (Local)
Run AI models on your own machine — no API key, no cost:
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull a model
ollama pull llama3.2
# Set as your provider
nubiferai config --init
# Select "ollama" when prompted
Paid: Anthropic Claude (Recommended)
Best quality for infrastructure planning:
# Set your API key
export ANTHROPIC_API_KEY="sk-ant-your-key-here"
# Add to your shell profile for persistence
echo 'export ANTHROPIC_API_KEY="sk-ant-your-key-here"' >> ~/.bashrc
See Providers for all options including OpenAI and AWS Bedrock.
Your First Nucleation
Via GUI
- Select a provider and model from the header bar dropdowns
- Optionally click a Quick Action (e.g., "Deploy to AWS") to pre-select a seed
- Type your request: "Create a VPC with public and private subnets in us-east-1"
- Press Ctrl+Enter or click Generate
- Review the generated nucleation — actions grouped by operation type
- Click View Code to see the Terraform/shell output
- Click Export to save to a file
- Click Precipitate to execute (with safety confirmation)
Via CLI
# Generate a nucleation
nubiferai nucleate "Create a VPC with public and private subnets in us-east-1"
# Use a specific seed
nubiferai nucleate --seed terraform-expert "Refactor my ECS cluster to use Fargate"
# Export to Terraform
nubiferai nucleate --seed aws-deployer "Deploy Redis on ElastiCache" --export terraform
# Execute directly (with confirmation)
nubiferai front
Configuration
NubiferAI configuration is stored at ~/.config/nubiferai/config.toml:
provider = "claude"
default_seed = "aws-deployer"
require_confirmation = true
[safety]
classification = "development"
can_plan = true
can_apply = true
require_confirmation = true
Configuration Hierarchy
Settings are resolved in this order (later overrides earlier):
- System defaults — built-in defaults
- User config —
~/.config/nubiferai/config.toml - Workspace config —
.nubiferai/config.tomlin workspace root - Environment variables —
NUBIFERAI_PROVIDER, etc. - NubiferOS overrides — workspace safety classification (if on NubiferOS)
- Command-line flags —
--provider,--seed, etc.
Safety Classification
NubiferAI enforces safety rules based on the environment classification:
| Level | Behavior |
|---|---|
| sandbox | No restrictions, no confirmation required |
| development | Standard confirmation before execution |
| staging | Destructive operations require double confirmation |
| production | Destructive operations are completely blocked |
On NubiferOS, the safety classification is set automatically based on your workspace configuration.