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"

After a successful push, tenx-submit starts an FRQ phase:

  • It generates free-response questions from your most recent commit (HEAD).
  • It prompts you for answers in the terminal.
  • It saves the FRQ question/answer pairs to assessment-proxy.

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.

tenx-ai writes the active assessment session id to .tenx/assessment_session_id in your workspace so tenx-submit can reuse the same session for FRQ persistence.

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.3.tar.gz (15.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.3-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tenx_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 15.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.3.tar.gz
Algorithm Hash digest
SHA256 e44eb869eb01f80e8c17334a34a8e28d069c2532841f60ed85372c437ff1ac62
MD5 c40cbc0373be82ddec838bff94ec085e
BLAKE2b-256 df3b15d94c030ad87bc8c9376693da3329c2fcb4c3ae3f4c773f0904ae6ce4ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tenx_ai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 19.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6c804062e3e6545356a0d95c01308f3b726455b716ede1c6afb0c900e45beac6
MD5 c4239f4c7b0c9691b89d93ee2f16d66f
BLAKE2b-256 4153a93fd0f243800306d1573c966e5358d2bd7c52feffed8c156085fa31e9e1

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