chump-server
The backend hosts ChumpAgent instances over ai-query's built-in agent
server routes.
Run
uv sync
uv run chump-server
Install
End-user Chump release archives bundle a platform-specific chump-server
binary next to the CLI. The PyPI package remains useful for development,
debugging, and direct backend runs:
uv run chump-server
During repository development, uv uses the released ai-query version pinned
in pyproject.toml and uv.lock.
Build a local standalone backend binary:
python scripts/build_binary.py
The output is written to dist/bin/chump-server-<platform>.
Use python scripts/build_binary.py --mode onedir --archive to produce the
release archive at dist/bin/chump-server-<platform>.tar.gz.
Release
chump-server versions come from git tags through hatch-vcs.
git tag chump-server-v0.1.0
git push origin chump-server-v0.1.0
Pushing a chump-server-v* tag runs the PyPI job and creates a GitHub Release in .github/workflows/release.yml.
The same release also gets platform-specific standalone backend runtime archives
named chump-server-<platform>.tar.gz attached for sandbox/server-only
deployments. Legacy onefile assets named chump-server-<platform> are also
attached so older clients can update across the runtime archive transition.
Environment
CHUMP_HOST: default127.0.0.1CHUMP_PORT: default8080CHUMP_WORKSPACE_ROOT: defaults to the parent directory ofserver/CHUMP_STATE_DIR: optional override for the workspace state directory; defaults to a per-workspace path under the user's OS state/data directoryCHUMP_PROVIDER: defaultchump_cloud; also supportscodex,github_copilot,openai,google,anthropic,workers_ai,deepseek,openrouter,groq,xai,opencode,opencode_go, andzenmuxCHUMP_MODEL: provider-specific defaultCHUMP_CLOUD_BASE_URL: optional OpenAI-compatible base URL for thechump_cloudproviderCHUMP_MAX_STEPS: default250CHUMP_RETRY_MAX_ATTEMPTS: provider-call retry attempts; default3, set1to disableCHUMP_RETRY_INITIAL_DELAY: initial retry delay in seconds; default0.5CHUMP_RETRY_MAX_DELAY: max retry delay in seconds; default8CHUMP_RETRY_BACKOFF: retry delay multiplier; default2CHUMP_RETRY_JITTER: enable retry jitter; default1CHUMP_COMMAND_TIMEOUT: default120CHUMP_MANAGED_SERVER_IDLE_TIMEOUT: optional process idle shutdown timeout in secondsCHUMP_REASONING_EFFORT: optional OpenAI-compatible reasoning effortCHUMP_REASONING_BUDGET: optional Gemini-compatible thinking budgetCHUMP_VERBOSE: default1
Prompt-cache benchmark
Chump persists provider-reported token usage for every model step. Report the observed cache hit rate across local sessions, grouped by provider and model:
uv run --project server python server/scripts/benchmark_prompt_cache.py
The report includes two different rates:
- Request hit: model calls where
cached_tokens > 0. - Token hit: cached input tokens divided by all input tokens.
Use --provider google (repeatable), --min-calls 10, --json, or
--state-root <path> to filter or automate the report. This benchmark reads
local telemetry without making model requests or spending provider credits.
Metadata
Release files for chump-server 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chump_server-0.3.3.tar.gz | 218.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chump_server-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 326.9 kB
Release files / chump_server-0.3.3.tar.gz
| Download URL | chump_server-0.3.3.tar.gz |
|---|---|
| Size | 218.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44849e469aec17d76c41e7e438b748597312a6fd82fb2bbfebd0f87e69fc2632
|
|
BLAKE2b-256 checksum How to use checksums |
8308df51b455544b3f92f7378bad4d596abc5e5681c89ceb9b30d91cab13d395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 25, 2026.
Transparency logRelease files / chump_server-0.3.3-py3-none-any.whl
| Download URL | chump_server-0.3.3-py3-none-any.whl |
|---|---|
| Size | 108.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a14ee1f9533dac818dcf3adbda29feaf411e301b40e5437c1c9b725877b5186d
|
|
BLAKE2b-256 checksum How to use checksums |
8e3532abe0892ea7f71b6534ddf18bc20e9477fa2ebc5ff1e878f10f51af727e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 25, 2026.
Transparency log