# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/darkfield-ai/darkfield-cli",
"name": "darkfield-cli",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "ai, ml, safety, persona-vectors, alignment",
"author": "Darkfield AI",
"author_email": "darkfield <contact@darkfield.ai>",
"download_url": "https://files.pythonhosted.org/packages/44/58/d2de929baefe893b5769fc5927cac83f65d98414b215f7727446b6e63335/darkfield_cli-0.2.3.tar.gz",
"platform": null,
"description": "# darkfield CLI\n\nCommand-line interface for the darkfield ML Safety Platform.\n\n## Installation\n\n### For Development\n\n```bash\n# From the cli directory\n./install-local.sh\n```\n\n### For Production (when published)\n\n```bash\npip install darkfield-cli\n# or\nnpm install -g @darkfield/cli\n```\n\n## First Run\n\nWhen you first run darkfield, you'll see:\n\n```\n \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \n \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2554\u255d\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d\u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\n \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\n \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u255d \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255d \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\n \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\n \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u255d\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u255d\u255a\u2550\u2550\u2550\u2550\u2550\u255d \n\n ML Safety Platform Command Line Interface\n Protecting AI from harmful personas \u2022 v0.1.0\n```\n\n## Quick Start\n\n```bash\n# Authenticate\ndarkfield auth login\n\n# Run a demo\ndarkfield analyze demo --trait sycophancy\n\n# Check your usage\ndarkfield billing usage\n```\n\n## Development\n\n```bash\n# Install dependencies\npip install -e .\n\n# Run tests\npytest\n\n# Build distribution\npython setup.py sdist bdist_wheel\n```\n\n## Publishing\n\n```bash\n# PyPI\npython -m twine upload dist/*\n\n# NPM (wrapper)\nnpm publish\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Navigate the topology of mind - ML safety through persona vectors",
"version": "0.2.3",
"project_urls": {
"Documentation": "https://darkfield.ai/docs",
"Homepage": "https://darkfield.ai",
"Issues": "https://github.com/darkfield-ai/cli/issues",
"Repository": "https://github.com/darkfield-ai/cli"
},
"split_keywords": [
"ai",
" ml",
" safety",
" persona-vectors",
" alignment"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d3278a97d48f19e7cd403bc0fd9c40dfda05201971faa7c55080d35893c573b8",
"md5": "d85ed8191c5052b8576e166cd5f5837f",
"sha256": "d46d048a9afd4c47117cefe42c4965122429bb201410650f0800d39ce9c0568e"
},
"downloads": -1,
"filename": "darkfield_cli-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d85ed8191c5052b8576e166cd5f5837f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 62654,
"upload_time": "2025-08-14T16:26:25",
"upload_time_iso_8601": "2025-08-14T16:26:25.808016Z",
"url": "https://files.pythonhosted.org/packages/d3/27/8a97d48f19e7cd403bc0fd9c40dfda05201971faa7c55080d35893c573b8/darkfield_cli-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4458d2de929baefe893b5769fc5927cac83f65d98414b215f7727446b6e63335",
"md5": "1e8c02a4644288128637d6e219c928d3",
"sha256": "c36df7dbd2ba216952f24630933370fd56d3a8a68cf62749bd43c8052982eff7"
},
"downloads": -1,
"filename": "darkfield_cli-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "1e8c02a4644288128637d6e219c928d3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 162699,
"upload_time": "2025-08-14T16:26:27",
"upload_time_iso_8601": "2025-08-14T16:26:27.256974Z",
"url": "https://files.pythonhosted.org/packages/44/58/d2de929baefe893b5769fc5927cac83f65d98414b215f7727446b6e63335/darkfield_cli-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-14 16:26:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "darkfield-ai",
"github_project": "darkfield-cli",
"github_not_found": true,
"lcname": "darkfield-cli"
}