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.1.tar.gz (12.3 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.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tenx_ai-0.1.1.tar.gz
  • Upload date:
  • Size: 12.3 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.1.tar.gz
Algorithm Hash digest
SHA256 6c97bbf34d4f11c4af0365918d40aeb724801b3c2874ca6b6bbfba54d3cdb86d
MD5 38bd1830d99db7dfcd5e4a8e796a542e
BLAKE2b-256 b59adec1b4fa3269322b8c3a7c607fa7bd1771fddf6083dee2cf64b92d6e800e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tenx_ai-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a199392063b60079dfbfa1164ed990aa62cd2d55479510d8808684feb0b34d1f
MD5 3bb9cf355b373185aa32d3fb04f49fc1
BLAKE2b-256 3d6fa4cd32dc869be12ae215bb08e5d4f67e50afcf220651429e2eef24821ee1

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