Metadata-Version: 2.4
Name: darkfield-cli
Version: 0.2.2
Summary: Navigate the topology of mind - ML safety through persona vectors
Home-page: https://github.com/darkfield-ai/darkfield-cli
Author: Darkfield AI
Author-email: darkfield <contact@darkfield.ai>
License: MIT
Project-URL: Homepage, https://darkfield.ai
Project-URL: Documentation, https://darkfield.ai/docs
Project-URL: Repository, https://github.com/darkfield-ai/cli
Project-URL: Issues, https://github.com/darkfield-ai/cli/issues
Keywords: ai,ml,safety,persona-vectors,alignment
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: requests>=2.28
Requires-Dist: rich>=13.0
Requires-Dist: pydantic>=2.0
Requires-Dist: python-dotenv>=1.0
Requires-Dist: keyring>=24.0
Requires-Dist: tabulate>=0.9
Requires-Dist: tqdm>=4.65
Requires-Dist: websocket-client>=1.5
Requires-Dist: numpy>=1.24.0
Requires-Dist: PyYAML>=6.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# darkfield CLI

Command-line interface for the darkfield ML Safety Platform.

## Installation

### For Development

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

### For Production (when published)

```bash
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

```bash
# Authenticate
darkfield auth login

# Run a demo
darkfield analyze demo --trait sycophancy

# Check your usage
darkfield billing usage
```

## Development

```bash
# Install dependencies
pip install -e .

# Run tests
pytest

# Build distribution
python setup.py sdist bdist_wheel
```

## Publishing

```bash
# PyPI
python -m twine upload dist/*

# NPM (wrapper)
npm publish
```
