Skip to main content

hte-cli

Human Time-to-Completion Evaluation CLI - A tool for running assigned cybersecurity tasks with timing and result tracking.

Installation

# Recommended (pipx)
pipx install hte-cli

# Or with pip
pip install hte-cli

Quick Start

  1. Login (get credentials from your coordinator):

    hte-cli auth login
    
  2. View your assigned tasks:

    hte-cli tasks list
    
  3. Run a task:

    hte-cli tasks run
    

Commands

  • hte-cli auth login - Authenticate with the API
  • hte-cli auth status - Check authentication status
  • hte-cli tasks list - List your pending tasks
  • hte-cli tasks run [TASK_ID] - Run a task (defaults to highest priority)
  • hte-cli tasks pull-images - Pre-pull Docker images for upcoming tasks
  • hte-cli version - Show version info

System Requirements

All Platforms

  • Python 3.11+
  • Docker Engine >= 24.0.6
  • Docker Compose >= 2.21.0 (included in Docker Desktop 4.25+)

Windows

  • Docker Desktop with WSL2 backend enabled
  • WSL2 installed and configured (Microsoft docs)

macOS

  • Docker Desktop (Intel or Apple Silicon)
  • Note: Apple Silicon (M1/M2/M3) runs x86 containers via emulation - expect slightly slower performance

Linux

  • Docker Engine >= 24.0.6 with Compose plugin
  • User added to docker group: sudo usermod -aG docker $USER (log out and back in after)

Verify Docker Setup

# Check Docker Engine version (need >= 24.0.6)
docker version --format '{{.Client.Version}}'

# Check Docker Compose version (need >= 2.21.0)
docker compose version --short

# Test container can start
docker run --rm hello-world

If your Docker Compose version is too old, update Docker Desktop or install the latest compose plugin:

# Linux: Update compose plugin
sudo apt-get update && sudo apt-get install docker-compose-plugin

Configuration

Set HTE_API_URL environment variable to use a custom API endpoint:

export HTE_API_URL="http://your-server.com/api/v1/cli"

Support

For issues, contact your study coordinator or open an issue at: https://github.com/sean-peters-au/lyptus-mono


Developer Notes

This CLI is a thin wrapper with no consequential research decisions. It:

  • Wraps Inspect AI's human_cli agent for task execution
  • Syncs results to the backend API
  • Handles authentication via OAuth-style code exchange

The research-relevant code lives elsewhere:

  • Task sampling: scripts/sample_tasks_for_trials.py
  • Scoring criteria: src/human_ttc_eval/datasets/*/
  • Methodology: docs/methodology/human-expert-methodology-guide.md

Metadata

Release files for hte-cli 0.2.40

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hte-cli 0.2.40
File Size Uploaded Provenance Actions
hte_cli-0.2.40.tar.gz 224.6 kB Without provenance Details for hte_cli-0.2.40.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hte-cli 0.2.40
File Interpreter ABI Platform Actions
hte_cli-0.2.40-py3-none-any.whl Python 3 none any Details for hte_cli-0.2.40-py3-none-any.whl

Total release size: 260.0 kB

Release files / hte_cli-0.2.40.tar.gz

Download URL hte_cli-0.2.40.tar.gz
Size 224.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7eb2d18df788984b52222c54db29014b7d120fcd971ae42522b78ebf091c1244
BLAKE2b-256 checksum
How to use checksums
5a627545dc1c548052edb54b960d84ef243844043e2635f420e72aa72d195eff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.6

Release files / hte_cli-0.2.40-py3-none-any.whl

Download URL hte_cli-0.2.40-py3-none-any.whl
Size 35.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fca84b7cbeba6928a35af136dac6ee295f88e3ddc1632e9383f0c7a0d1b26f24
BLAKE2b-256 checksum
How to use checksums
0284895811c0256bf85ae0a2ab0b59a03a52433963a82e0b41afb127863bbe67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.6

Security for hte-cli 0.2.40

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.40 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page