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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file darkfield_cli-0.2.3.tar.gz.
File metadata
- Download URL: darkfield_cli-0.2.3.tar.gz
- Upload date:
- Size: 162.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c36df7dbd2ba216952f24630933370fd56d3a8a68cf62749bd43c8052982eff7
|
|
| MD5 |
1e8c02a4644288128637d6e219c928d3
|
|
| BLAKE2b-256 |
4458d2de929baefe893b5769fc5927cac83f65d98414b215f7727446b6e63335
|
File details
Details for the file darkfield_cli-0.2.3-py3-none-any.whl.
File metadata
- Download URL: darkfield_cli-0.2.3-py3-none-any.whl
- Upload date:
- Size: 62.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d46d048a9afd4c47117cefe42c4965122429bb201410650f0800d39ce9c0568e
|
|
| MD5 |
d85ed8191c5052b8576e166cd5f5837f
|
|
| BLAKE2b-256 |
d3278a97d48f19e7cd403bc0fd9c40dfda05201971faa7c55080d35893c573b8
|