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-proxyover 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 examplehttp://localhost:8000)ASSESSMENT_PROXY_TOKEN(must match the proxy’sPROXY_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_TOKENas sensitive and rotate if leaked.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tenx_ai-0.1.4.tar.gz.
File metadata
- Download URL: tenx_ai-0.1.4.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94551bd1d523dd0c8166f874703265e1fc76ded579bd5b9ef0eabb6a7a041c73
|
|
| MD5 |
e50a992e135b1777320fdd2e0c7ffa53
|
|
| BLAKE2b-256 |
1773c9ac153960239f9df1e9ae8b1156ca9a0d4089f14aacf20159fb2412622c
|
File details
Details for the file tenx_ai-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tenx_ai-0.1.4-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f6260c15ba67dbc8b3bf42837dd3fb51b051a5530e983c1d7145d4fc3fa4553
|
|
| MD5 |
54f042e9b317503f43b618520659e1c2
|
|
| BLAKE2b-256 |
ecba6845acb35d3b926bf353e5a9bf9d0b3835d6bef2aa761affe47d15552a68
|