Skip to main content

Navigate the topology of mind - ML safety through persona vectors

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

darkfield CLI

Command-line interface for the darkfield ML Safety Platform.

Installation

For Development

# From the cli directory
./install-local.sh

For Production (when published)

pip install darkfield-cli
# or
npm install -g @darkfield/cli

First Run

When you first run darkfield, you'll see:

    ██████╗  █████╗ ██████╗ ██╗  ██╗███████╗██╗███████╗██╗     ██████╗ 
    ██╔══██╗██╔══██╗██╔══██╗██║ ██╔╝██╔════╝██║██╔════╝██║     ██╔══██╗
    ██║  ██║███████║██████╔╝█████╔╝ █████╗  ██║█████╗  ██║     ██║  ██║
    ██║  ██║██╔══██║██╔══██╗██╔═██╗ ██╔══╝  ██║██╔══╝  ██║     ██║  ██║
    ██████╔╝██║  ██║██║  ██║██║  ██╗██║     ██║███████╗███████╗██████╔╝
    ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝╚══════╝╚═════╝ 

    ML Safety Platform Command Line Interface
    Protecting AI from harmful personas • v0.1.0

Quick Start

# Authenticate
darkfield auth login

# Run a demo
darkfield analyze demo --trait sycophancy

# Check your usage
darkfield billing usage

Development

# Install dependencies
pip install -e .

# Run tests
pytest

# Build distribution
python setup.py sdist bdist_wheel

Publishing

# PyPI
python -m twine upload dist/*

# NPM (wrapper)
npm publish

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

darkfield_cli-0.2.2.tar.gz (162.6 kB view details)

Uploaded Source

Built Distribution

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

darkfield_cli-0.2.2-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

Details for the file darkfield_cli-0.2.2.tar.gz.

File metadata

  • Download URL: darkfield_cli-0.2.2.tar.gz
  • Upload date:
  • Size: 162.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for darkfield_cli-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d9d3ca17e3e5bfd467c4cc9d4e382ed7bb8258a11d097b7b7065abc70b92d7d7
MD5 c22288f6fe75331fa4343b8a22e7f577
BLAKE2b-256 18b5b2d24251541dd5e87a1edd5c9de5d82b325c12365d26ad8f84fb520ec8fe

See more details on using hashes here.

File details

Details for the file darkfield_cli-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: darkfield_cli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 62.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for darkfield_cli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 63e617525313fe268811a8a9938378adc0492c5b296f4544cfe01f32c9c3da09
MD5 bc69de2d3103b1df230b9e2b45876a78
BLAKE2b-256 325dfdd5f8f300980704f8b7fe6c18cadb03babfdac39ac40920e66b5e9d5707

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