Documentation Index
Fetch the complete documentation index at: https://mintlify.com/skydiscover-ai/skydiscover/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This page provides a comprehensive reference for all command-line flags and arguments available in SkyDiscover’s CLI tools.skydiscover-run Flags
Main command for running evolutionary discovery.Positional Arguments
Position: 1st argumentDescription: Path to the initial program file to seed the search. Optional - if omitted, search starts from scratch.Example:
Position: 2nd argument (or 1st if initial_program omitted)Description: Path to the evaluation file that must define an
evaluate function to score generated programs.Example:Configuration Flags
Alias: See also: Configuration
-cDefault: NoneDescription: Path to YAML configuration file. Defines search parameters, LLM settings, and algorithm configuration.Example:Alias: Output structure:
-oDefault: Auto-generated based on search algorithm and timestampDescription: Directory path for storing results, checkpoints, programs, and logs.Example:Search Parameters
Alias: Note: Each iteration may generate multiple candidate programs depending on the search algorithm.
-iDefault: From config file, or 100 if not specifiedDescription: Maximum number of search iterations to execute. Overrides config file value.Example:Alias: Example:
-sDefault: From config file, or evox if not specifiedDescription: Search algorithm to use for evolutionary discovery.Choices:- Built-in Algorithms
- External Backends
evox- Default evolutionary search with configurable operatorsadaevolve- Adaptive evolutionary algorithm that adjusts strategybest_of_n- Simple best-of-N sampling without evolutionbeam_search- Maintains top-K programs and expands themtopk- Top-K selection strategy
LLM Configuration
Alias: Supported providers:
-mDefault: From config file, or gpt-5 if not specifiedDescription: LLM model(s) for solution generation. Supports single model or comma-separated list for multi-model ensemble with automatic load balancing.Format:- Simple:
model-name - With provider:
provider/model-name - Multiple:
model1,model2,model3
openai(default)anthropicgemini/google- Custom via
--api-base
Default: Provider-specific default (e.g.,
https://api.openai.com/v1)Description: Base URL for LLM API requests. Used for local models, custom endpoints, or alternative providers.Examples:Advanced Options
Default: Output:
falseDescription: Enable agentic mode for multi-file codebase editing. The LLM can read and modify multiple files in the codebase directory.Behavior:- Codebase root automatically set to
dirname(initial_program) - LLM receives file system context
- Mutations can span multiple files
- Best for complex refactoring tasks
Default: Output:Notes:
NoneDescription: Path to checkpoint directory to resume from. Loads saved state including all programs, metrics, and search progress.Example:- The
--iterationsflag specifies total iterations, not additional iterations - Checkpoint must be from the same search algorithm
- Evaluation function must be compatible
Logging
Alias: Output samples:
-lDefault: WARNINGDescription: Logging verbosity level for console output.Choices: DEBUG, INFO, WARNING, ERROR, CRITICALExamples:skydiscover-viewer Flags
Visualization tool for completed runs.Positional Arguments
Position: 1st argumentDescription: Path to output directory, checkpoint directory, or any directory containing program JSON files.Auto-detection order:
- Direct checkpoint dir (
metadata.json+programs/) - Programs subdirectory with JSON files
- Latest
checkpoint_Nin directory - Latest in
checkpoints/subdirectory - Latest in
<subdir>/checkpoints/(e.g.,island/checkpoints/) - Flat directory with
*.jsonfiles
Server Options
Default: Access:
8765Description: TCP port for the web dashboard server.Example:http://localhost:9000/Default:
127.0.0.1Description: Host address to bind the server. Use 0.0.0.0 for external access.Examples:Summary Generation
Default: Summary features:
gpt-5-mini if OPENAI_API_KEY is set, otherwise disabledDescription: LLM model for generating per-program summaries and global run analysis. Requires OPENAI_API_KEY environment variable.Examples:- Per-program: algorithmic changes, innovation description
- Global: search trajectory, breakthrough moments, patterns
- On-demand: generated when viewing program details
Environment Variables
Environment variables that affect CLI behavior:Required for: OpenAI models, viewer summariesDescription: API key for OpenAI services.Example:
Required for: Anthropic modelsDescription: API key for Anthropic Claude models.Example:
Required for: Google Gemini modelsDescription: API key for Google Gemini models.Example:
Flag Combinations
Common Workflows
Quick Experiment
Quick Experiment
Minimal flags for rapid testing:
Production Run
Production Run
Full configuration with checkpointing:
Multi-Model Ensemble
Multi-Model Ensemble
Load-balanced multiple LLMs:
Resume and Continue
Resume and Continue
Resume from checkpoint with more iterations:
Local Model Testing
Local Model Testing
Use locally hosted LLM:
Agentic Codebase Evolution
Agentic Codebase Evolution
Multi-file editing mode:
Flag Priority
When the same parameter is specified in multiple places:
Example:
Exit Codes
Discovery completed successfully or viewer stopped gracefully.
Error occurred during execution:
- File not found (program or evaluator)
- Invalid configuration
- Checkpoint not found
- Missing required package
- Evaluation failure
- LLM API error
See Also
skydiscover-run
Detailed run command guide
skydiscover-viewer
Detailed viewer guide
Configuration
YAML configuration reference
Evaluators
Writing evaluation functions
Search Algorithms
Available search strategies
Quick Start
Get started tutorial