Skip to main content

Vigil CLI: Observable, collaborative, reproducible science platform

Project description

Vigil CLI

Observable, collaborative, reproducible science platform.

Installation

Base Installation

# Install core CLI with uv
uv tool install cofactor-vigil

# Or with pip
pip install cofactor-vigil

The base installation includes only the core CLI commands (new, dev, build, run, promote, anchor, doctor, etc.).

MCP Server Installation

To use the MCP server (vigil mcp serve), install with the mcp extras:

# Install with MCP server support
uv tool install "cofactor-vigil[mcp]"

# Or with pip
pip install "cofactor-vigil[mcp]"

The mcp extras include:

  • mcp>=1.1.0 - MCP protocol server
  • polars>=0.20.0 - Fast data frame library for data previews

Quick Start

# Create a new project from a template
vigil new imaging-starter my-project
cd my-project

# Install dependencies
uv sync

# Preview the pipeline (dry-run)
vigil dev

# Execute the pipeline
vigil run --cores 4

# Promote artifacts to receipts
vigil promote

# Anchor receipts with Merkle proofs
vigil anchor

Commands

Project Management

  • vigil new <template> [path] - Create a new project from a template
  • vigil new --list - List available templates

Development

  • vigil dev - Dry-run the pipeline and preview the DAG
  • vigil build - Execute the pipeline without promotion
  • vigil run - Execute targets and optionally promote
  • vigil conformance - Check outputs against golden baselines (project-specific, not all templates include this)

Receipt Management

  • vigil promote - Generate Vigil receipts from artifacts
  • vigil anchor - Create Merkle anchors for receipts
  • vigil url - Print the vigil:// URL for the project
  • vigil verify - Verify receipt checksums and attestations

Health & Maintenance

  • vigil doctor - Run repository health checks (includes version mismatch detection)
  • vigil spec --sync - Sync workspace.spec.json with vigil.yaml
  • vigil spec --dry-run - Preview workspace spec changes
  • vigil version - Show installed version (alias for vigil --version)

Version Management: The vigil doctor command now checks for version mismatches between local and global installations, helping prevent issues from outdated CLI versions.

Documentation & Collaboration

  • vigil card init - Create experiment or dataset cards
  • vigil card lint - Validate card format and required fields
  • vigil notes new - Create timestamped lab notebook entries
  • vigil notes index - Regenerate lab notebook index

Workbench & AI

  • vigil ui bootstrap - Generate Workbench configuration
  • vigil mcp serve - Start the MCP server for assistants
  • vigil ai propose - Generate auto-target suggestions
  • vigil ai apply - Execute auto-target proposal

Templates

Available starter templates:

  • imaging-starter: Full-featured imaging pipeline with sciencecast timeline
  • genomics-starter: Comprehensive genomics workflow with variant filtering, annotation, and QC metrics (includes large file handling strategies)
  • minimal-starter: Smallest viable template for getting started

Genomics Template Features

The genomics-starter template demonstrates:

  • Variant quality filtering (PHRED scores, depth, allele frequency)
  • Functional annotation with gene and pathway information
  • Comprehensive QC metrics (Ti/Tv ratio, depth distribution, pathogenicity)
  • Large file handling strategies for NGS data (BAM, VCF, CRAM)
  • Data handles with offline fallbacks for disconnected development
  • Parquet format for efficient variant storage

Documentation

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cofactor_vigil-0.2.0.tar.gz (187.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cofactor_vigil-0.2.0-py3-none-any.whl (207.1 kB view details)

Uploaded Python 3

File details

Details for the file cofactor_vigil-0.2.0.tar.gz.

File metadata

  • Download URL: cofactor_vigil-0.2.0.tar.gz
  • Upload date:
  • Size: 187.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.10

File hashes

Hashes for cofactor_vigil-0.2.0.tar.gz
Algorithm Hash digest
SHA256 218e9a4a98b1014fca98a2184d96470858a530a516b614ca74a3e1a378e30419
MD5 979953c11cb86f1c0b880dcbd69e2146
BLAKE2b-256 7092bfb8fab590eec123c7312c8e2046a53def47e32a4e2e817f00ef5f50b3af

See more details on using hashes here.

File details

Details for the file cofactor_vigil-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cofactor_vigil-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee01628bfb0133060b0e528f57e5fa014ab674b0334bd239aa63f4ea6f1fe49
MD5 16e5460a165395cd1c80e5fe021a7f8a
BLAKE2b-256 c5d1b030cd1135f8824781c4105f6b5ebf78df7563ed58af03030a0a43d2f8a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page