Skip to main content

Tenx assessment CLI

Project description

assessment-cli

CLI client for Tenx hiring assessments.

Highlights

  • Uses the Claude Agent SDK for local interactive coding sessions.
  • Sends cleaned chat messages to assessment-proxy over HTTP when configured.

Setup

python -m venv .venv
.venv\Scripts\activate
pip install -e ".[dev]"
copy .env.example .env

Set ANTHROPIC_API_KEY in .env before running.

Run

tenx-ai

The CLI starts a 60-minute assessment timer when the process starts. Use /time to display the remaining time.

Set TENX_ASSESSMENT_DURATION_SECONDS in .env to override the timer length.

Or:

python -m assessment_cli

Submit changes

Run this from your assessment workspace to stage, commit, and push:

tenx-submit

Optional commit message:

tenx-submit --message "Assessment submission"

Chat history persistence

Set these in .env to enable persistence:

  • ASSESSMENT_PROXY_URL (for example http://localhost:8000)
  • ASSESSMENT_PROXY_TOKEN (must match the proxy’s PROXY_BEARER_SECRET)

When ASSESSMENT_PROXY_URL is unset, the CLI runs without saving chat history to the proxy.

Breaking change (Phase 0)

The proxy path and JSON shape changed: see assessment-proxy/README.md.

Security notes for Codespaces

  • Do not store the Supabase secret API key in the CLI.
  • Use only proxy URL and bearer token in CLI env.
  • Treat ASSESSMENT_PROXY_TOKEN as sensitive and rotate if leaked.

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

tenx_ai-0.1.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

tenx_ai-0.1.2-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file tenx_ai-0.1.2.tar.gz.

File metadata

  • Download URL: tenx_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for tenx_ai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7bdd8cf982c5bc65787b55bf2be5bcd9ae597384b8f7970bd779cfa7ca408b77
MD5 4b7415604743f225740e015ec7535cd1
BLAKE2b-256 7f89de8ce297840603db36868d17b934403afee8d0ad1aee4ebc4135921f1736

See more details on using hashes here.

File details

Details for the file tenx_ai-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tenx_ai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for tenx_ai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1072215c45d03b760811422132e9109bf033f7453462bd37e416cdb3413c184d
MD5 1ab5e007088ed4a454f3e67ae990494e
BLAKE2b-256 7a74cafa770668415e8c21c5d6c09f3931332e474fe7da453166e27c53014103

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