Skip to main content

Solvewright connector

Practise live technical interviews in Solvewright Interview Lab with the Claude Code or Codex you already use. The interviewer runs on your computer, under your own sign-in and plan. Solvewright provides the room: the problem, the editor, the tests, the conversation, your history and your skill profile.

uvx solvewright

No uv? pipx run solvewright works the same way, or python3 -m pip install --user solvewright and then solvewright. Python 3.10 or newer. The package has no dependencies.

What happens when you run it

  1. The terminal lists this computer, the agents it found and where interviews are kept.
  2. It prints a short code and opens solvewright.app/connect. Check that the page shows the same code, then press Connect this computer. You must be signed in to Solvewright.
  3. The terminal says which account it joined. Keep the window open while you practise; it prints one line for each thing it does (a round prepared, a reply, tests recorded).
  4. Press Ctrl+C to stop. Nothing keeps running in the background, and nothing starts again by itself.

Next time, run the same command again: it reconnects without a new code, and the terminal reminds you which command that is. uvx and pipx run keep the package in a cache and add no solvewright command to your shell, so with them, put uvx or pipx run in front of the commands below (for example uvx solvewright status). Removing this computer from Interview Lab stops its key at once.

Command Does
solvewright Connect if needed, then wait for rounds
solvewright connect Approve this computer again, with a new key
solvewright status Show the connection and the agents found here
solvewright disconnect Remove this computer from your account
solvewright doctor Check Python, Claude Code, Codex and the sandbox

What it can and cannot do

The connector is deliberately small. Every request it accepts is one of a fixed list: report its status, start a round, pass your message to the interviewer, save your files, record a test result, stop the interviewer, and sync your history. There is no request that runs a command.

  • It opens no port. It connects out to Solvewright over HTTPS and asks for work.
  • It only takes requests from your account. This computer's key is issued after you approve it in the browser, is stored only here (connection.json, readable by you alone), and the service keeps a hash of it.
  • It never sees your Claude or ChatGPT credentials. It starts the official claude or codex program, unmodified, which signs in the way it always does. Usage counts against your own plan.
  • It never runs your code. Public tests and the interviewer's private checks run in your browser, in Pyodide (Python compiled to WebAssembly); the page shows each check's label and result, never its code. The connector only stores the files you tested and the results.
  • It reports progress, not content. While the interviewer works, the page learns which kind of step it is on (reading your code, writing its notes, running its checks), never what it reads, writes or says. It also passes on your plan's usage when the agent reports it (Codex's usage windows, Claude Code's rate-limit events), read without a model call, so replies can use less effort when your window is nearly spent.
  • It does not update itself. What runs is the version you installed from PyPI. The interviewer's instructions ship inside the package (src/solvewright/interviewer/), so you can read exactly what your agent is told.

The interviewer's sandbox

The interviewer writes the problem and checks its own reference solution, so it needs to run code. It does that inside its own agent's sandbox, confined to the folder of the current round:

Commands Files Network
Claude Code, macOS and Linux Claude Code's OS sandbox Read and write only in the round folder; the rest of your home folder is unreadable None
Codex, macOS and Linux Codex's sandbox with a Solvewright permission profile Read and write in your interview folders; read the folders Codex itself is installed in; the rest of your home folder is unreadable None
Claude Code, native Windows No command tool at all: its sandbox needs macOS, Linux or WSL2 The file tools stay in the round folder None

Claude Code runs with --restricted --safe-mode --strict-mcp-config: your own CLAUDE.md, hooks, plugins and MCP servers are not loaded. Codex runs through its documented app-server with its plugins, apps, hooks, web search, memories and every MCP server you configured switched off for the interview. If a platform cannot provide one of these limits, the connector removes the capability rather than the limit, and says so in the terminal and in Interview Lab. On Linux, Claude Code's sandbox needs bubblewrap and socat.

What is stored where

On this computer, in one folder (solvewright status prints it):

System Folder
macOS ~/Library/Application Support/Solvewright
Windows %LOCALAPPDATA%\Solvewright
Linux $XDG_DATA_HOME/solvewright, by default ~/.local/share/solvewright

Each round is a folder holding the candidate files, the interviewer's private files, snapshots of what you submitted, and the conversation. When you are signed in, Interview Lab also keeps a copy in your Solvewright account so you can continue on another computer; deleting your account deletes it. Your agent sends what it reads to its own provider (Anthropic or OpenAI) under your account's terms, as it does in any other session. Details: solvewright.app/privacy.

Read the code

About 1,800 lines of Python in src/solvewright/:

File Role
cli.py The commands and everything the terminal prints
connection.py The browser approval and the saved key
service.py The only network calls: HTTPS to Solvewright's account service
worker.py The fixed list of requests and the loop that fetches them
agents.py How Claude Code and Codex are started, and their sandbox settings
runtime.py Rounds on disk, account-history sync, the interviewer's turns
interviewer/ The instructions and references the interviewer reads

The account service address and its publishable key are in settings.py. They are the same public values every visitor's browser receives from solvewright.app.

Run the tests from this folder with PYTHONPATH=src python -m unittest discover -s tests (on Windows, set PYTHONPATH=src first).

Licence

MIT. Solvewright is not affiliated with Anthropic or OpenAI. Claude Code and Codex are their respective owners' products; this program runs the versions you installed.

Metadata

Release files for solvewright 0.1.4

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

Source distribution (sdist)

Source distribution for solvewright 0.1.4
File Size Uploaded Provenance Actions
solvewright-0.1.4.tar.gz 95.8 kB With provenance Details for solvewright-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solvewright 0.1.4
File Interpreter ABI Platform Actions
solvewright-0.1.4-py3-none-any.whl Python 3 none any Details for solvewright-0.1.4-py3-none-any.whl

Total release size: 189.2 kB

Release files / solvewright-0.1.4.tar.gz

Download URL solvewright-0.1.4.tar.gz
Size 95.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9abbb98cc9d71a13bf0eb7df378052d8e3e7a42923cab62c757edec25044840a
BLAKE2b-256 checksum
How to use checksums
41ec7e59cd2ee2d0585c7f5f4ef0e80db10fc50fa49db18845e74a77e949e942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / solvewright-0.1.4-py3-none-any.whl

Download URL solvewright-0.1.4-py3-none-any.whl
Size 93.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
632c9793fbb59933b5bfa5ae1c5a79c5c5c5f28b445b9fe9358d6cca287f00cf
BLAKE2b-256 checksum
How to use checksums
d8c822bf3cb39d9e9742d8190f5d4fe915bed1ca9399eec0f9a51f02d8998aba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for solvewright 0.1.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for solvewright-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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.

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